Update Windows/BackupGPO.md
This commit is contained in:
@@ -36,7 +36,7 @@ $sftpfingerprint = "ssh-rsa 3072 aX....." #replace it with the value of the comm
|
|||||||
$winscppath = "C:\Scripts\backupGPOs\WinSCPnet.dll" #file from the zip you have downloaded before
|
$winscppath = "C:\Scripts\backupGPOs\WinSCPnet.dll" #file from the zip you have downloaded before
|
||||||
$destinantion = "/backups/gpos/" #target on the SFTP Server
|
$destinantion = "/backups/gpos/" #target on the SFTP Server
|
||||||
|
|
||||||
Backup-GPO -All -path $path -Comment "Backup done from DC-04"
|
Backup-GPO -All -path $path -Comment "Backup done from DC-01"
|
||||||
|
|
||||||
# Load WinSCP .NET assembly
|
# Load WinSCP .NET assembly
|
||||||
Add-Type -Path $winscppath
|
Add-Type -Path $winscppath
|
||||||
|
|||||||
Reference in New Issue
Block a user