Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Identify Completed PowerShell Jobs with Data yet to be Received

Summary: Doctor Scripto quickly shows how to identify Completed Jobs in PowerShell which have yet to have the data Received Hey Doctor Scripto, How can I identify jobs which already completed but I haven’t done a Receive-Job on to get the data? (image) You can do this with the Get-Job Cmdlet by targeting the -ChildJobState and -...

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 4

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 ...

PowerTip: Show all Installed Capabilities on Windows 10

Summary: Identify if capabilities like OpenSSH are installed in your Windows 10 Operating System (image) Hey, Doctor Scripto. I was curious if there was a way to see if a workstation has a capability installed on it like OpenSSH. I’m trying to report on this for my environment. (image) Absolutely! You can run the following line...