#Exemple d'utilisation de Get-CimClass # PS C:\Users\Administrateur> Get-CimClass *operating* NameSpace : ROOT/cimv2 CimClassName CimClassMethods CimClassProperties ------------ --------------- ------------------ Win32_OperatingSystemAutochkSetting {} {Element, Setting} CIM_OperatingSystem {Reboot, Shutdown} {Caption, Description, I... Win32_OperatingSystem {Reboot, Shutdown... {Caption, Description, I... Win32_SystemOperatingSystem {} {GroupComponent, PartCom... CIM_OperatingSystemSoftwareFeature {} {GroupComponent, PartCom... Win32_OperatingSystemQFE {} {Antecedent, Dependent} PS C:\Users\Administrateur> Get-CimInstance -ClassName Win32_OperatingSystem | get-member TypeName : Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_OperatingSystem Name MemberType Definition ---- ---------- ---------- Clone Method System.Object ICloneable.Cl... Dispose Method void Dispose(), void IDispo... Equals Method bool Equals(System.Object obj) GetCimSessionComputerName Method string GetCimSessionCompute... GetCimSessionInstanceId Method guid GetCimSessionInstanceId() GetHashCode Method int GetHashCode() GetObjectData Method void GetObjectData(System.R... GetType Method type GetType() ToString Method string ToString() BootDevice Property string BootDevice {get;} BuildNumber Property string BuildNumber {get;} BuildType Property string BuildType {get;} Caption Property string Caption {get;} CodeSet Property string CodeSet {get;} CountryCode Property string CountryCode {get;} CreationClassName Property string CreationClassName {g... CSCreationClassName Property string CSCreationClassName ... CSDVersion Property string CSDVersion {get;} CSName Property string CSName {get;} CurrentTimeZone Property int16 CurrentTimeZone {get;} DataExecutionPrevention_32BitApplications Property bool DataExecutionPreventio... DataExecutionPrevention_Available Property bool DataExecutionPreventio... DataExecutionPrevention_Drivers Property bool DataExecutionPreventio... DataExecutionPrevention_SupportPolicy Property byte DataExecutionPreventio... Debug Property bool Debug {get;} Description Property string Description {get;set;} Distributed Property bool Distributed {get;} EncryptionLevel Property uint32 EncryptionLevel {get;} ForegroundApplicationBoost Property byte ForegroundApplicationB... FreePhysicalMemory Property uint64 FreePhysicalMemory {... FreeSpaceInPagingFiles Property uint64 FreeSpaceInPagingFil... FreeVirtualMemory Property uint64 FreeVirtualMemory {g... InstallDate Property CimInstance#DateTime Instal... LargeSystemCache Property uint32 LargeSystemCache {get;} LastBootUpTime Property CimInstance#DateTime LastBo... LocalDateTime Property CimInstance#DateTime LocalD... Locale Property string Locale {get;} ... PS C:\Users\Administrateur> Get-CimInstance -ClassName Win32_OperatingSystem | select caption caption ------- Microsoft Windows Server 2012 R2 Standard