How to Reuse Windows PowerShell Functions in Scripts
Summary : When writing a Windows PowerShell script, code reuse can speed up the process. Ed Wilson discusses best practices for reusing code. Hey, Scripting Guy! I often write Windows PowerShell...
View ArticleMasking Passwords in Windows PowerShell
Summary : With Windows PowerShell cmdlets, it is easy to mask passwords used when scripting remote applications. Hey, Scripting Guy! I need to be able to mask a password when running a Windows...
View ArticlePausing a Windows PowerShell Script to Receive Keyboard Input
Summary : Pausing execution of a Windows PowerShell script to receive keyboard input can be as simple as using the Read-Host cmdlet. But other methods are available. Hey, Scripting Guy! I would like to...
View ArticleQuick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (8/13/10)
In this post : How Do I Paste Code into the Windows PowerShell Console? Automation with Windows PowerShell How Can I Create an Automated Lockdown for Windows 7 by Using Windows PowerShell? How Can I...
View ArticleUsing Group Policy to Deploy a Windows PowerShell Logon Script
Summary : The easiest way to deploy a Windows PowerShell script to users is to create a Group Policy logon script. Microsoft Scripting Guy Ed Wilson here. Oh…my eyes feel like they are glued to my...
View ArticleUsing PowerShell to Format a Report from XML Data
Summary : Use Windows PowerShell to create a formatted report from data stored in XML files. Microsoft Scripting Guy Ed Wilson here. It is still dark outside, and the lights of the neighborhood are...
View ArticleUsing PowerShell to Find All Disabled Users in Active Directory
Summary : The Scripting Guys discuss three different approaches to finding disabled user accounts in Active Directory Domain Services by using Windows PowerShell. Hey, Scripting Guy! I would like to...
View ArticleHow to Change a User's Active Directory Password with PowerShell
Summary : The Scripting Guys discuss using Windows PowerShell to change a user's Active Directory password in this how-to article. Hey, Scripting Guy! I need to be able to change a user’s password by...
View ArticleSort an Active Directory User Group’s Members by Using PowerShell
Summary : Sorting lists of data in VBScript often involved writing complex code. The Sort cmdlet in Windows PowerShell makes that task easier. Hey, Scripting Guy! I need to be able to use Windows...
View ArticleUse PowerShell to Add Domain Users to a Local Group
Summary : By using Windows PowerShell splatting, domain users can be added to a local group. This script includes a function to convert a CSV file to a hash table. Hey, Scripting Guy! I need to be able...
View ArticleQuick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (8/20/10)
In this post : Dealing with Hidden File Extensions How Can I Programmatically Remove the Everyone Group? How Can I Stop a Script That Has Started Running? Troubleshooting a Script That Uses WMI...
View ArticleExploring the Windows PowerShell ISE Color Objects
Summary : Join Microsoft Scripting Guy Ed Wilson as he takes you on a guided tour of the Windows PowerShell ISE color objects. Microsoft Scripting Guy Ed Wilson here. It is a beautiful sunny afternoon....
View ArticleChanging the Fonts Used by the Windows PowerShell ISE
Summary : See how to change the fonts used by the Windows PowerShell ISE in the Script pane and Output pane. Microsoft Scripting Guy Ed Wilson here. The summer is rapidly drawing to a close, although...
View ArticleUse the DirectorySearcher .NET Class and PowerShell to Search Active Directory
Summary : Learn how to search Active Directory Domain Services from Windows PowerShell by using the DirectorySearcher .NET class. Hey Scripting Guy! I am curious about searching Active Directory Domain...
View ArticleUse the PowerShell [adsiSearcher] Type Accelerator to Search Active Directory
Summary : Learn how to use the Windows PowerShell [adsiSearcher] type accelerator to search Active Directory Domain Services (AD DS). Hey, Scripting Guy! I am trying to get in touch with my inner...
View ArticleQuery Active Directory and Ping Each Computer in the Domain by Using PowerShell
Summary : Query Active Directory and ping each computer in the domain by using Windows PowerShell. The Scripting Guys show you how. Hey, Scripting Guy! I am THE IT person at my company. I am also a...
View ArticleQuery Active Directory with PowerShell and Run WMI Commands
Summary : Use Windows PowerShell to Query Active Directory for computers and then run WMI commands on the remote machines. The Scripting Guys show you how. Hey, Scripting Guy! We have a major problem...
View ArticleQuick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (8/27/10)
In this post : How Can I Take Script Output and Use It in Other Scripts? Troubleshooting a Script That Reads from Excel Does Windows 7 Recognize VBScript Scripts? Can I Change the Path to the Profile...
View ArticleChange Colors Used by the Windows PowerShell ISE
Summary : Learn how to change colors used by the Windows PowerShell ISE to customize your scripting environment. Microsoft Scripting Guy Ed Wilson here. One of the things that is kind of lame about...
View ArticleCustomize Colors and Fonts in the Windows PowerShell ISE
Summary : Customize colors and fonts in the Windows PowerShell ISE. The Microsoft Scripting Guys show you how to script the script editor. How meta! Microsoft Scripting Guy Ed Wilson here. In just...
View Article