Use PowerShell to Find and Remove Inactive Active Directory Users

Summary: Guest blogger, Ken McFerron, discusses how to use Windows PowerShell to find and to disable or remove inactive Active Directory users. Microsoft Scripting Guy, Ed Wilson, is here. One of the highlights of our trip to Canada, was—well, there were lots of highlights—but one of the highlights was coming through Pittsburgh and having dinner… Read more

Use a Free PowerShell Snap-in to Easily Manage App-V Server

Summary: Windows PowerShell Microsoft MVP, Sherif Talaat, teaches how to manage App-V Server with a free Windows PowerShell snap-in. Microsoft Scripting Guy, Ed Wilson, is here. Guest Blogger Week continues with a special treat. We have Windows PowerShell Microsoft MVP, Sherif Talaat, with us today. Here is a little bit about him. Sherif Talaat is… Read more

Four Easy Ways to Import CSV Files to SQL Server with PowerShell

Summary: Learn four easy ways to use Windows PowerShell to import CSV files into SQL Server. Microsoft Scripting Guy, Ed Wilson, is here.  I was chatting this week with Microsoft PowerShell MVP, Chad Miller, about the series of blogs I recently wrote about using CSV files. He thought a helpful addition to the posts would… Read more

Modify a PowerShell Script to Accept Piped Input

Summary: Learn how to modify a Windows PowerShell script and turn it into an advanced function that accepts piped input and has complete Help. Microsoft Scripting Guy, Ed Wilson, is here. Some things end up being way more complicated than they might appear at first glance. Today’s script is a case in point. I decided… Read more

Use PowerShell to Find Out Who has Permissions to a Share

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to determine who has permissions to a shared folder. Microsoft Scripting Guy, Ed Wilson, is here. It is finally the weekend here in Charlotte, North Carolina in the United States. It has seemed like a rather long week, in part due to several meetings,… Read more

Use PowerShell Commands from One Session in Another Session

Summary: Learn how to automatically save commands from one session, and then use them in a new Windows PowerShell session. Microsoft Scripting Guy, Ed Wilson, is here. One of the fun things about getting to travel around and talk to people who are using Windows PowerShell on a daily basis to automate their systems is… Read more

Use the Debugger in the Windows PowerShell ISE

Summary: Learn how to use the debugging tools in the Windows PowerShell ISE to speed development of scripts. Microsoft Scripting Guy, Ed Wilson, is here. Today I want to talk a little bit about using the Windows PowerShell ISE to debug a script. This is actually the third article this week in which I talk… Read more

Use the PowerShell Debugger to Check Variable Values

Summary: Learn how to inspect variable values by using the Windows PowerShell debugger.   Microsoft Scripting Guy Ed Wilson here. In yesterday’s post, I talked about using the Set-PSBreakpoint cmdlet to set a breakpoint on a specific script. Today, I want to continue looking at the Set-PSBreakpoint cmdlet. One of the things I mentioned was… Read more

Use the PowerShell Debugger to Troubleshoot Scripts

Summary: Learn how to use the Windows PowerShell script debugger to troubleshoot problems with scripts.   Microsoft Scripting Guy Ed Wilson here. One of the fun things about traveling, especially to warm places when it is winter back home, is calling to talk to friends and relatives. When they say things like, “It snowed yesterday,”… Read more

Make a Simple Change to PowerShell to Prevent Accidents

Summary: Learn how a simple change to a preference variable can help prevent accidental changes when using Windows PowerShell.   Microsoft Scripting Guy Ed Wilson here. When I was teaching my Windows PowerShell Best Practices class out in Irvine, California, recently, I was talking to the class about the whatif parameter. I did my usual… Read more