772
Comment:
|
817
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
#Powershell > Get-ADComputer -Identity "abcd" | select -ExpandProperty DistinguishedName | #Powershell > import-module activedirectory Get-ADComputer -Identity "abcd" | select -ExpandProperty DistinguishedName |
Windows/PowerShell Notes
Missing powershell commands
Get info on a machine by id
#Powershell > import-module activedirectory Get-ADComputer -Identity "abcd" | select -ExpandProperty DistinguishedName
Err
> Get-ADComputer -Identity "abcd" | select -ExpandProperty DistinguishedName Get-ADComputer : The term 'Get-ADComputer' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1
- Reason missing admin module
- Fix