This is an old revision of the document!
PS C:\> $newPassword="Pa$$w0rd" PS C:\> $newPassword='Pa$$w0rd' PS C:\> Write-Output $newPassword
New-ADUser -Name "Ivan I. Ivanov" -DisplayName "Ivan I. Ivanov" -GivenName "Ivan" -Initials "I" -Surname "Ivanov" ` -SamAccountName "user1" -UserPrincipalName "user1@corpX.un" -Path "CN=Users,DC=corpX,DC=un" ` -AccountPassword(ConvertTo-SecureString -AsPlainText 'Pa$$w0rd1' -Force) ` -Enabled $true -ChangePasswordAtLogon $false New-ADUser -Name "Petr P. Petrov" -DisplayName "Petr P. Petrov" -GivenName "Petr" -Initials "P" -Surname "Petrov" ` -SamAccountName "user2" -UserPrincipalName "user2@corpX.un" -Path "CN=Users,DC=corpX,DC=un" ` -AccountPassword(ConvertTo-SecureString -AsPlainText 'Pa$$w0rd2' -Force) ` -Enabled $true -ChangePasswordAtLogon $false
Get-ChildItem HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall; powershell -Command Get-ChildItem HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall