Advertisement
Guest User

Untitled

a guest
Mar 19th, 2014
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.59 KB | None | 0 0
  1. VERBOSE: [20/03/2014 9:12:07 AM] Getting list of servers from Active Directory
  2. VERBOSE: [20/03/2014 9:12:09 AM] Loading SCOM SnapIn
  3. VERBOSE: [20/03/2014 9:12:09 AM] Connecting to SCOM RMS Server: PRD-SCOMMS01
  4. VERBOSE: [20/03/2014 9:12:10 AM] Connecting to SCOM Provider
  5. VERBOSE: [20/03/2014 9:12:10 AM] Connecting to SCOM Server: PRD-SCOMMS01
  6. VERBOSE: [20/03/2014 9:12:16 AM] Gathering all SCOM managed systems
  7. VERBOSE: [20/03/2014 9:12:18 AM] Filtering out all Non SCOM managed systems to
  8. audit
  9. VERBOSE: [20/03/2014 9:12:18 AM] Configuring SCOM discovery prior to use
  10. New-WindowsDiscoveryConfiguration : Cannot validate argument on parameter
  11. 'ComputerName'. The argument is null or empty. Provide an argument that is not
  12. null or empty, and then try the command again.
  13. At C:\Scripts\SCOMAgentAudit.ps1:91 char:61
  14. + $Discover = New-WindowsDiscoveryConfiguration -ComputerName $NonSCOM
  15. -PerformVer ...
  16. + ~~~~~~~~
  17. + CategoryInfo : InvalidData: (:) [New-WindowsDiscoveryConfigurat
  18. ion], ParameterBindingValidationException
  19. + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Enter
  20. priseManagement.OperationsManager.ClientShell.NewWindowsDiscoveryConfigura
  21. tionCmdlet
  22.  
  23. You cannot call a method on a null-valued expression.
  24. At C:\Scripts\SCOMAgentAudit.ps1:92 char:1
  25. + $Discover.ComputerNameDiscoveryCriteria.getComputernames() | ForEach
  26. {Write-Verb ...
  27. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  28. ~~~
  29. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  30. + FullyQualifiedErrorId : InvokeMethodOnNull
  31.  
  32. VERBOSE: [20/03/2014 9:12:18 AM] Beginning SCOM discovery
  33. Start-Discovery : Cannot validate argument on parameter
  34. 'WindowsDiscoveryConfiguration'. The argument is null or empty. Provide an
  35. argument that is not null or empty, and then try the command again.
  36. At C:\Scripts\SCOMAgentAudit.ps1:94 char:65
  37. + $DiscResults = @(Start-Discovery -WindowsDiscoveryConfiguration $Discover
  38. -Manag ...
  39. + ~~~~~~~~~
  40. + CategoryInfo : InvalidData: (:) [Start-Discovery], ParameterBin
  41. dingValidationException
  42. + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Enter
  43. priseManagement.OperationsManager.ClientShell.StartDiscoveryCmdlet
  44.  
  45. VERBOSE: [20/03/2014 9:12:18 AM] Checking for failed Discoveries
  46. VERBOSE: [20/03/2014 9:12:18 AM] Beginning installation of SCOM Agent on
  47. discovered systems
  48. VERBOSE: : Attempting Agent Installation
  49. Install-Agent : Cannot bind argument to parameter 'ManagementServer' because
  50. it is null.
  51. At C:\Scripts\SCOMAgentAudit.ps1:135 char:44
  52. + $Results = Install-Agent -ManagementServer $MgmtServer
  53. -AgentManagedComputer: $D ...
  54. + ~~~~~~~~~~~
  55. + CategoryInfo : InvalidData: (:) [Install-Agent], ParameterBindi
  56. ngValidationException
  57. + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M
  58. icrosoft.EnterpriseManagement.OperationsManager.ClientShell.InstallAgentMa
  59. nagedComputerCmdlet
  60.  
  61. VERBOSE: [20/03/2014 9:12:18 AM] Checking for Failed and Successful
  62. installations
  63. Index operation failed; the array index evaluated to null.
  64. At C:\Scripts\SCOMAgentAudit.ps1:145 char:9
  65. + $FailedInstall[([xml]$result.Output).DataItem.PrincipalName] = `
  66. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  67. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  68. + FullyQualifiedErrorId : NullArrayIndex
  69.  
  70. PS C:\Scripts>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement