When I try to add resources to a Windows Node via PowerShell using the Solarwinds module It never completes.
This is run from an administrator powershell session with the $server variable defined and credentials provided to the $swcreds variable.
PS C:\Windows\System32> $swis = Connect-Swis -Hostname swsamsvr1.valleymed.net -Credential $SWcreds
PS C:\Windows\System32> $nodeid = Get-Swisdata $swis "Select nodeid from orion.nodes where nodename like '%$server'"
PS C:\Windows\System32> $result = Invoke-SwisVerb $swis "orion.nodes" "ScheduleListResources" @($nodeId)
PS C:\Windows\System32> $jobId = $result.'#text'
PS C:\Windows\System32> $jobID
d34f019d-78ef-469e-9c0d-d38b5a3a3346
PS C:\Windows\System32> $importResult = Invoke-SwisVerb $swis "orion.nodes" "ImportListResourcesResult" @($jobId, $nodeId)
Invoke-SwisVerb: ProvideFault failed, check fault information.
Is anyone able to successfully run these commands?
Thanks,