PowerTip: Use PowerShell to Find WMI Classes
Summary: Learn how to use Windows PowerShell to find WMI classes. How can I use Windows PowerShell to find WMI classes related to the BIOS on my computer. Use the Get-CimClass cmdlet and search for the...
View ArticleWeekend Scripter: Authentication Silos Part 2
Summary: Microsoft PFE, Ian Farr, continues his series about using Windows PowerShell to work with Authentication Policy Silos.Microsoft Scripting Guy, Ed Wilson, is here. Welcome back today, guest...
View ArticlePowerTip: Use PowerShell to Find WMI Classes for Creating
Summary: Learn to find WMI classes that permit creating stuff. How can I use Windows PowerShell to help me find WMI classes that will permit me to create stuff? Use the Get-CimClass cmdlet, and specify...
View ArticleTroubleshooting a PowerShell SQL Server Script
Summary: Microsoft Scripting Guy, Ed Wilson, helps a reader with a Windows PowerShell and SQL Server scripting issue.Microsoft Scripting Guy, Ed Wilson, is here. This morning I am sipping a nice cup of...
View ArticlePowerTip: Start PowerShell with No Profile
Summary: Start Windows PowerShell with no profile to troubleshoot scripts. How can I use Windows PowerShell to troubleshoot a script that sometimes works and sometimes does not? Look for any external...
View ArticleTroubleshoot PowerShell Script Output
Summary: Microsoft Scripting Guy, Ed Wilson, talks about troubleshooting output from a Windows PowerShell script. Hey, Scripting Guy! First, I want to say that you guys absolutely rock! I mean, I never...
View ArticlePowerTip: Use PowerShell to Create Two Column Output
Summary: Create a two column output of data by using Windows PowerShell. How can I use Windows PowerShell to create output that has two columns? Use the Format-Wide cmdlet, and then use the –Column...
View ArticleUse PowerShell to Write Verbose Output
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to write verbose output. Hey, Scripting Guy! The other day, you said that I should not use Write-Host. I even read...
View ArticlePowerTip: Check Status of PowerShell Preference Variables
Summary: Learn to easily check the value assignments of Windows PowerShell preference variables. How can I use Windows PowerShell to quickly check the value of Windows PowerShell preference variables?...
View ArticleExclude Delayed Start Services when Checking Status with PowerShell
Summary: Windows PowerShell MVP, Mike Robbins, shows us how to use Windows PowerShell to check the status of Windows services and improve the accuracy of results.Microsoft Scripting Guy, Ed Wilson, is...
View ArticlePowerTip: Use PowerShell to Display Invalid File Names
Summary: Use Windows PowerShell to display invalid file name characters. How can I use Windows PowerShell to display information about invalid file name characters? Use the System.IO.Path class and...
View ArticleI've Got a PowerShell Secret: Adding a GUI to Scripts
Summary: Microsoft PFE, Chris Conte, talks about adding a GUI for Windows PowerShell scripts.Microsoft Scripting Guy, Ed Wilson, is here. Today Chris Conte is our guest blogger.Chris Conte is a premier...
View ArticlePowerTip: Use PowerShell to Create Temporary File Name
Summary: Use Windows PowerShell to create a temporary file name. I need to output data to a file, but I do not need a permanent file name and location because the file will be later deleted....
View ArticleWeekend Scripter: Fixing PowerShell GUI Examples
Summary: Microsoft PowerShell MVP, Dave Wyatt, talks about using Windows PowerShell GUI example code.Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Dave Wyatt. To read more of...
View ArticlePowerTip: Wire Up PowerShell GUI Buttons
Summary: Learn to use the OK and Cancel buttons in a Windows PowerShell GUI. How can I use Windows PowerShell to get my GUI’s OK and Cancel buttons to trigger when the user presses ENTER or...
View ArticleWeekend Scripter: A Hidden Gem in the PowerShell Ocean: Get-PSCallStack
Summary: Microsoft PowerShell MVP, Jeff Wouters, talks about using the Get-PSCallStack Windows PowerShell cmdlet.Microsoft Scripting Guy, Ed Wilson, is here. Today Windows PowerShell MVP, Jeff Wouters,...
View ArticlePowerTip: Use PowerShell to Display Square Root of Number
Summary: Use Windows PowerShell to display the square root of a number. How can I figure out the square root of a number when I am writing a Windows PowerShell script? Use the Sqrt static method from...
View ArticleUse PowerShell to Create Bulk Users for Office 365
Summary: Microsoft Scripting Guy, Ed Wilson, talks about creating bulk users in Office 365.Microsoft Scripting Guy, Ed Wilson, is here. This morning I spent a bit of time talking to my mentee. It is...
View ArticlePowerTip: Use PowerShell to List Time Zones Defined on System
Summary: Use Windows PowerShell to list time zones that are defined on a system. How can I use Windows PowerShell to produce a list of all the time zones that are defined on my system? Use the...
View ArticleUse PowerShell to Force Office 365 Online Users to Change Passwords
Summary: Use Windows PowerShell to force Office 365 online users to change their passwords. Hey, Scripting Guy! I used your technique from yesterday to create a bunch of Office 365 users online, and...
View Article