Invoke/new session with token update and new group membership


I like to do invoke-command commands and every time I do this, the token should be updated.
So when the account becomes a member of a new group it directly takes effect in the following invoke-command.
Is this possible?

When I do a runas on the commandprompt (outside powershell) the new session will have the updates membership. Thats what i Like in powershell remoting.

Hope someone can help me.

Best regards,

No, the way Windows’ security works, this isn’t possible. Invoke-Command delegates your existing token; it doesn’t create a new authentication event, so no new token is created.