Tuesday, March 2nd, 2010 Posted in Hosting & IIS7, Windows Powershell, Windows Server | No Comments »
Creates a new user on Active Directory, sets "Password never expires" and changes primary group of user. Function Add-IISUser { Param ($Username, $Password) $ADDomain = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain() $ADDomainName ... Read more..