July 24, 2012PowerShell PowerShell: Backing Up System State Let’s assume your script needs to change a bunch of system settings. […]
July 15, 2012PowerShell PowerShell: Finding Current Script Path Here’s a useful function that you can paste into your scripts. It […]
July 12, 2012PowerShell PowerShell: Copying Command History to Clipboard Here’s a one-liner that copies all commands from your command history to […]
July 6, 2012PowerShell PowerShell: Finding Built-In Administrators Group Using System User or group names like ‘Administrators’ in scripts may not […]
July 1, 2012PowerShell PowerShell: Finding Files Owned by a User Here’s a simple filter that will show only those files and folders […]
July 1, 2012PowerShell PowerShell: Stopping Services Remotely Stop-Service cannot stop services remotely. One easy way of doing so is […]
June 24, 2012PowerShell PowerShell: Checking User Privileges whoami.exe is a useful little tool that ships with Windows 7/Server 2008 […]
June 17, 2012PowerShell PowerShell: Locking Drive Content This will not hide drive letters but prohibit access to drive content. […]
June 7, 2012PowerShell PowerShell: Hiding Drive Letters Sometimes you may want to hide drive letters in Windows Explorer from […]
June 5, 2012PowerShell PowerShell: Copying Files in the Background The main advantage of BITS is that it can copy things silently […]