2020/09/09 #Get-ADComputerのメソッド、プロパティ

皆様おはようございます、
#猫でもできるPowerShell(備忘録)
#Get-ADComputerのメソッド、プロパティ

PS> Get-ADComputer -fi * |Get-Member

   TypeName: Microsoft.ActiveDirectory.Management.ADComputer

Name              MemberType            Definition                                                                           
----              ----------            ----------                                                                           
Contains          Method                bool Contains(string propertyName)                                                   
Equals            Method                bool Equals(System.Object obj)                                                       
GetEnumerator     Method                System.Collections.IDictionaryEnumerator GetEnumerator()                             
GetHashCode       Method                int GetHashCode()                                                                     
GetType           Method                type GetType()                                                                       
ToString          Method                string ToString()                                                                     
Item              ParameterizedProperty Microsoft.ActiveDirectory.Management.ADPropertyValueCollection Item(string property...
DistinguishedName Property              System.String DistinguishedName {get;set;}                                           
DNSHostName       Property              System.String DNSHostName {get;set;}                                                 
Enabled           Property              System.Boolean Enabled {get;set;}                                                     
Name              Property              System.String Name {get;}                                                             
ObjectClass       Property              System.String ObjectClass {get;set;}                                                 
ObjectGUID        Property              System.Nullable`1[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicK...
SamAccountName    Property              System.String SamAccountName {get;set;}                                               
SID               Property              System.Security.Principal.SecurityIdentifier SID {get;set;}                           
UserPrincipalName Property              System.String UserPrincipalName {get;set;}                                           

PS>


当たり前ですが、コンピュータにしか付かない
DNSHostName などのプロパティが有ったりして興味深いです
ではまた;