Advertisement
Guest User

CypherBit

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