Tip: You can backup the system state with PowerShell on Windows Server 2012.
First, you need to install the Windows Server Backup feature if it is not: Install-WindowsFeature -Name Windows-Server-Backup
1 2 3 4 5 6 7 |
$systemStatePolicy = New-WBPolicy $BackupDrive = New-WBBackupTarget -VolumePath 'B:' Add-WBSystemState -Policy $systemStatePolicy Add-WBBackupTarget -Policy $systemStatePolicy -Target $BackupDrive Start-WBBackup -Policy $systemStatePolicy |
Check
Files
Pingback: Powershell Tip #67: Add a domain controller to an existing domain | Powershell Guru
Pingback: Powershell Tip #65: Get the forest and domain functional levels | Powershell Guru