PowerShell script to add credentials to Windows Credential Manager and map some drives

This script will add a list of credentials to the Windows Credential Manager and then map some drives.  It will also then change your default documents location to a network UNC path.

Continue reading “PowerShell script to add credentials to Windows Credential Manager and map some drives”

Force all WSUS clients to check-in and pickup approved updates immediately in PowerShell

Problem:

After approving updates in WSUS and wanting to then install them you have to either wait 24 hours which is the default interval (this can be changed in a GPO) or you can manually run wuauclt.exe /detectnow  and wuauclt.exe /reportnow.  How can we run this on all servers in the domain?

Continue reading “Force all WSUS clients to check-in and pickup approved updates immediately in PowerShell”