Using New-Alias to create easier to remember shortcuts in PowerShell
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 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 $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: 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 the $PSVersionTable object and examine the PSEdition value.
Summary: Using the ConvertFrom-Json Cmdlet in PowerShell to read a JSON formatted file
Hey, Doctor Scripto! I’ve seen a lot of JSON files in use in Azure. I’m not very good with editing JSON properly. Is there an easy way to read this and at least edit it with PowerShell?
Summary: Using the features of the SQLServer PowerShell module to run assessments of your servers
How can I easily check that my SQL Servers are all configured to meet best practices?
You can use SQL Server Assessments – the latest addition to the SQLServer PowerShell module.
Summary: Using PowerShell to report on Users and the last time Passwords were changed
Hey, Doctor Scripto! I need to report on users and when they updated their passwords In AzureAD. Could you show me how ?
Most certainly, I love to provide a helping hand however I can.
Using the Get-Random Cmdlet to select a random list of names instead of numbers
I’ve got a script that needs to power off a system after it’s done. How can I accomplish this with PowerShell?