We have a postcreate script (powershell) that we run to set permissions for a users home directory. I am attempting to convert the script from using the users samaccountname to use the users sid. The problem is that from the $Request I am only able to pull the objectsid. I have not found a method to successfully convert the objectsid to S-1-5.... format. Any assistance would be greatly appreciated.
In reply to JohnnyQuest: