This PowerShell script sets the thumbnail photo of an Active Directory user with the username “MyUsername”. The script uses the Set-ADUser cmdlet to update the
Year: 2022
This script is performing cleanup tasks on a WSUS (Windows Server Update Services) server. It runs the “Invoke-WsusServerCleanup” cmdlet with different parameters to clean up
This script is stopping the SMS Host Service, removing the SMSCFG file, cleaning the Cert Store, uninstalling CCMSETUP, and removing the CCMSETUP Registry. It is
Solution 1: This command Clear the package (Make sure to replace the name of the package FWXXXXXX with the correct one) Solution 2 : This
ContentLibraryCleanup.exe / dp NameoftheDPServer More info about the tool : https://learn.microsoft.com/en-us/mem/configmgr/core/plan-design/hierarchy/content-library-cleanup-tool
Uninstall-WindowsFeature -Name UpdateServices,Windows-Internal-Database -Restart 3. Post restart, delete EVERYTHING in the C:\Windows\WID\ (for Win 2012 r2) folder. 4. Remove the files inside the WSUSContent 5.