Showing results for April 2015 - Page 6 of 13 - Scripting Blog [archived]

Apr 18, 2015
0
0

PowerTip: Save CSV Data and Maintain Unicode Encoding

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to save data as a CSV file and maintain the Unicode encoding.  How can I use Windows PowerShell to save my data as a CSV file but ensure that it is saved as Unicode?  Make sure you specify the –Encoding parameter when you call the Export-CSV cmdlet, for example: Export-Csv -Path C:...

Scripting Guy!Windows PowerShellPowerTip
Apr 18, 2015
0
0

Weekend Scripter: Oh No! Oh Wait…PowerShell for the Win!

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to clean up an impossible document. Microsoft Scripting Guy, Ed Wilson, is here. Sometimes I just cringe. It is a reflex reaction born from many long (and at times, torturous) years in the IT field. I know, I should be able to get over it, and sometimes I actually thi...

Scripting Guy!Windows PowerShellscripting techniques
Apr 17, 2015
0
0

PowerTip: Use PowerShell to Remove All CIM Sessions

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to remove all CIM sessions.  How can I use Windows PowerShell to delete all the CIM sessions I have created?  Use the Get-CIMSession cmdlet to retrieve all CIM sessions, and pipe the results to the            Remove-CIMSession cmdlet: Get-CimSes...

Scripting Guy!Windows PowerShellscripting techniques
Apr 17, 2015
0
0

Combine PowerShell Remoting and CIM

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about combining Windows PowerShell remoting and CIM. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about Windows PowerShell is remoting. It is not a new feature. In fact, it was introduced in Windows PowerShell 2.0—a time that seems like eons ago. Really. That was b...

Scripting Guy!Windows PowerShellscripting techniques
Apr 16, 2015
0
0

PowerTip: Find WMI Parent Class with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to easily find a WMI parent class.  How can I use Windows PowerShell to find what parent class a particular WMI class derives from?  Use the Get-CimClass cmdlet, and select the CimSuperClassName property, for example: (Get-Cimclass win32_bios).CimSuperClassName

Scripting Guy!Windows PowerShellscripting techniques