Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VERBOSE: [20/03/2014 9:12:07 AM] Getting list of servers from Active Directory
- VERBOSE: [20/03/2014 9:12:09 AM] Loading SCOM SnapIn
- VERBOSE: [20/03/2014 9:12:09 AM] Connecting to SCOM RMS Server: PRD-SCOMMS01
- VERBOSE: [20/03/2014 9:12:10 AM] Connecting to SCOM Provider
- VERBOSE: [20/03/2014 9:12:10 AM] Connecting to SCOM Server: PRD-SCOMMS01
- VERBOSE: [20/03/2014 9:12:16 AM] Gathering all SCOM managed systems
- VERBOSE: [20/03/2014 9:12:18 AM] Filtering out all Non SCOM managed systems to
- audit
- VERBOSE: [20/03/2014 9:12:18 AM] Configuring SCOM discovery prior to use
- New-WindowsDiscoveryConfiguration : Cannot validate argument on parameter
- 'ComputerName'. The argument is null or empty. Provide an argument that is not
- null or empty, and then try the command again.
- At C:\Scripts\SCOMAgentAudit.ps1:91 char:61
- + $Discover = New-WindowsDiscoveryConfiguration -ComputerName $NonSCOM
- -PerformVer ...
- + ~~~~~~~~
- + CategoryInfo : InvalidData: (:) [New-WindowsDiscoveryConfigurat
- ion], ParameterBindingValidationException
- + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Enter
- priseManagement.OperationsManager.ClientShell.NewWindowsDiscoveryConfigura
- tionCmdlet
- You cannot call a method on a null-valued expression.
- At C:\Scripts\SCOMAgentAudit.ps1:92 char:1
- + $Discover.ComputerNameDiscoveryCriteria.getComputernames() | ForEach
- {Write-Verb ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- VERBOSE: [20/03/2014 9:12:18 AM] Beginning SCOM discovery
- Start-Discovery : Cannot validate argument on parameter
- 'WindowsDiscoveryConfiguration'. The argument is null or empty. Provide an
- argument that is not null or empty, and then try the command again.
- At C:\Scripts\SCOMAgentAudit.ps1:94 char:65
- + $DiscResults = @(Start-Discovery -WindowsDiscoveryConfiguration $Discover
- -Manag ...
- + ~~~~~~~~~
- + CategoryInfo : InvalidData: (:) [Start-Discovery], ParameterBin
- dingValidationException
- + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Enter
- priseManagement.OperationsManager.ClientShell.StartDiscoveryCmdlet
- VERBOSE: [20/03/2014 9:12:18 AM] Checking for failed Discoveries
- VERBOSE: [20/03/2014 9:12:18 AM] Beginning installation of SCOM Agent on
- discovered systems
- VERBOSE: : Attempting Agent Installation
- Install-Agent : Cannot bind argument to parameter 'ManagementServer' because
- it is null.
- At C:\Scripts\SCOMAgentAudit.ps1:135 char:44
- + $Results = Install-Agent -ManagementServer $MgmtServer
- -AgentManagedComputer: $D ...
- + ~~~~~~~~~~~
- + CategoryInfo : InvalidData: (:) [Install-Agent], ParameterBindi
- ngValidationException
- + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M
- icrosoft.EnterpriseManagement.OperationsManager.ClientShell.InstallAgentMa
- nagedComputerCmdlet
- VERBOSE: [20/03/2014 9:12:18 AM] Checking for Failed and Successful
- installations
- Index operation failed; the array index evaluated to null.
- At C:\Scripts\SCOMAgentAudit.ps1:145 char:9
- + $FailedInstall[([xml]$result.Output).DataItem.PrincipalName] = `
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- + FullyQualifiedErrorId : NullArrayIndex
- PS C:\Scripts>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement