Showing archive results for May 2014

May 29, 2014
Post comments count0
Post likes count0

PowerShell Best Practices: Simple Functions

Image
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell best practices related to simple functions. Microsoft Scripting Guy, Ed Wilson, is here. The first time I saw this tea, I thought, "Dude, what an extravagance." I mean, a fine cup of Darjeeling tea is a true treat. It is mellow, light, and it is lightly aromatic. ...

Scripting Guy!Windows PowerShellscripting techniques
May 28, 2014
Post comments count0
Post likes count0

PowerTip: Find a List of PowerShell Type Accelerators

Image
Doctor Scripto

Summary: Use Windows PowerShell to list type accelerators.  How can I find a list of type accelerators available in Windows PowerShell?  Use the Get property from TypeAccelerators class: [PSObject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::Get

Scripting Guy!Windows PowerShellPowerTip
May 28, 2014
Post comments count0
Post likes count0

PowerShell Best Practices: Simple Scripting

Image
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell best practices for simple scripts. Microsoft Scripting Guy, Ed Wilson, is here. "Heyyyyy! Script it, baby!" The words of Scripting Cmdlet Style continue to echo through the house. If you have not seen the latest Windows PowerShell community video by Sean Kearney, you should...

Scripting Guy!Windows PowerShellscripting techniques
May 27, 2014
Post comments count0
Post likes count0

PowerTip: Ensure Compliance with PowerShell Best Practices

Image
Doctor Scripto

Summary: Learn how to force Windows PowerShell to comply with basic best practices.  Is there an easy way for me to help Windows PowerShell comply with basic best practices?  Use the Set-StrictMode –Version Latest command to ensure that you cannot reference things such as           uninitialized va...

Scripting Guy!Windows PowerShellPowerTip
May 27, 2014
Post comments count0
Post likes count0

PowerShell Best Practices for the Console

Image
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell best practices for the console. Microsoft Scripting Guy, Ed Wilson, is here. This morning, the Scripting Wife and I decided to head to a new breakfast place that had great reviews on Yelp. We grabbed our Surface 2s and headed into town. Teresa had her new Surface 2 RT ...

Scripting Guy!Windows PowerShellscripting techniques