Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Find PowerShell Version

Summary: Easily find your Windows PowerShell version. (image)  Is there a single command I can use to find the version of Windows PowerShell I am running, plus the version of           WSMan and the .NET Framework command-line reference (CLR)? (image)  Use the $PSVersionTable automatic variable to ...

Weekend Scripter: WMF, PowerShell, and Exchange Server Compatibility

Summary: Microsoft PFE and guest blogger, Mike Pfeiffer, talks about Windows PowerShell and Exchange Server compatability. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blogger who we haven’t seen for a while. Mike Pfeiffer is a premier field engineer for Microsoft. Since we last had Mike as a guest blogger, he has ...

PowerTip: Use PowerShell to Clear the Trusted Hosts File

Summary: Use Windows PowerShell to clear the trusted hosts file.(image)  How can I use Windows PowerShell to clear all values from my trusted hosts file?(image) The trusted hosts file is part of the WSMAN configuration, and the easiest way to clear it is to use Clear-Item:£> Get-Item -Path WSMan:localhostClientTrustedHosts...

Remoting Week: Non-Domain Remoting

Summary: Richard Siddaway explains how to use Windows PowerShell remoting to access machines that aren’t in your domain. (image)  Hey, Scripting Guy! I’ve just starting learning Windows PowerShell, and I understand how to use it as a scripting language and shell on the local machine. How do I work with remote machines? —...