Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:\Tasks\GPObackup> .\GPO_backup.ps1
- The following GPOs were successfully backed up:
- Backup-GPO : Cannot validate argument on parameter 'Name'. Value cannot be null.
- Parameter name: gpoName
- At C:\Tasks\GPObackup\GPO_backup.ps1:45 char:28
- + $GPOBackup = Backup-GPO <<<< $GPO.DisplayName -Path $BackupPath
- + CategoryInfo : InvalidData: (:) [Backup-GPO], ParameterBindingValidationException
- + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.GroupPolicy.Commands.BackupGpoCommand
- Get-GPOReport : Cannot validate argument on parameter 'Name'. Value cannot be null.
- Parameter name: gpoName
- At C:\Tasks\GPObackup\GPO_backup.ps1:49 char:24
- + Get-GPOReport -Name <<<< $GPO.DisplayName -path $Path -ReportType HTML
- + CategoryInfo : InvalidData: (:) [Get-GPOReport], ParameterBindingValidationException
- + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.GroupPolicy.Commands.GetGpoReportCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement