Using New-Alias to create easier to remember shortcuts in PowerShell
Post by this author
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.
Summary: Identify if capabilities like OpenSSH are installed in your Windows 10 Operating System
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.
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 how to identify which approach would be the fastest.
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 Cmdlet and filter on the VolumeStatus property.
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 For loop to clean up the data,
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 when there were multiple line termination options like Linefeed or Carriage Return and Linefeed?
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,
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 this easily?
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 trap for PowerShell and PowerShell Core.