Showing archive results for October 2012

Oct 6, 2012
Post comments count0
Post likes count0

PowerTip: Easily Search PowerShell About Files

Doctor Scripto

Summary: Learn how to use a switch to cause Get-Help to search _About files. How can you easily search the Windows PowerShell _About files for topics that are related to a string?  Use the Category parameter and look for HelpFiles: PS C:\> get-help parameter -Category helpfile Name    &...

Scripting Guy!Windows PowerShellPowerTip
Oct 6, 2012
Post comments count0
Post likes count0

Weekend Scripter: Build Your Own PowerShell Cmdlet: Part 8 of 9

Doctor Scripto

Summary: Microsoft Windows PowerShell MVP, Sean Kearney, continues a series of guest blogs detailing building your own cmdlet. Microsoft Scripting Guy, Ed Wilson, is here. Guest blogger and Windows PowerShell MVP, Sean Kearney, has written a series about building cmdlets. For more about Sean, see his previous guest blog posts. Note This is Part 8 o...

Scripting Guy!Windows PowerShellguest blogger
Oct 5, 2012
Post comments count0
Post likes count0

PowerTip: Enter a PowerShell Nested Prompt Directly

Doctor Scripto

Summary: Learn how to directly enter a Windows PowerShell nested prompt.   How can you directly enter a nested prompt without going through a cmdlet and using Suspend?  Use the EnterNestedPrompt method from the $host object: PS C:\> $host.EnterNestedPrompt() PS C:\>> exit

Scripting Guy!Windows PowerShellPowerTip
Oct 5, 2012
Post comments count0
Post likes count0

Build Your Own PowerShell Cmdlet: Part 7 of 9

Doctor Scripto

Summary: Microsoft Windows PowerShell MVP, Sean Kearney, continues a series of guest blogs detailing building your own cmdlet. Microsoft Scripting Guy, Ed Wilson, is here. Guest blogger and Windows PowerShell MVP, Sean Kearney, has written a series about building cmdlets. For more about Sean, see his previous guest blog posts. Note This is Part 7 o...

Scripting Guy!Windows PowerShellguest blogger
Oct 4, 2012
Post comments count0
Post likes count0

PowerTip: Split PowerShell Output Between Console and Variable

Doctor Scripto

Summary: Learn an easy way to save Windows PowerShell output in a variable and still output to the console.  What is an easy way to display Windows PowerShell output from a cmdlet to the console, and yet store the results in a variable at the same time?  Use the OutVariable parameter:            GSV...

Scripting Guy!Windows PowerShellPowerTip