The example set for removing a poller from nodes doesn't appear to be correct on the following page.
https://github.com/solarwinds/OrionSDK/wiki/NPM-Universal-Device-Pollers
Assuming the lost code block is from a different page somewhere.
On https://github.com/solarwinds/OrionSDK/wiki/PowerShell you can read about how to remove a swis-object.
The code is:
<span class="pl-c1">Remove-SwisObject</span> <span class="pl-smi">$swis</span> <span class="pl-k">-</span>Uri <span class="pl-s"><span class="pl-pds">'</span>swis://localhost/Orion/Orion.Pollers/PollerID=1<span class="pl-pds">'</span></span>