Showing tag results for PowerTip

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 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 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
Oct 3, 2012
Post comments count0
Post likes count0

PowerTip: See Detailed Information When Importing a Module

Doctor Scripto

Summary: Learn how to see detailed information when you import a Windows PowerShell module.  How can you receive detailed information when importing a module?  Use the Verbose parameter when you import the module:           Import-Module bits -verbose  

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

PowerTip: Rename a Computer by Using Windows PowerShell 3.0

Doctor Scripto

Summary: Rename a computer by using Windows PowerShell 3.0.  How can you easily rename a computer by using Windows PowerShell 3.0?  Use the Rename-Computer cmdlet.

Scripting Guy!Windows PowerShellPowerTip