#Clear Screen
cls
#Remove lingering variables
Remove-Variable * -Force -ErrorAction SilentlyContinue
#Confirm that printbrm.exe is located in C:\Windows\System32\spool\tools\Printbrm.exe
$SourceServer = 'SERVERNAME'
$backupdir = 'd:\Scripts\PrinterSettings'
C:\Windows\System32\spool\tools\Printbrm.exe -s \\$SourceServer -b -f $backupdir
No comments:
Post a Comment