We are trying to make a script which will add a newly deployed windows server to SAM.
The only thing left that I can't seem to accomplish is adding the volume to the node.
Has anyone done this / know how to do it?
We are trying to make a script which will add a newly deployed windows server to SAM.
The only thing left that I can't seem to accomplish is adding the volume to the node.
Has anyone done this / know how to do it?
Do you use agent or wmi ?
With agent, you can use the ListResources verb : https://github.com/solarwinds/OrionSDK/blob/master/Samples/PowerShell/ImportListResources.ps1
With wmi, you can create a discovery job (work with interface, volumes, etc) : https://github.com/solarwinds/OrionSDK/blob/master/Samples/PowerShell/DiscoverWmiNode.ps1 and https://github.com/solarwinds/OrionSDK/blob/master/Samples/PowerShell/DiscoverSnmpV3Node.ps1 (I use the same script for snmp and wmi)
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.