Windows Service Account Creation

Hi All,

Need to create fixlet which will create service account on AD Server. Below PowerShell command is not working

New-ADServiceAccount -Name “Service Account Name” -DNSHostName “abc.local.com” -Enabled

Please suggest?

Thanks

You are running as local system, so does it work with that environment? Also what is your error?