BATCHman Writes a PowerShell Script to Automate Handle
Summary: Windows PowerShell superhero BATCHman writes a script to automate the Sysinternals Handle tool. Microsoft Scripting Guy Ed Wilson here. Today, we continue the BATCHman series as the titular...
View ArticleRestore NTFS Security Permissions by Using PowerShell
Summary: Superhero BATCHman restores NTFS security permissions using Windows PowerShell. Microsoft Scripting Guy Ed Wilson here. Well, it is time once again for BATCHman. This time, it is Episode 12....
View ArticleAvoid Blank Lines at End of a Text File with PowerShell
Summary: Microsoft Scripting Guy Ed Wilson teaches how to avoid writing blank lines at the end of a file by using Windows PowerShell. Hey, Scripting Guy! I have a problem with my script. For example,...
View ArticleSolve Problems with External Command Lines in PowerShell
Summary: Microsoft Scripting Guy Ed Wilson discusses problems creating external command arguments using Windows PowerShell. Hey, Scripting Guy! I am using an external program that takes a –o...
View ArticleTwo Simple PowerShell Methods to Remove the Last Letter of a String
Summary: Learn two simple Windows PowerShell methods to remove the last letter of a string. Hey, Scripting Guy! I have, what should be a simple question. I need to be able to remove only the last...
View ArticleFormat Multilevel Arrays in PowerShell
Summary: Microsoft Scripting Guy Ed Wilson talks about formatting multilevel arrays in Windows PowerShell. Hey, Scripting Guy! I am having a problem with arrays. I have two-level arrays and they work...
View ArticleUse PowerShell to Work with CSV Formatted Text
Summary: See how to use Windows PowerShell to create CSV files from formatted and unformatted text. Hey, Scripting Guy! I have begun to play around with Windows PowerShell, and it is absolutely the...
View ArticleSend Email from Exchange Online by Using PowerShell
Summary: Guest blogger Mike Pfeiffer shows how to send email messages using Windows PowerShell and Exchange online. Microsoft Scripting Guy Ed Wilson here. Guest Blogger Mike Pfeiffer recently...
View ArticleConfigure PowerShell Cmdlet Default Values by Using Splatting
Summary: Learn how to use the Windows PowerShell splatting feature to avoid typing repetitive cmdlet parameters. Hey, Scripting Guy! I am wondering if you can help me. There are some cmdlets that...
View ArticleUse PowerShell and WMI to Get Processor Information
Summary: Learn how to get the number of processor cores via WMI and Windows PowerShell. Hey, Scripting Guy! I need to perform an audit of computers on our network. Specifically, I am tasked with...
View ArticleCreate a Custom Object from WMI by Using PowerShell
Summary: Create a custom object from WMI to display processor and operating system information using Windows PowerShell. Hey, Scripting Guy! Your script yesterday was pretty cool. However, in...
View ArticleSimplify Creating Items with PowerShell Providers
Summary: Learn how to use the same syntax to create different types of items via Windows PowerShell providers. Hey, Scripting Guy! I am wondering about the Windows PowerShell idea of providers. I...
View ArticleCreating PowerShell Drives for Fun and Profit
Summary: Learn different ways to work with Windows PowerShell drives, including using WMI to find the root. Hey, Scripting Guy! I have been trying to grasp this idea of Windows PowerShell drives. I...
View ArticleAvoid Overload by Scaling and Queuing PowerShell Background Jobs
Summary: Use scaling and queuing Windows PowerShell background jobs to avoid system overload. Microsoft Scripting Guy Ed Wilson here. Today I am proud to announce the return of Boe Prox to the blog....
View ArticleUse PowerShell to Clean Up Active Directory After a Stalled Migration
Summary: Use Windows PowerShell to clean up extended user attributes following a stalled Active Directory migration. Microsoft Scripting Guy Ed Wilson here. Today I am proud to announce the return of...
View ArticleUse Cool PowerShell Tricks to Simplify Your Scripts
Summary: Learn how to use a collection of cool Widows PowerShell tricks to simplify writing scripts. Microsoft Scripting Guy Ed Wilson here. Today I am proud to announce that Microsoft's newest...
View ArticleUse PowerShell to Document Your Network Configuration
Summary: Learn how to use Windows PowerShell and Active Directory cmdlets to document your Active Directory configuration. Hey, Scripting Guy! I recently inherited an Active Directory. By this, I...
View ArticleUse PowerShell Active Directory Cmdlets Without Installing Any Software
Summary: Learn how to use Windows PowerShell remoting to manage user objects without installing software on the client. Hey, Scripting Guy! I was reading your article about using the Microsoft Active...
View ArticleSearch Active Directory for User and Office Locations
Summary: Search Active Directory for user and office locations by using Windows PowerShell and no scripting. Hey, Scripting Guy! I am looking for an easy way to search Active Directory. For example,...
View ArticleSearch AD for Missing Email Addresses Using PowerShell
Summary: Learn how to use Windows PowerShell and the Active Directory cmdlets to find and replace missing email addresses. Hey, Scripting Guy! I am hoping you can help me. We recently decommissioned...
View Article