You are here:-Tag: PowerShell

PowerShell import static DNS records from Excel into remote DNS server | MVSourceCode

Sometimes you might need to load multiple static DNS records into your DNS server, especially when you have to add multiple new servers into your environment. You can do it manually, but it can take a long time and it would be very boring repetitive task, not to mention key-in errors. With PowerShell the

By |2018-11-26T10:32:56+00:00November 26th, 2018|Categories: PowerShell|Tags: , , |0 Comments

Powershell | ActiveDirectory module on Windows 10

1. Check if ActiveDirecory module is installed on Windows 10 First we need to check if ActiveDirectory module is already installed on a computer or not by running Get-Module PS command. From the output we can see that is not listed. 2. Install (RSAT) Remote Server Administration Tools on Windows 10

By |2018-11-15T08:06:29+00:00November 12th, 2018|Categories: PowerShell|Tags: , , |0 Comments

PowerShell ps1 is not digitally signed. You cannot run this script

By default Powershell execution policy is set to restricted, which prevents execution PowerShell scripts and protects from running malicious scripts. 1) Check Current PowerShell Execution Policy You can verity your execution policy by running the following command You can also list all Powershell execution policies by running the following command: [crayon-66173fbc7ba74588188313/] [crayon-66173fbc7ba7b693685181/] 2)  Set PowerShell

By |2018-11-15T08:09:56+00:00March 15th, 2018|Categories: PowerShell|Tags: |0 Comments