This Script is used to Create a Local User and give that Local User, Local Adminstrator Privilege.
give 0 in the passwordExpire parameter if you want the password to be expired after few months or give 1 in the passwordExpire parameter if you want the password to never expire. the datatype should be integer.
Note: Run as System User
Comments