With this script, you will be able to change a value in a remote registry (remote computer names listed in a host file). The registry value type can be the following (http://msdn.microsoft.com/en-us/library/microsoft.win32.registryvaluekind.aspx) : String ExpandString Binary DWord MultiString QWord $file
Resolve the CBS.log file size problem
Get the regional settings with Powershell
Local Security Authority cannot be contacted
Remove local user profile
Windows : Can’t delete a folder with a trailing space
Generates a full-memory minidump of a process
Get the server uptime in days with WMI
Get GDI handles by process
This script requires Powershell 3.0 This script get the number of GDI handles by process Script : $global:sig = @’ [DllImport(“User32.dll”)] public static extern int GetGuiResources(IntPtr hProcess, int uiFlags); ‘@ Get-Process | select ProcessName -Unique | ? {$_.processname -notmatch “Idle|System|svchost”}