Select Page
Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 3

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

Summary: Using Regular Expressions to cleanup string data from NetSh.exe. Let’s remember the last two discussions. The first time we looked at using PowerShell to identify wireless profiles with some simple regular expressions. We followed up the next week with ... continue reading
Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 3

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

Summary: Using Regular Expressions to cleanup string data from NetSh.exe. Let’s remember the last two discussions. The first time we looked at using PowerShell to identify wireless profiles with some simple regular expressions. We followed up the next week with ... continue reading
A picture containing scissors Description automatically generated

PowerTip: Identify Drives Encrypted with Bitlocker

Summary: Using the Get-Bitlocker Cmdlet to show the status of drives on your Windows 10 computer Hey, Doctor Scripto. Is there a nice simple way to see if drives are Bitlocker encrypted? A most excellent question! You can the Get-BitlockerVolume ... continue reading
Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 2

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

Summary: Using Measure-Command to determine the fastest approach to a solution. Last week we were having some fun using PowerShell as a wrapper around the NetSh.exe command’s output. We were left at a decision point. Which way to go? A ... continue reading
A picture containing scissors  Description automatically generated

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 Hey, Doctor Scripto. I was wondering if there was a more efficient way of converting a Here-String to an Array ... continue reading
Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 1

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 ... continue reading
A picture containing scissors  Description automatically generated

PowerTip: Identify which Platform PowerShell is running on

Summary: Using $PSVersionTable to identify if you are on Windows or Unix Hey, Doctor Scripto! I’m working on my PowerShell scripts and I need to be able to identify if I’m working on Windows or Linux. How can I do ... continue reading

Creating a Platform Independent Function in PowerShell

Summary: Creating a Function in PowerShell and the power of the $PSVersionTable to make code more portable Q: Hey, Doctor Scripto! I saw that post last week on converting Here-String into an array. I wanted to write my code to ... continue reading
A picture containing scissors  Description automatically generated

PowerTip: Identify if you are running on PowerShell Core

Summary: Pulling up the properties of $PSVersionTable to identify your PowerShell edition Hey, Doctor Scripto! I want to write my modules and scripts to be more portable. How can I tell if I am executing on PowerShell Core? Just use ... continue reading
Maximizing the Power of Here-String in PowerShell for Configuration Data

Maximizing the Power of Here-String in PowerShell for Configuration Data

Summary: Discovering some of the awesome and neat ways to leverage a Here-String in a Script or function Q: Hey, Doctor Scripto! I used to write scripts with supporting configuration files that never really changed. I was wondering if there ... continue reading
Loading...