Hi, you should certainly upgrade PowerShell (it is always in a v1 directory but probably v3. Get-Host command will confirm this)
To use PowerShell with switcherlib, you should follow these steps
https://ianmorrish.wordpress.com/powershell/You also have to check the DLL is not blocked by right clicking on it and selecting properties (see unblock button).
Then it would be a simple script to run a macro
add-type -path 'C:\Users\[your directory]\Source\Workspaces\VISE_ATEMLib\SwitcherLib\bin\Debug\SwitcherLib.dll'
$Global:atem = New-Object SwitcherLib.Switcher("192.168.1.240")
$atem.Connect()
$atem.RunMacro(5) #starts from 0 so this is macro in position 6
If this works then I can help you change the script to take command line parameter for the macro number you wish to run and not use ISE.