Hi,
I've anonymised some of the info as it's specific to our company, I've only shown part of the script here, some variables that need to be added as parameters in the custom command need to be acquired from an external source.
I'm specifically calling the ID of the custom command using
I understand I can do this without using Get-ADMUser but i'm struggling to make it work regardless, I only need this to run on a specific user, not every user in an OU like the example above