If you need the schema update (you are missing the five schema objects listed in the above powershell command), you can execute the following command via Command Prompt on your Domain Controller: # Check if the Computer Object exists in AD $computerObject = Get-ADComputer -Filter Įxtending your schema if you don't have the schema changes above Write-Host "~Enter in the correct credentials to access the BitLocker and TPM Owner attributes~" $UserName = Read-Host "Enter User Name" $Password = Read-Host -AsSecureString "Enter Your Password" $credential = New-Object -TypeName -ArgumentList $UserName, $Password # Get input on which machine to lookup $computer = Read-Host 'Enter in machine name' # Import our Active Directory PowerShell commands Import-Module ActiveDirectory
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |