PowerTip: Use PowerShell to Display Shared Folders
Summary: Use Windows PowerShell to display shared folders. How can I use Windows PowerShell to display shared folders that I set up on a local computer? Use the Get-SMBShare cmdlet and no parameters.
View ArticleWeekend Scripter: Use PowerShell to Analyze Custom Objects
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to analyze custom objects.Microsoft Scripting Guy, Ed Wilson, is here. Last week, I talked about using a Windows...
View ArticlePowerTip: Find Stats with PowerShell
Summary: Use Windows PowerShell to find stats of objects. How can I use Windows PowerShell to see the minimum, maximum, and average values of a specific property in a series of objects? Pipe...
View ArticleWeekend Scripter: Use PowerShell to Work with Embedded Objects
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to work with embedded objects.Microsoft Scripting Guy, Ed Wilson, is here. This morning I have my Zune 1.0 cranked up,...
View ArticlePowerTip: Use PowerShell to Find Files in Wrong Folder
Summary: Use Windows PowerShell to easily find files that are in the wrong folder. I have a folder for documents and another folder for images. But at times, I discover images in the...
View ArticleWorking with Volumes in CIM
Summary: Microsoft Scripting Guy, Ed Wilson, talks about working with volumes with Windows PowerShell and CIM. Hey, Scripting Guy! I don’t understand CIM at all. I mean, I thought it was basically WMI,...
View ArticlePowerTip: Use PowerShell to Find File or Folder
Summary: Learn how to use Windows PowerShell to find a file or a folder. How can I use Windows PowerShell to determine if a variable contains a path that leads to a file or folder? Use the Test-Path...
View ArticleComparing CIM and WMI in PowerShell
Summary: Microsoft Scripting Guy, Ed Wilson, talks about comparing CIM and Windows PowerShell. Hey, Scripting Guy! When I query using a CIM function, I get back different stuff than when I query WMI. I...
View ArticlePowerTip: Use PowerShell to Find Cmdlets that Use CIM
Summary: Use Windows PowerShell to find cmdlets that use CIM. I want to see what Windows PowerShell cmdlets will use a CIM session, but when I use Get-Command, only a couple things return....
View ArticleCreate Custom Type Data in PowerShell to Format WMI Display
Summary: Microsoft Scripting Guy, Ed Wilson, talks about creating custom type data to control the way a WMI class displays. Hey, Scripting Guy! Yesterday, you said you could create custom type data to...
View ArticlePowerTip: Remove Type Data with PowerShell
Summary: Learn how to remove type data by using Windows PowerShell. How can I remove a custom type data that is producing an error message when I try to update it in my Windows PowerShell...
View ArticleLook at Schema of WMI Class with PowerShell
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to look at the schema of a WMI class.Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about WMI is...
View ArticlePowerTip: Find WMI Parent Class with PowerShell
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...
View ArticleCombine PowerShell Remoting and CIM
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...
View ArticlePowerTip: Use PowerShell to Remove All CIM Sessions
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...
View ArticleWeekend Scripter: Oh No! Oh Wait...PowerShell for the Win!
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...
View ArticlePowerTip: Save CSV Data and Maintain Unicode Encoding
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...
View ArticleWeekend Scripter: Use PowerShell to Create Users in Active Directory
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to read a CSV file and create users in Active Directory.Microsoft Scripting Guy, Ed Wilson, is here. Yesterday in Oh...
View ArticlePowerTip: Return Specific Number of Letters from String
Summary: Use Windows PowerShell to return a specific number of letters from a string. How can I use Windows PowerShell to easily to retrieve the first two letters from a string? Use the SubString...
View ArticleFind and Use Windows PowerShell Providers
Summary: Microsoft Scripting Guy, Ed Wilson, talks about finding and using Windows PowerShell providers. Hey, Scripting Guy! I recently heard a Windows PowerShell MVP say that understanding the Windows...
View Article