Showing tag results for PowerTip

Oct 16, 2012
Post comments count0
Post likes count0

PowerTip: Find PowerShell Providers that Support Transactions

Doctor Scripto

Summary: Use the Get-PSProvider cmdlet to find Windows PowerShell providers that support transactions.  How can you find out which Windows PowerShell providers on your system support transactions?  Use the Get-PSProvider cmdlet and pipe the results to Where-Object to filter out capabilities that include tran...

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

PowerTip: Suppress PowerShell Module Import Warning Messages

Doctor Scripto

Summary: Learn how to use the warning redirection operator to suppress Windows PowerShell warning messages when importing a module.  How can you hide the warning message from a Windows PowerShell module when you import it if the module contains an unapproved verb?  Use the warning stream redirection operator when importing the module, and...

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

PowerTip: Use the Get-Command Cmdlet to View Syntax

Doctor Scripto

Summary: Learn how to use the Windows PowerShell cmdlet, Get-Command, to view the syntax of a command.  How can you use the Get-Command cmdlet to view the syntax of a Windows PowerShell cmdlet?  Use the Syntax switch (gcm is an alias for the Get-Command cmdlet): gcm new-vm -Syntax

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

PowerTip: Find Commands from a PowerShell Module

Doctor Scripto

Summary: Learn how to find specific types of commands from a Windows PowerShell module.  How can you list only cmdlets from a module that make new stuff?  Use the Get-Command cmdlet with the Module parameter, and specify the New verb (gcm is an alias for Get-Command): gcm -Module hyper* -V...

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

PowerTip: Search Help Files in PowerShell

Doctor Scripto

Summary: Use the Category parameter to assist in searching Help files in Windows PowerShell.  How can you search the about* Help files in Windows PowerShell for a specific topic?  Specify HelpFile for the Category parameter, and use a wild card for the value of the Name parameter. The following exam...

Scripting Guy!Windows PowerShellPowerTip