Showing category results for Hey Scripting Guy!

Feb 8, 2016
Post comments count0
Post likes count0

PowerTip: Find schema of a WMI class

Doctor Scripto
Doctor Scripto

Summary: Learn how use Windows PowerShell to find the schema of a WMI class.  How can I use Windows PowerShell to look at the schema of a WMI class?  Use the Get-CIMClass cmdlet, for example: Get-CimClass win32_bios

Windows PowerShellPowerTip
Feb 8, 2016
Post comments count0
Post likes count0

Should I use CIM or WMI with Windows PowerShell?

Doctor Scripto
Doctor Scripto

Summary: Richard Siddaway explains the differences between the CIM cmdlets and the WMI cmdlets, and details use cases.  Hey, Scripting Guy! Should I use the WMI cmdlets or the newer CIM cmdlets? —NR  Hello NR, Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. The simple answer is that you can...

Windows PowerShellguest bloggerWMI
Feb 7, 2016
Post comments count0
Post likes count0

PowerTip: Hide a PowerShell ISE add-on

Doctor Scripto
Doctor Scripto

Summary: Learn how to programmatically hide a Windows PowerShell ISE add-on.  How can I use code to hide one of the Windows PowerShell ISE add-ons?  Use the Windows PowerShell ISE object model, and set the IsVisible property of the add-on to False, for example: $psISE.PowerShellTabs.VerticalAddOnTools.Item(0).isvisible = $false  

Scripting Guy!Windows PowerShellPowerTip
Feb 7, 2016
Post comments count0
Post likes count0

PowerTip: Display Windows PowerShell ISE add-ons

Doctor Scripto
Doctor Scripto

Summary: Display the Windows PowerShell ISE add-ons that are available.  How can I programmatically display the Windows PowerShell ISE add-ons that are available and show their status?  Use the Windows PowerShell ISE object model to display the VerticalAddonTools collection from the PowerShellTabs collection: $psISE.PowerShellTabs.VerticalAddOnToo...

Scripting Guy!Windows PowerShellPowerTip
Feb 6, 2016
Post comments count0
Post likes count0

PowerTip: List all scripts open in Windows PowerShell ISE

Doctor Scripto
Doctor Scripto

Summary: List all the scripts that are open in the Windows PowerShell ISE.  How can I find which scripts are open in the Windows PowerShell ISE and if they are saved?  Use the ISE object model and display the Files collection from the PowerShellTabs collection: $psISE.PowerShellTabs.Files

Scripting Guy!Windows PowerShellPowerTip