Reputation: 13
How do I set the operating system to a value? Every time I run the following, the AD portion of 'Operating System' Tab is always missing.
Import-Csv "C:\test.csv" | ForEach-Object {
New-QADComputer -Name $_.FirstName `
-ComputerName $_.FirstName `
-OperatingSystem 'test' `
-ParentContainer 'test/TheWorkstations/TestGroup'
}
Upvotes: 0
Views: 268
Reputation: 1138
What about using classic active directory powershell module(not New-QADComputer)? It works this way.
New-ADComputer 'testcomputer' -OperatingSystem 'test'
Upvotes: 1