I am trying to create a powershell script to automate user creation which is working great using ADSI. However I need to set the following properties and I am not sure how (or if ADSI can even do this):
- Log on as a service
- Allow logon locally
Any ideas how to do this?