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

PowerShell Extension Roadmap

Over the last year we have committed to making the PowerShell editing experience in Visual Studio Code a rich and productive cross-platform alternative for the PowerShell ISE. To that end, we have focused on two primary areas: bringing the PSReadLine ... continue reading

PowerShell Extension Roadmap

Over the last year we have committed to making the PowerShell editing experience in Visual Studio Code a rich and productive cross-platform alternative for the PowerShell ISE. To that end, we have focused on two primary areas: bringing the PSReadLine ... 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
img

PowerShell 7 Preview 5

Today we shipped PowerShell 7 Preview5! This release contains a number of new features and many bug fixes from both the community as well as the PowerShell team. See the Release Notes for all the details of what is included ... 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