Select Page
A picture containing scissors  Description automatically generated

PowerTip: Use Windows PowerShell to display all Environment variables

Summary: Doctor Scripto demonstrates how to use [System.Environment] to show all currently set environment variables Question: Hey Doctor Scripto, I remember in DOS if I wanted to see the values of all the Environment variables; like TEMP I could just ... continue reading

Testing RPC ports with PowerShell (and yes, it’s as much fun as it sounds!)

Summary: Using PowerShell to identify RPC ports in use by capturing content from Dos Commands like PortQRY.exe We’d like to introduce you today to one of our newest bloggers! It’s a froopingly awesome friend of ours, Joel Vickery, PFE. (did ... continue reading
A picture containing scissors Description automatically generated

PowerTip: Identify if CredentialGuard is enabled with Windows PowerShell

Summary: Easily identify if Credential Guard is enabled using the Get-ComputerInfo Cmdlet in Windows 10 Question: Hey Doctor Scripto, how can I tell if CredentialGuard has been enabled on my Windows 10 computer? Answer: Just use the Get-ComputerInfo Cmdlet and ... continue reading
Use PowerShell to Identify Unassociated Azure Resources

Use PowerShell to Identify Unassociated Azure Resources

Summary: Save costs by Identifying Unassociated Resources left behind after deletions in Azure Q: Hey, Scripting Guy! How can I quickly identify un-associated resources in my Azure subscription? A: Hi SH! At least you know that’s a question to ask! ... continue reading
A picture containing scissors  Description automatically generated

PowerTip: Using Set-ADUser with multi-valued attributes

Summary: Using the -Replace parameter with Set-ADUser to take an array to populate multi-valued attributes Question: Hey Doctor Scripto, how can I use Set-ADUser to populate multivalued attributes in Active Directory? Answer: You can use an array with the -Replace ... continue reading
Copy multi-valued Active Directory attributes from one user to another with PowerShell

Copy multi-valued Active Directory attributes from one user to another with PowerShell

Summary: Using -Replace parameter with Set-ADUser to copy Active Directory multi-valued attributes Q: Hey, Doctor Scripto! We are in the middle of an Active Directory migration and need to copy the multi-valued attribute “ProxyAddresses” from old user accounts to new ... continue reading
A picture containing scissors  Description automatically generated

PowerTip: Use New-Alias to make Cmdlets easier to remember

Summary: Using New-Alias to create easier to remember shortcuts to Cmdlets in PowerShell Hey, Doctor Scripto. I know I can use Install-Module to download a DSC Resource, but is there some way to build a Cmdlet that does the Exact ... continue reading
Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 4

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