Showing archive results for February 2014

Feb 19, 2014
Post comments count0
Post likes count2

PowerTip: Use PowerShell to Find User Profile Path

Doctor Scripto

Summary: Use Windows PowerShell to find the user profile path.  How can I easily get information about the folder and path to the profile for a currently signed-in user?  Use the Env: PowerShell drive, and select the UserProfile environmental variable: $env:USERPROFILE

Scripting Guy!Windows PowerShellPowerTip
Feb 18, 2014
Post comments count0
Post likes count0

PowerTip: Find Information about PowerShell Errors

Doctor Scripto

Summary:  Use Windows PowerShell to find information about Windows PowerShell errors.  How can I find more information about a specific error when I look at the $error automatic variable?  The $error automatic variable contain rich objects. For example, the InvocationInfo property shows     &nb...

Scripting Guy!Windows PowerShellPowerTip
Feb 17, 2014
Post comments count0
Post likes count0

PowerTip: Is It a PowerShell Alias?

Doctor Scripto

Summary: Quickly find multiple Windows PowerShell aliases.  I have a bunch of Windows PowerShell commands I have been using, but they seem to act strangely sometimes.          I need to know if they are aliases or real commands. How can I tell?  Use the Get-Alias cmdlet to look up aliases and resolve the...

Scripting Guy!Windows PowerShellPowerTip
Feb 17, 2014
Post comments count0
Post likes count0

2014 Winter PowerShell Scripting Games Wrap Up #1

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shares what he noticed while grading the 2014 Winter PowerShell Scripting Games entries. Microsoft Scripting Guy, Ed Wilson, is here. So the 2014 Winter PowerShell Scripting Games are over. One of the cool things about this year’s Winter Games is that they were team events. This means that groups ...

Scripting Guy!Windows PowerShellscripting techniques
Feb 16, 2014
Post comments count0
Post likes count0

PowerTip: Start Hidden Process with PowerShell

Doctor Scripto

Summary: Use a Windows PowerShell cmdlet to start a hidden process.  How can I launch a hidden process by using a Windows PowerShell cmdlet?  Use the Start-Process cmdlet and specify a window style of hidden: Start-Process -WindowStyle hidden -FilePath notepad.exe

Scripting Guy!Windows PowerShellPowerTip