Scripting Blog [archived]

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

PowerTip: Converting a Here-String to an Array in One Line with PowerShell

Summary: Using the split method in a more powerful fashion to split an array based upon two line terminating types (image) Hey, Doctor Scripto. I was wondering if there was a more efficient way of converting a Here-String to an Array when there were multiple line termination options like Linefeed or Carriage Return and Linefeed? (...

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

Summary: Using PowerShell and Regular Expressions as a wrapper on NetSh.exe output to identify the profiles. Hey, Doctor Scripto! I have a whole pile of old Wireless profiles that have been collecting dust. I know I can use NETSH to view and delete them, but the process is very manual. Do you know if there is an easier way to clear them ...