Running/Getting Jobs with Endpoints

Playing around with Endpoints based on some examples I’ve found. Whenever I run UA commands such as, Get-UAScript, Invoke-UAScript, Wait-UAJob, it looks like those commands will only work if I pass the ComputerName and an AppToken to the commands. I just wanted to check to see if this was how it is supposed to function.

I originally assumed that if I assigned a role like Administrator to my endpoint and called it using an account with Admin access, I wouldn’t need to pass an access token. But that doesn’t appear to be so. Just want to make sure I’m understanding the relationships between roles, access tokens, etc… correctly before we start building out Endpoints.


Product: PowerShell Universal
Version: 1.4.6