The most recent content from our members.
Hi,Maybe someone has experience with the following:How can I use Solarwinds SDK and PowerShell to select all switch ports on all nodes with access as switchport mode?I want to use this selection to change the monitor option to "Display interface as unplugged rather than down".
Restarting all services related and in connection to the .NET service sometimes temporarily fixes the API issues, other SolarWinds services work, but the API calls fail due to this socket time out error.
ForEach ($node in $list) { $swis = Connect-Swis -host $orion_server -UserName $username -Password $passwd $nodeID = Get-SwisData $swis "Select NodeID From Orion.Nodes where Caption = '$node'" Invoke-SwisVerb $swis Orion.Nodes Unmanage @("N:$nodeID",$StartDate,$EndDate,"false") } In the above script am storing the node…
Hi all, I am new to API calls and automation. There is a requirement from customer asking to check if there is a way we can automatically add device to SolarWinds along with updating custom properties. When i did some study , i read that this can be achieved by API calls. Can some one guide me how to login to SWIS API…
How to authenticate using token in powershell swis connection ?
I searched and found an old post on this but couldn't see any answer so here goes I am trying to search all nodes and update specific ones, based on machine type, with the node poller. I have looked in the nodes.pollers table but cannot see the new node poller appear here when I update one via the GUI. Any tips on where to…
It seems like there's a large number of ways that Alerts and Actions in Orion can be set up where they don't actually do anything. Examples: Enabled alert config/definition with all actions disabled. Action with no ActionAssignment, Action that is only assigned to a disabled Alert config, impossible scheduling, email…
Is it possible to add a device incl. correct SNMPv3 credential set. Don't want to use discovery option in script. Can SNMPv3 work like SNMPv2 does. Example could be: ... $newNodeProps = @{ IPAddress = $ip; EngineID = 1; # SNMP v2 specific ObjectSubType = "SNMP"; SNMPVersion = 3; SNMPv3Credentials = "SNMPv3CredSet" DNS =…
So I'm trying to create a powershell script to add Active Directory Groups via SWIS PowerShell script. This is where I've got to and it's failing on the ConvertFrom-Json; $settings = Get-Content "$PSScriptRoot\Settings.json" -Raw | ConvertFrom-Json $swis = Connect-Swis -Host "1.1.1.1" -UserName "AD_USER_ACCOUNT" -Password…
Testing the commands: Invoke-SwisVerb $swis "orion.nodes" "ScheduleListResources" Invoke-SwisVerb $swis "orion.nodes" "ImportListResourcesResult"Really like the idéa and it seem to work under 2020.2.6. But is there a way to filter what is imported? Right now it seem to import everything that is found, also all down…
It looks like you're new here. Sign in or register to get started.