Showing archive results for April 2013

Apr 9, 2013
Post comments count0
Post likes count0

PowerTip: Easily See the Content of Your Function

Doctor Scripto

Summary: Use the Get-Content cmdlet to read the content of your Windows PowerShell function.  How can I see the content of a function that is on on my system, which I did not write?  Use the Get-Content cmdlet and point it to the Function: PowerShell drive. The following example gets the content of the m...

Scripting Guy!Windows PowerShellPowerTip
Apr 9, 2013
Post comments count0
Post likes count0

Using PowerShell Functions: Best Practices

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about some best practices for using Windows PowerShell functions. Microsoft Scripting Guy, Ed Wilson, is here. Windows PowerShell functions are really powerful, and at the same time, they are incredibly simple to create. This makes Windows PowerShell functions flexible and functional. But this flex...

Scripting Guy!Windows PowerShellscripting techniques
Apr 8, 2013
Post comments count0
Post likes count1

PowerTip: Easily Find PowerShell Aliases for Cmdlets

Doctor Scripto

Summary: Learn how to easily find Windows PowerShell aliases for cmdlets.  How can I find if there is an alias for a specific cmdlet by using Windows PowerShell 3.0? Use the Get-Alias cmdlet and the Definition parameter to look for aliases for a specific cmdlet: PS C:\> Get-Alias -Definition get-command CommandType   &...

Scripting Guy!Windows PowerShellPowerTip
Apr 8, 2013
Post comments count0
Post likes count0

Using PowerShell Aliases: Best Practices

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, demystifies some of the confusion surrounding using Windows PowerShell aliases. Microsoft Scripting Guy, Ed Wilson, is here. “Don’t use aliases!” I hear this all the time from various people on the Internet. I am constantly asked at Windows PowerShell user groups, at TechEd, and at comm...

Scripting Guy!Windows PowerShellscripting techniques
Apr 7, 2013
Post comments count0
Post likes count0

Do One Thing and Do It Well

Doctor Scripto

Summary: Microsoft PowerShell MVPs, Don Jones and Jeffery Hicks, talk about a fundamental tool design consideration. Microsoft Scripting Guy, Ed Wilson, is here. This week we will not have our usual PowerTip. Instead we have excerpts from seven books from Manning Press. In addition, each blog will have a special code for 50% off the book being exce...

Scripting Guy!Windows PowerShellscripting techniques