Showing tag results for PowerTip

Mar 10, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find Disabled Features in Windows 8

Doctor Scripto

Summary: Use Windows PowerShell to find disabled Windows features in Windows 8.  How can I use Windows PowerShell 3.0 in Windows 8 to find disabled Windows features?  Use the Get-WindowsOptionalFeature cmdlet with the –online parameter and filter for a state of disabled (note this command must run with elevated p...

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

PowerTip: Find Renamed PowerShell 3.0 Cmdlets

Doctor Scripto

Summary: Use Windows PowerShell in Windows 8 or Windows Server 2012 to find renamed cmdlets. You recently discovered that a cmdlet you had used on Windows Server 2008 R2 has been renamed in Windows Server 2012. Because an alias was created that mapped the old cmdlet name to the new cmdlet name, it took you awhile to discover the rename. How ca...

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

PowerTip: Easily Find the Value of a PowerShell Variable

Doctor Scripto

Summary: Learn how to return only the value of a Windows PowerShell variable.  How can I use a Windows PowerShell cmdlet to return only the value of a particular variable?  Use the Get-Variable cmdlet, and specify the name of the variable and the –valueonly switch. This technique is shown here using the home...

Scripting Guy!Windows PowerShellPowerTip
Mar 7, 2013
Post comments count0
Post likes count0

PowerTip: Find All Defined One-Letter PowerShell Aliases

Doctor Scripto

Summary: Learn how to find all the one-letter Windows PowerShell aliases.  How can I find all the defined Windows PowerShell aliases that are exactly one letter in length?  Use the Get-Alias cmdlet and choose a one-letter wildcard pattern: Get-Alias ?  

Scripting Guy!Windows PowerShellPowerTip
Mar 6, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find Commands from Imported Modules

Doctor Scripto

Summary: Learn how to use Windows PowerShell to find commands from imported modules.  How can I use the Get-Command cmdlet to list commands that support a specific verb, but suppress the auto module import feature of Windows PowerShell 3.0?  Use the –ListImported parameter with the Get-Command cmdlet (g...

Scripting Guy!Windows PowerShellPowerTip