Posts by this author

Mar 21, 2007
Post comments count0
Post likes count0

Test-Path: We Goofed

Test-Path: We Goofed!    (also known as a documentation errata…) Test-Path is a very handy little cmdlet. You submit a path and it tells you (TRUE/FALSE) whether the elements of the path exist on the computer. You can use it to determine whether particular files or folders are present (or missing) or to look for a registry key that indicates that a...

Mar 19, 2007
Post comments count0
Post likes count0

Windows Server 2003 SP2 upgrade

Because of the nature of the Windows Service pack (SP) releases, all the windows updates are consumed by SP upgrade. So once you upgrade to a new SP all the updates that were installed earlier cannot be uninstalled.  Since Windows PowerShell is released as an update to Windows, upgrading to W2k3 SP2 will remove the powershell uninstaller ...

installation
Mar 18, 2007
Post comments count0
Post likes count0

Monad Manifesto – the Origin of Windows PowerShell

Attached is a public version of the original Monad Manifesto. This is not a Windows PowerShell whitepaper nor is it an accurate description of how V1.0 works. This is a version of the original Monad Manifesto which articulated the long term vision and started the development effort which became PowerShell. Many of the elements described in this ...

Mar 16, 2007
Post comments count0
Post likes count0

PowerShell Webcasts available

Don Jones is doing a series of PowerShell WebCasts over at Microsoft.com. There are the one coming up: You can get more information about this series including links to previously recorded webcasts HERE. Enjoy! Jeffrey Snover [MSFT]Management Partner ArchitectVisit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShellVisit the W...

Podcasts
Mar 8, 2007
Post comments count0
Post likes count0

Installing PowerShell on Vista/"Longhorn" Server

1.       I am new to PowerShell and would like to install it on my Vista machine. The following page  http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx gives you links to various PowerShell downloads. Choose the one that best matches your operating system, platform and lan...

FAQ
Mar 8, 2007
Post comments count0
Post likes count0

Detecting Conflicts between Aliases, Functions, and Cmdlets

Version 1.1 of the PowerShell Community Extensions has just been release so I decided to kick the tires. After I installed it, I noticed that some conflicts and then realized that there might be conflicts between my customizations and the Aliases, Functions and Cmdlets that they delivered. Here is how I detected what needed to be resolved: PS>...

Mar 7, 2007
Post comments count0
Post likes count0

Scripting Pro VIP Interview

Scott Ottaway and I recently did an interview with Karen Bemowski. You can read it here. Jeffrey Snover [MSFT]Windows PowerShell/MMC ArchitectVisit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShellVisit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx  

Mar 7, 2007
Post comments count0
Post likes count0

Why Can’t I Pipe Format-Table to Export-Csv (and get something useful)?

Ken's PowerShell blog has an entry Remote Services and PowerShell where he wrote a function to get services from a remote machine using WMI. He formatted the data using FT (format-table) and then went on to export the data to CSV. He pointed out that the following would NOT work rget-service remotemachinename netlogon | ft -autosize name,startmod...

FAQ
Mar 6, 2007
Post comments count0
Post likes count0

Invoke-Expression

I fixed a bug in Start-Demo (Script attached) that is worth exploring. The heart of Start-Demo is to get a line from file, display it and then run it showing the output. To do this I used Invoke-Expression (For simplicity sakes, I'm going to show you the code assuming that the line to execute is $LINE – the actual code is a bit more complicated) ...

Mar 6, 2007
Post comments count0
Post likes count0

How does the RemoteSigned execution policy work?

You might have wondered how the "RemoteSigned" execution policy protects us from running unsigned PowerShell scripts downloaded from the internet.  We use the URL Security Zones API related to "Attachment Execution Service" (AES) introduced in Windows XP SP2 and Windows Server 2003 SP1.  Internet Explorer and Outlook Express are among&nbs...