Comments
-
The update fixed it. Thank you very much for your time!
-
I'm not sure what about the select statement it is not liking. Is there something in the syntax that I am missing?
-
The file that $ips is calling is just a text document that has two test IPs in it on separate lines. The full PS error is below: Exception : System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: The type System.Management.Automation.PSObject was not…
-
SwisPowershell, Version=2.0.31.0, Culture=neutral, PublicKeyToken=null
-
Get-SwisData : There was an error generating the XML document. At C:\Scripts\DEV\Powershell\TEST-Batch Add Custom Props.ps1:39 char:9 + $uris = Get-SwisData $swis "SELECT Nodes.CustomProperties.Uri FROM Or ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-SwisData],…
-
Thank you sire, works like a charm. One last Q: what would you need to change to batch apply UnDP pollers to a group of nodes?
-
Thanks for your response, mharvey. I also thought Solarwinds would exhibit the same behavior, but upon rediscovering the drives, the old "unresponsive" drives show alongside the new "good" drives. Even if I unmanage drives and re-manage drives, they still persist to show up. As you can see, the nearly full drives are the…
-
I'm still getting this same issue. Any guidance would be extremely helpful. Thanks!
-
This throws me an XML error. I have inserted thing things you suggested below: $filename = "Path\To\File.txt" $ips = Get-Content $filename # prepare a custom property value $customProps = @{ Address=" " ASRN=" " AssetTag=" " CircuitID=" " City=" " Comments="testing" ConfiguredBy=" " Department=" " ESN=" " FourthSiteEmail="…
-
Thanks for your reply, that makes sense. I am, however, still running into an issue where my error message is "Entity Orion.Nodes does not contain requested property Comments". This applies to anything I place in the $customProps section.
-
I've spent some time working on something similar and although this doesn't include what you mentioned in your example you can probably take this and run with it. This script applies to custom properties, although I suppose you could tweak this to apply to generic properties. I have provided two different ways of doing…