PowerTip: Automatically Find Options in PowerShell

Summary: Learn how to see available options in the Windows PowerShell ISE.  How can I easily see what options are available when I type in a cmdlet name in the Windows PowerShell ISE?  Use IntelliSense. There are two ways to display IntelliSense: 1. From the Edit menu, select Start Intellisense. 2. Use the Ctrl-Space keyboard shortcut as follows: In the…


Use PowerShell to Manipulate Information with CIM

Summary: Guest blogger, Trevor Sullivan, talks about using Windows PowerShell and CIM to manipulate information. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy, and a recognized Microsoft Community Contributor (MCC). To see more of Trevor’s guest posts, see these Hey, Scripting…


Building a Demo Active Directory: Part 3

Summary: Create security groups in targeted organizational units in Active Directory.  Hey, Scripting Guy! I was wondering if you could please show me how to use Windows PowerShell to create some security groups inside a set of organizational units in Active Directory. Is it difficult? —DS  Hello DS, Honorary Scripting Guy, Sean Kearney here, filling…


Hey, Dude! Where Are My Methods?

Summary: Windows PowerShell MVP, Richard Siddaway, talks about WMI’s missing methods in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blog post by Windows PowerShell MVP, Richard Siddaway. Richard has been working with Microsoft technologies for 25 years and has spent time in most  IT roles, including analyst-programmer, server…


Weekend Scripter: Automatically Indent Your PowerShell Code in the ISE

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to create a function to indent your code in the Windows PowerShell ISE without tabbing. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about a road trip is that it gives me a chance to catch up on stuff I want to do….


Weekend Scripter: Copy Text from One Tab in the PowerShell ISE to the Next

Summary: Microsoft Scripting Guy, Ed Wilson, creates a function to copy script text from one Windows PowerShell ISE tab to a new one. Microsoft Scripting Guy, Ed Wilson, is here. Well, the day is finally here. It is time for the Jacksonville, Florida IT Pro Camp. The speaker dinner last night was great, and the…


2012 Scripting Games Beginner Event 4: Compare Two Folders

  Summary: In Beginner Event 4, you are required to compare two folders after completing to a backup. About this event Division Beginner Date of Event 4/5/2012 12:01 AM Due Date 4/12/2012 12:01 AM   Event scenario You are a network administrator for a small company. Each night you use a script to perform a…


2012 Scripting Games Advanced Event 4: Determine Folder Space

  Summary: In Advanced Event 4, you are required to determine which folders consume the most space.   About this event Division Advanced Date of Event 4/5/2012 12:01 AM Due Date 4/12/2012 12:01 AM   Event scenario You are a freelance journalist, and as a result, you travel to various locations around the world in…


Use Tab Expansion in the PowerShell ISE to Avoid Cmdlet Aliases

Summary: Learn how to use Tab Expansion in the Windows PowerShell ISE to avoid using cmdlet aliases and to add complete parameter names in commands. Hey, Scripting Guy! I spend a decent amount of time working with scripts, and I would like to learn how to use the Windows PowerShell ISE more effectively. I have…


Learn Keyboard Tricks to Use the PowerShell ISE Easier

Summary: Learn how to use the Windows PowerShell ISE more effectively by leveraging keyboard shortcuts.  Hey, Scripting Guy! I am the network administrator for a large company, and we have to go through very rigorous testing before we can download and install software on our servers. This requirement has prevented me from using many of…