Showing archive results for 2013

Feb 12, 2013
Post comments count0
Post likes count0

PowerTip: Start Your PowerShell 3.0 Script in PowerShell 2.0

Doctor Scripto

Summary: Learn how to start your Windows PowerShell 3.0 script in Windows PowerShell 2.0 mode.  I have a Windows PowerShell script I wrote several years ago. The script runs fine on a computer running Windows 7 with Windows PowerShell 2.0, but it does not work on my Windows 8 computer. I want to see if I can make ...

Scripting Guy!Windows PowerShellPowerTip
Feb 12, 2013
Post comments count0
Post likes count0

Learn How to Easily Troubleshoot PowerShell Remoting

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shows you how to easily troubleshoot Windows PowerShell remoting.  Hey, Scripting Guy! I have a problem. I am running Windows 8 on my desktop, and I have upgraded our Hyper-V servers to Windows Server 2012. For those computers, I can easily use Windows PowerShell remoting and I have not se...

Scripting Guy!Windows PowerShellscripting techniques
Feb 11, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Reveal the Size of an [int16]

Doctor Scripto

Summary: Use Windows PowerShell to show the minimum value and the maximum value of an [int16].  I need to use an [int16], but I am not sure if it is big enough to hold the number I want to use. How can I determine the minimum and the maximum value of an [int16]?  Use the static MinValue and MaxValue properties from the [int...

Scripting Guy!Windows PowerShellPowerTip
Feb 11, 2013
Post comments count0
Post likes count0

Clean Up Your PowerShell History to Remove Error Entries

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to remove all error commands from your Windows PowerShell command history. Microsoft Scripting Guy, Ed Wilson, is here. One of the great things about being involved with a Windows PowerShell user group is all the great people I meet and all the cool ideas that arise. It seems that every time I ...

Scripting Guy!Windows PowerShellscripting techniques
Feb 10, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Obtain Permissions Report for a GPO

Doctor Scripto

Summary: Learn how to use Windows PowerShell to obtain a permissions report for a specific Group Policy Object (GPO).  How can I use Windows PowerShell to obtain a report of permissions for a specific Group Policy Object (GPO)?  Use the Get-GPPermission cmdlet, specify the name of the GPO and use –all to obt...

Scripting Guy!Windows PowerShellPowerTip