Powershell was introduced in November 2006 to replace the old “command prompt” and assist users with “task automation and configuration management,” on multiple platforms – Windows, macOs, or Linux (Parchisanu). The newest version, Powershell 7, was released on March 4, 2020. To translate for those of us unfamiliar with tech jargon like “task automation and configuration … [Read more...] about Using PowerShell to Create Azure NSGs
PowerShell
PowerShell: Get Old AD DNS Records
Sometimes Active Directory DNS fails to scavenge properly and delete old DNS records. You can grab a list of records using PowerShell. … [Read more...] about PowerShell: Get Old AD DNS Records
PowerShell: Check When User Last Set Active Directory Password
If a user can't access an application that authenticates with Microsoft Active Directory, it's helpful to check to see when the user last set their password since the application may be using cached credentials. Here's how to use PowerShell to get the passwordlastset value. … [Read more...] about PowerShell: Check When User Last Set Active Directory Password
How to Set PowerShell Execution Policy
You may have to set the PowerShell execution policy when attempting to run PowerShell scripts to allow the script to run. Otherwise you may be greeted with a "scriptname cannot be loaded because running scripts is disabled on this system." error message. Use this tutorial to allow PowerShell script execution on your Windows system. … [Read more...] about How to Set PowerShell Execution Policy
Fix “Access to the registry key is denied” Error When Setting Policy For PowerShell Scripts
When trying to set the execution policy for PowerShell scripts on your Windows system, you may get the following error: Set-ExecutionPolicy : Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell' is denied. At line:1 char:1 This error is often displayed because you are not executing the command as an administrator. To … [Read more...] about Fix “Access to the registry key is denied” Error When Setting Policy For PowerShell Scripts