Can be accessed here. Can only be used with NPM 10.1.2 and above.
Adds additional product support and some basic invoke/write capabilities.
Also new in SDK version 1.3: cmdlets for Windows PowerShell. This is the easiest way to script Orion. More detailed documentation is available in the package, but here's a sample:
Add-PSSnapin SwisSnapin
$swis = Connect-Swis
Get-SwisData $swis 'SELECT NodeID, Caption FROM Orion.Nodes'
Get-SwisData $swis 'SELECT NodeID, Caption FROM Orion.Nodes' | Export-Csv nodes.csv
$now=[DateTime]::Now
$later=$now.AddDays(1)
Invoke-SwisVerb $swis Orion.Nodes Unmanage @("N:1",$now,$later,"false")
Set-SwisObject $swis -Uri 'swis://localhost/Orion/Orion.Nodes/NodeID=1' -Properties @{Caption='New Name'}
oops File not found.
Can you repost the file please ?
Edit: it seems that it has an extra space at the end of the url
There was a space at the end of the link. I edited Brandon's post to fix it. Please try again.
The Unmanage & Remanage verbs don't seem to work correctly now that we're on 10.2 - are there any updates to the SDK I need to apply? Full details at: