Quantcast
Channel: Hey, Scripting Guy! Blog
Browsing all 3333 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Restore 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 Article


Image may be NSFW.
Clik here to view.

Avoid 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 Article

Image may be NSFW.
Clik here to view.

Solve 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 Article

Image may be NSFW.
Clik here to view.

Two 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 Article


Image may be NSFW.
Clik here to view.

Format 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 Article

Image may be NSFW.
Clik here to view.

Use 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 Article

Image may be NSFW.
Clik here to view.

Send 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 Article


Image may be NSFW.
Clik here to view.

Configure 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 Article


Image may be NSFW.
Clik here to view.

Use 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 Article

Image may be NSFW.
Clik here to view.

Create 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 Article

Image may be NSFW.
Clik here to view.

Simplify 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 Article

Image may be NSFW.
Clik here to view.

Creating 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 Article


Image may be NSFW.
Clik here to view.

Avoid 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 Article

Image may be NSFW.
Clik here to view.

Use 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 Article


Image may be NSFW.
Clik here to view.

Use 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 Article

Image may be NSFW.
Clik here to view.

Use 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 Article


Image may be NSFW.
Clik here to view.

Use 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 Article

Image may be NSFW.
Clik here to view.

Search 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 Article

Image may be NSFW.
Clik here to view.

Search 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
Browsing all 3333 articles
Browse latest View live