The “Hey, Scripting Guys!” blog has been retired. There are many useful posts in this blog, so we keep the blog here for historical reference. However, some information might be very outdated and many of the links might not work anymore.
New PowerShell content is being posted to the PowerShell Community blog where members of the community can create posts by submitting content in the GitHub repository.
Summary: Doctor Scripto demonstrates how to use env: to show all currently set environment variables
(image)
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 type the SET Command. How do I do this in PowerShell?
(image)
Answer: You can do this ...
Summary: Easily identify if Credential Guard is enabled using the Get-ComputerInfo Cmdlet in Windows 10
(image)
Question: Hey Doctor Scripto, how can I tell if CredentialGuard has been enabled on my Windows 10 computer?
(image)
Answer: Just use the Get-ComputerInfo Cmdlet and target the DeviceGaurdSecurityServicesConfigured ...
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! I myself when I first began exploring this new world didn’t realize that when ...
Summary: Using the -Replace parameter with Set-ADUser to take an array to populate multi-valued attributes
(image)
Question: Hey Doctor Scripto, how can I use Set-ADUser to populate multivalued attributes in Active Directory?
(image)
Answer: You can use an array with the -Replace parameter to do it.
Set-ADUser -Identity "...
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 ones. Can you do with a few lines of code?
—ND
A: Hello ND...