;-), Access Denied when using Powershell to remove computer objects, If you have any feedback on our support, please click. under my own domain admin credentials it works however. Reason 3: Calling List as a Function. The script I am running (without the creds info): $a = "