Microsoft

Powershell – Export users and select attributes from a single OU

Recently needed to find a way to export all staff into a csv file with only their name and EmployeeID. First I ran the GET-ADuser command below for a single user. This will display all the user’s attributes. Be sure to change username to a domain user. Now that you have a file with all

Powershell – Export users and select attributes from a single OU Read More »

How to shrink LDF File SQL Management Studio SCCM

Recently noticed my SCCM server data drive was running out of space. Didn’t make sense as we haven’t added anything substantial lately or used USMT. Installed WinDirStat and found the culprit to be a 400GB .ldf log file from SCCM. The fix was pretty painless and takes less than 10mins. Backup the database Stop the database service Shrink

How to shrink LDF File SQL Management Studio SCCM Read More »

Scroll to Top