This Webinar on the PI Powershell Tools should be a good jump off point on how to use the tools. Regarding where to run the script and software needed, you need to run the script anywhere you have the AF Client installed which is satisfied when you install the PI System Management Tools which package the Powershell Tools as well as the AF Client and some additional but not required software.
I don't know of any examples that use those cmdlets (there may be some on GitHub somewhere) but we do have some resources for learning how to interact with PowerShell.
We did a webinar earlier this year: Intro to PowerShell for the PI System
Additionally, there are a set of example scripts located in %pihome%\OSIsoft.PowerShell\ExampleScripts
You should be able to run PowerShell from any machine that has PSE/SMT installed. In terms of security - as long as you have the appropriate mappings it should all work.