# Other than these and [NoRunspaceAffinity()], the classes are the same in the self contained examples. $result = $script:Powershell.AddCommand('New ...