PowerShell Naming Conflicts
Summary: Learn how to handle naming conflicts for Windows PowerShell cmdlets. Hey, Scripting Guy! My Windows PowerShell installation is completely hosted on my laptop. In fact, I tried to uninstall and...
View ArticlePowerTip: Use Complete Name for PowerShell Cmdlet
Summary: Use the complete name for a Windows PowerShell cmdlet. How can I ensure that I use the correct cmdlet in my Windows PowerShell session if I think there might be more than one with...
View ArticlePowerShell Summit Europe 2014 in Amsterdam
Summary: Microsoft Scripting Guy, Ed Wilson, talks about the Windows PowerShell Summit Europe in Amsterdam.Microsoft Scripting Guy, Ed Wilson, is here. It is nearly here...just a few weeks actually....
View ArticlePowerTip: Find How Many Days until PowerShell Summit Europe 2014
Summary: Use Windows PowerShell to find how many days until Windows PowerShell Summit Europe in Amsterdam. How can I use Windows PowerShell to help me find how many days until the Windows PowerShell...
View ArticleWeekend Scripter: Space: Not the Final Frontier in PowerShell
Summary: Microsoft Scripting Guy, Ed Wilson, talks about spacing in Windows PowerShell scripts.Microsoft Scripting Guy, Ed Wilson, is here. This morning I am sipping a cup of English Breakfast tea. I...
View ArticlePowerTip: PowerShell Tabs
Summary: Understand Windows PowerShell tabs. How can I use Windows PowerShell to efficiently add 1, 2, or 3 tabs to a string? Use the `t character for a single tab. Use `t`t for two tabs, and multiply...
View ArticleWeekend Scripter: Don’t Break PowerShell Script with Line Breaks
Summary: Microsoft Scripting Guy, Ed Wilson, talks about line breaks in Windows PowerShell.Microsoft Scripting Guy, Ed Wilson, is here. This morning, the weather is cool for a change. It was a great...
View ArticlePowerTip: New Lines with PowerShell
Summary: Create new lines with Windows PowerShell. How can I use Windows PowerShell to add a new line between lines for my text output? Use the `n character, for example:PS C:\> "string with new...
View ArticleUse PowerShell to Detect Activation Status
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and WMI to display Windows activation status. Hey, Scripting Guy! The previous network administrator at my company was...
View ArticlePowerTip: Use Tab to Complete WMI Class Names
Summary: Use Tab completion to type WMI class names in Windows PowerShell. I am using WMI in the Windows PowerShell console and in the Windows PowerShell ISE, and I am having a hard time...
View ArticleUse PowerShell to Provide Startup Information
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find startup information. Hey, Scripting Guy! It seems that my laptop running Windows 8.1 takes forever to start...
View ArticlePowerTip: Find WMI Classes by Using PowerShell
Summary: Use Windows PowerShell to find WMI classes. I am searching for a WMI class to help me find information about Windows startup configuration. I am unsure of the class name. How can I...
View ArticleInventory Drive Types by Using PowerShell
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to detect drive types. Hey, Scripting Guy! We have a number of workstations in our network. Many of the users bring USB...
View ArticlePowerTip: Find Value from PowerShell Hash Table
Summary: Look up values from a Windows PowerShell hash table. How can I look up a specific value that is associated with a specific key in a Windows PowerShell hash table? Use the Item method and...
View ArticleUse PowerShell and WMI to Glean Basic Operating System Information
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and WMI to obtain basic operating system information. Hey, Scripting Guy! I need to check on computers on my network to...
View ArticlePowerTip: Use PowerShell to Cast to WMI UInt Value Type
Summary: Use Windows PowerShell to cast to the WMI UInt value type. I am comparing data from WMI, and it seems strange. I found the value type is a UInt32, and when I looked it up, I found that it is...
View ArticleWhy Are All These Services Starting?
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using WMI to find out how services start. Hey, Scripting Guy! I was looking at the processes on my workstation, and I see lots of things...
View ArticlePowerTip: Find WMI Classes Related to Services
Summary: Use Windows PowerShell to find WMI classes related to services that reveal start mode. How can I use Windows PowerShell to find a WMI class that will help me identify how services are...
View ArticleWeekend Scripter: The WMI Explorer Tool
Summary: Guest blogger, Vinay Pamnani, talks about a cool new WMI tool.Microsoft Scripting Guy, Ed Wilson, is here. One of the absolutely greatest things about working for Microsoft is the chance to...
View ArticlePowerTip: Find Array Members with Get-Member in PowerShell
Summary: Learn to find members of an array with the Get-Member cmdlet in Windows PowerShell. I have an array of numbers: 1,2,3,4,5 that I assigned to variable $a. When I pipe it to Get-Member: $a | gm,...
View Article