Domain Controller System State Backup (Server 2016)

I recently schedule domain controller (PDC) system state backup to repeat the backup task every first Sunday of a month. I wrote up a script using new powershell windows backup commands. Commands are really good rather using old legacy command prompt utilities.

You can read the script from below attached screenshot. If you want to download it, you will find its link below the image.

Note: Make sure you install Windows backup feature first. Else these commands will not work.



Make sure your powershell execution policy is set to "RemoteSinged" or best is to run powershell in execution policy bypass mode with help of below command.

PowerShell.exe -ExecutionPolicy Bypass -File C:\DNS_Record_Dynamic_To_Static.ps1

Click on the image to open it in large view.

0 comments:

Post a Comment