The “Hey, Scripting Guys!” blog has been retired. There are many useful posts in this blog, so we keep the blog here for historical reference. However, some information might be very outdated and many of the links might not work anymore.
New PowerShell content is being posted to the PowerShell Community blog where members of the community can create posts by submitting content in the GitHub repository.
Summary: Using Windows PowerShell to purge Wlan profiles with NetSh.exe.
Last week we had a way with a Regular Expression to run one Netsh.exe command and show only the profile names as a PowerShell Array.
Today we're going to finish the task and show you how to delete those Profiles.
As a quick reminder here's the line in PowerShell ...
Summary: Learn how to easily produce a list of approved Windows PowerShell verbs.
(image) How can I find what verbs are approved for use in a Windows PowerShell function?
(image) Use the Get-Verb cmdlet, and to make it easy to peruse, send the output to the Out-GridView cmdlet:
get-verb | Out-GridView
(image...
Summary: Ed Wilson, Microsoft Scripting Guy, talks about using a function to determine if a Windows PowerShell console is elevated.
Microsoft Scripting Guy, Ed Wilson, is here. I had a friend tell me that nearly half of all the cmdlets, functions, and whatever’s in Windows PowerShell 4.0 on Windows Server 2012 R2 required ...
Summary: Ed Wilson, Microsoft Scripting Guy, discusses one of his favorite functions: Get-EnumValues.
Microsoft Scripting Guy, Ed Wilson, is here. Today I am working on my presentation for Atlanta TechStravaganza 2015, which will happen on August 21. It will be a really cool event, and the Scripting Wife and I are looking forward to ...
Summary: Ed Wilson, Microsoft Scripting Guy, talks about replacing one Windows PowerShell function with a different one.
Microsoft Scripting Guy, Ed Wilson, is here. One of the problems with writing Windows PowerShell code every day is that you eventually...
No, it’s not what you think.
I am often asked if I run out of ideas, and the ...