I have written a simple script that displays a 'menu' that will enable our Media Lecturers the ability to add \ remove to a couple of AD groups and to view the group members.
I have assigned the necessary permissions to the AD groups to an account I intended to use for delegation. I have also confirmed that this account is able to add \ remove group members.
My issue is that when I run enter-pssession on a remote computer... the script auto runs (as per the .pssc file that I used for the endpoint) and my 'menu' displays correctly but any menu option hangs the console. This included exiting the script so nothing to do with my AD permissions on the delgated account.
I have, I think, 'opened' up the .pssc file in an attempt to get it working so it's not so constrained but I'am at a complete loss now.
I am running this command to create the endpoint on my windows 8 computer that has the win8RSAT tools installed: Register-PSSessionConfiguration -name "Media" -Path "C:\Powershell\Constrained\Media\media.pssc" -RunAsCredential "domain\DelegatedAccount" -ShowSecurityDescriptorUI -Force