Style: Change UInt64? to ulong? (#8527)
* Style: Change UInt64? to ulong? * Style: Change UInt32? to uint? * Style: Change UInt16? to ushort?
This commit is contained in:
parent
d8af22c33b
commit
d0bbfe6279
1 changed files with 175 additions and 175 deletions
|
@ -66,7 +66,7 @@ namespace Microsoft.PowerShell.Commands
|
||||||
|
|
||||||
private class MiscInfoGroup
|
private class MiscInfoGroup
|
||||||
{
|
{
|
||||||
public UInt64? physicallyInstalledMemory;
|
public ulong? physicallyInstalledMemory;
|
||||||
public string timeZone;
|
public string timeZone;
|
||||||
public string logonServer;
|
public string logonServer;
|
||||||
public FirmwareType? firmwareType;
|
public FirmwareType? firmwareType;
|
||||||
|
@ -1352,7 +1352,7 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// the language parameter. If the language parameter is null or has a
|
/// the language parameter. If the language parameter is null or has a
|
||||||
/// value that is not a valid language ID, the method returns null.
|
/// value that is not a valid language ID, the method returns null.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
protected static string GetLanguageName(UInt32? language)
|
protected static string GetLanguageName(uint? language)
|
||||||
{
|
{
|
||||||
if (language != null)
|
if (language != null)
|
||||||
return Conversion.LocaleIdToLocaleName(language.Value);
|
return Conversion.LocaleIdToLocaleName(language.Value);
|
||||||
|
@ -1407,7 +1407,7 @@ namespace Microsoft.PowerShell.Commands
|
||||||
public byte? EmbeddedControllerMajorVersion;
|
public byte? EmbeddedControllerMajorVersion;
|
||||||
public byte? EmbeddedControllerMinorVersion;
|
public byte? EmbeddedControllerMinorVersion;
|
||||||
public string IdentificationCode;
|
public string IdentificationCode;
|
||||||
public UInt16? InstallableLanguages;
|
public ushort? InstallableLanguages;
|
||||||
public DateTime? InstallDate;
|
public DateTime? InstallDate;
|
||||||
public string LanguageEdition;
|
public string LanguageEdition;
|
||||||
public string[] ListOfLanguages;
|
public string[] ListOfLanguages;
|
||||||
|
@ -1418,65 +1418,65 @@ namespace Microsoft.PowerShell.Commands
|
||||||
public DateTime? ReleaseDate;
|
public DateTime? ReleaseDate;
|
||||||
public string SerialNumber;
|
public string SerialNumber;
|
||||||
public string SMBIOSBIOSVersion;
|
public string SMBIOSBIOSVersion;
|
||||||
public UInt16? SMBIOSMajorVersion;
|
public ushort? SMBIOSMajorVersion;
|
||||||
public UInt16? SMBIOSMinorVersion;
|
public ushort? SMBIOSMinorVersion;
|
||||||
public bool? SMBIOSPresent;
|
public bool? SMBIOSPresent;
|
||||||
public UInt16? SoftwareElementState;
|
public ushort? SoftwareElementState;
|
||||||
public string Status;
|
public string Status;
|
||||||
public byte? SystemBiosMajorVersion;
|
public byte? SystemBiosMajorVersion;
|
||||||
public byte? SystemBiosMinorVersion;
|
public byte? SystemBiosMinorVersion;
|
||||||
public UInt16? TargetOperatingSystem;
|
public ushort? TargetOperatingSystem;
|
||||||
public string Version;
|
public string Version;
|
||||||
}
|
}
|
||||||
|
|
||||||
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Class is instantiated directly from a CIM instance")]
|
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Class is instantiated directly from a CIM instance")]
|
||||||
internal class WmiComputerSystem
|
internal class WmiComputerSystem
|
||||||
{
|
{
|
||||||
public UInt16? AdminPasswordStatus;
|
public ushort? AdminPasswordStatus;
|
||||||
public bool? AutomaticManagedPagefile;
|
public bool? AutomaticManagedPagefile;
|
||||||
public bool? AutomaticResetBootOption;
|
public bool? AutomaticResetBootOption;
|
||||||
public bool? AutomaticResetCapability;
|
public bool? AutomaticResetCapability;
|
||||||
public UInt16? BootOptionOnLimit;
|
public ushort? BootOptionOnLimit;
|
||||||
public UInt16? BootOptionOnWatchDog;
|
public ushort? BootOptionOnWatchDog;
|
||||||
public bool? BootROMSupported;
|
public bool? BootROMSupported;
|
||||||
public string BootupState;
|
public string BootupState;
|
||||||
public UInt16[] BootStatus;
|
public UInt16[] BootStatus;
|
||||||
public string Caption;
|
public string Caption;
|
||||||
public UInt16? ChassisBootupState;
|
public ushort? ChassisBootupState;
|
||||||
public string ChassisSKUNumber;
|
public string ChassisSKUNumber;
|
||||||
public Int16? CurrentTimeZone;
|
public Int16? CurrentTimeZone;
|
||||||
public bool? DaylightInEffect;
|
public bool? DaylightInEffect;
|
||||||
public string Description;
|
public string Description;
|
||||||
public string DNSHostName;
|
public string DNSHostName;
|
||||||
public string Domain;
|
public string Domain;
|
||||||
public UInt16? DomainRole;
|
public ushort? DomainRole;
|
||||||
public bool? EnableDaylightSavingsTime;
|
public bool? EnableDaylightSavingsTime;
|
||||||
public UInt16? FrontPanelResetStatus;
|
public ushort? FrontPanelResetStatus;
|
||||||
public bool? HypervisorPresent;
|
public bool? HypervisorPresent;
|
||||||
public bool? InfraredSupported;
|
public bool? InfraredSupported;
|
||||||
public string InitialLoadInfo;
|
public string InitialLoadInfo;
|
||||||
public DateTime? InstallDate;
|
public DateTime? InstallDate;
|
||||||
public UInt16? KeyboardPasswordStatus;
|
public ushort? KeyboardPasswordStatus;
|
||||||
public string LastLoadInfo;
|
public string LastLoadInfo;
|
||||||
public string Manufacturer;
|
public string Manufacturer;
|
||||||
public string Model;
|
public string Model;
|
||||||
public string Name;
|
public string Name;
|
||||||
public bool? NetworkServerModeEnabled;
|
public bool? NetworkServerModeEnabled;
|
||||||
public UInt32? NumberOfLogicalProcessors;
|
public uint? NumberOfLogicalProcessors;
|
||||||
public UInt32? NumberOfProcessors;
|
public uint? NumberOfProcessors;
|
||||||
public string[] OEMStringArray;
|
public string[] OEMStringArray;
|
||||||
public bool? PartOfDomain;
|
public bool? PartOfDomain;
|
||||||
public Int64? PauseAfterReset;
|
public Int64? PauseAfterReset;
|
||||||
public UInt16? PCSystemType;
|
public ushort? PCSystemType;
|
||||||
public UInt16? PCSystemTypeEx;
|
public ushort? PCSystemTypeEx;
|
||||||
public UInt16[] PowerManagementCapabilities;
|
public UInt16[] PowerManagementCapabilities;
|
||||||
public bool? PowerManagementSupported;
|
public bool? PowerManagementSupported;
|
||||||
public UInt16? PowerOnPasswordStatus;
|
public ushort? PowerOnPasswordStatus;
|
||||||
public UInt16? PowerState;
|
public ushort? PowerState;
|
||||||
public UInt16? PowerSupplyState;
|
public ushort? PowerSupplyState;
|
||||||
public string PrimaryOwnerContact;
|
public string PrimaryOwnerContact;
|
||||||
public string PrimaryOwnerName;
|
public string PrimaryOwnerName;
|
||||||
public UInt16? ResetCapability;
|
public ushort? ResetCapability;
|
||||||
public Int16? ResetCount;
|
public Int16? ResetCount;
|
||||||
public Int16? ResetLimit;
|
public Int16? ResetLimit;
|
||||||
public string[] Roles;
|
public string[] Roles;
|
||||||
|
@ -1485,10 +1485,10 @@ namespace Microsoft.PowerShell.Commands
|
||||||
public string SystemFamily;
|
public string SystemFamily;
|
||||||
public string SystemSKUNumber;
|
public string SystemSKUNumber;
|
||||||
public string SystemType;
|
public string SystemType;
|
||||||
public UInt16? ThermalState;
|
public ushort? ThermalState;
|
||||||
public UInt64? TotalPhysicalMemory;
|
public ulong? TotalPhysicalMemory;
|
||||||
public string UserName;
|
public string UserName;
|
||||||
public UInt16? WakeUpType;
|
public ushort? WakeUpType;
|
||||||
public string Workgroup;
|
public string Workgroup;
|
||||||
|
|
||||||
public PowerManagementCapabilities[] GetPowerManagementCapabilities()
|
public PowerManagementCapabilities[] GetPowerManagementCapabilities()
|
||||||
|
@ -1516,12 +1516,12 @@ namespace Microsoft.PowerShell.Commands
|
||||||
internal class WmiDeviceGuard
|
internal class WmiDeviceGuard
|
||||||
{
|
{
|
||||||
public UInt32[] AvailableSecurityProperties;
|
public UInt32[] AvailableSecurityProperties;
|
||||||
public UInt32? CodeIntegrityPolicyEnforcementStatus;
|
public uint? CodeIntegrityPolicyEnforcementStatus;
|
||||||
public UInt32? UsermodeCodeIntegrityPolicyEnforcementStatus;
|
public uint? UsermodeCodeIntegrityPolicyEnforcementStatus;
|
||||||
public UInt32[] RequiredSecurityProperties;
|
public UInt32[] RequiredSecurityProperties;
|
||||||
public UInt32[] SecurityServicesConfigured;
|
public UInt32[] SecurityServicesConfigured;
|
||||||
public UInt32[] SecurityServicesRunning;
|
public UInt32[] SecurityServicesRunning;
|
||||||
public UInt32? VirtualizationBasedSecurityStatus;
|
public uint? VirtualizationBasedSecurityStatus;
|
||||||
|
|
||||||
public DeviceGuard AsOutputType
|
public DeviceGuard AsOutputType
|
||||||
{
|
{
|
||||||
|
@ -1590,9 +1590,9 @@ namespace Microsoft.PowerShell.Commands
|
||||||
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Class is instantiated directly from a CIM instance")]
|
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Class is instantiated directly from a CIM instance")]
|
||||||
internal class WmiKeyboard
|
internal class WmiKeyboard
|
||||||
{
|
{
|
||||||
public UInt16? Availability;
|
public ushort? Availability;
|
||||||
public string Caption;
|
public string Caption;
|
||||||
public UInt32? ConfigManagerErrorCode;
|
public uint? ConfigManagerErrorCode;
|
||||||
public bool? ConfigManagerUserConfig;
|
public bool? ConfigManagerUserConfig;
|
||||||
public string Description;
|
public string Description;
|
||||||
public string DeviceID;
|
public string DeviceID;
|
||||||
|
@ -1600,16 +1600,16 @@ namespace Microsoft.PowerShell.Commands
|
||||||
public string ErrorDescription;
|
public string ErrorDescription;
|
||||||
public DateTime? InstallDate;
|
public DateTime? InstallDate;
|
||||||
public bool? IsLocked;
|
public bool? IsLocked;
|
||||||
public UInt32? LastErrorCode;
|
public uint? LastErrorCode;
|
||||||
public string Layout;
|
public string Layout;
|
||||||
public string Name;
|
public string Name;
|
||||||
public UInt16? NumberOfFunctionKeys;
|
public ushort? NumberOfFunctionKeys;
|
||||||
public UInt16? Password;
|
public ushort? Password;
|
||||||
public string PNPDeviceID;
|
public string PNPDeviceID;
|
||||||
public UInt16[] PowerManagementCapabilities;
|
public UInt16[] PowerManagementCapabilities;
|
||||||
public bool? PowerManagementSupported;
|
public bool? PowerManagementSupported;
|
||||||
public string Status;
|
public string Status;
|
||||||
public UInt16? StatusInfo;
|
public ushort? StatusInfo;
|
||||||
public string SystemCreationClassName;
|
public string SystemCreationClassName;
|
||||||
public string SystemName;
|
public string SystemName;
|
||||||
}
|
}
|
||||||
|
@ -1618,7 +1618,7 @@ namespace Microsoft.PowerShell.Commands
|
||||||
internal class WMiLogicalMemory
|
internal class WMiLogicalMemory
|
||||||
{
|
{
|
||||||
//TODO: fill this in!!!
|
//TODO: fill this in!!!
|
||||||
public UInt32? TotalPhysicalMemory;
|
public uint? TotalPhysicalMemory;
|
||||||
}
|
}
|
||||||
|
|
||||||
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Class is instantiated directly from a CIM instance")]
|
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Class is instantiated directly from a CIM instance")]
|
||||||
|
@ -1629,76 +1629,76 @@ namespace Microsoft.PowerShell.Commands
|
||||||
public DateTime? InstallDate;
|
public DateTime? InstallDate;
|
||||||
public string Name;
|
public string Name;
|
||||||
public string Status;
|
public string Status;
|
||||||
public UInt16? Availability;
|
public ushort? Availability;
|
||||||
public UInt32? ConfigManagerErrorCode;
|
public uint? ConfigManagerErrorCode;
|
||||||
public bool? ConfigManagerUserConfig;
|
public bool? ConfigManagerUserConfig;
|
||||||
public string DeviceID;
|
public string DeviceID;
|
||||||
public bool? ErrorCleared;
|
public bool? ErrorCleared;
|
||||||
public string ErrorDescription;
|
public string ErrorDescription;
|
||||||
public UInt32? LastErrorCode;
|
public uint? LastErrorCode;
|
||||||
public string PNPDeviceID;
|
public string PNPDeviceID;
|
||||||
public UInt16[] PowerManagementCapabilities;
|
public UInt16[] PowerManagementCapabilities;
|
||||||
public bool? PowerManagementSupported;
|
public bool? PowerManagementSupported;
|
||||||
public UInt16? StatusInfo;
|
public ushort? StatusInfo;
|
||||||
public string SystemCreationClassName;
|
public string SystemCreationClassName;
|
||||||
public string SystemName;
|
public string SystemName;
|
||||||
public UInt64? Speed;
|
public ulong? Speed;
|
||||||
public UInt64? MaxSpeed;
|
public ulong? MaxSpeed;
|
||||||
public UInt64? RequestedSpeed;
|
public ulong? RequestedSpeed;
|
||||||
public UInt16? UsageRestriction;
|
public ushort? UsageRestriction;
|
||||||
public UInt16? PortType;
|
public ushort? PortType;
|
||||||
public string OtherPortType;
|
public string OtherPortType;
|
||||||
public string OtherNetworkPortType;
|
public string OtherNetworkPortType;
|
||||||
public UInt16? PortNumber;
|
public ushort? PortNumber;
|
||||||
public UInt16? LinkTechnology;
|
public ushort? LinkTechnology;
|
||||||
public string OtherLinkTechnology;
|
public string OtherLinkTechnology;
|
||||||
public string PermanentAddress;
|
public string PermanentAddress;
|
||||||
public string[] NetworkAddresses;
|
public string[] NetworkAddresses;
|
||||||
public bool? FullDuplex;
|
public bool? FullDuplex;
|
||||||
public bool? AutoSense;
|
public bool? AutoSense;
|
||||||
public UInt64? SupportedMaximumTransmissionUnit;
|
public ulong? SupportedMaximumTransmissionUnit;
|
||||||
public UInt64? ActiveMaximumTransmissionUnit;
|
public ulong? ActiveMaximumTransmissionUnit;
|
||||||
public string InterfaceDescription;
|
public string InterfaceDescription;
|
||||||
public string InterfaceName;
|
public string InterfaceName;
|
||||||
public UInt64? NetLuid;
|
public ulong? NetLuid;
|
||||||
public string InterfaceGuid;
|
public string InterfaceGuid;
|
||||||
public UInt32? InterfaceIndex;
|
public uint? InterfaceIndex;
|
||||||
public string DeviceName;
|
public string DeviceName;
|
||||||
public UInt32? NetLuidIndex;
|
public uint? NetLuidIndex;
|
||||||
public bool? Virtual;
|
public bool? Virtual;
|
||||||
public bool? Hidden;
|
public bool? Hidden;
|
||||||
public bool? NotUserRemovable;
|
public bool? NotUserRemovable;
|
||||||
public bool? IMFilter;
|
public bool? IMFilter;
|
||||||
public UInt32? InterfaceType;
|
public uint? InterfaceType;
|
||||||
public bool? HardwareInterface;
|
public bool? HardwareInterface;
|
||||||
public bool? WdmInterface;
|
public bool? WdmInterface;
|
||||||
public bool? EndPointInterface;
|
public bool? EndPointInterface;
|
||||||
public bool? iSCSIInterface;
|
public bool? iSCSIInterface;
|
||||||
public UInt32? State;
|
public uint? State;
|
||||||
public UInt32? NdisMedium;
|
public uint? NdisMedium;
|
||||||
public UInt32? NdisPhysicalMedium;
|
public uint? NdisPhysicalMedium;
|
||||||
public UInt32? InterfaceOperationalStatus;
|
public uint? InterfaceOperationalStatus;
|
||||||
public bool? OperationalStatusDownDefaultPortNotAuthenticated;
|
public bool? OperationalStatusDownDefaultPortNotAuthenticated;
|
||||||
public bool? OperationalStatusDownMediaDisconnected;
|
public bool? OperationalStatusDownMediaDisconnected;
|
||||||
public bool? OperationalStatusDownInterfacePaused;
|
public bool? OperationalStatusDownInterfacePaused;
|
||||||
public bool? OperationalStatusDownLowPowerState;
|
public bool? OperationalStatusDownLowPowerState;
|
||||||
public UInt32? InterfaceAdminStatus;
|
public uint? InterfaceAdminStatus;
|
||||||
public UInt32? MediaConnectState;
|
public uint? MediaConnectState;
|
||||||
public UInt32? MtuSize;
|
public uint? MtuSize;
|
||||||
public UInt16? VlanID;
|
public ushort? VlanID;
|
||||||
public UInt64? TransmitLinkSpeed;
|
public ulong? TransmitLinkSpeed;
|
||||||
public UInt64? ReceiveLinkSpeed;
|
public ulong? ReceiveLinkSpeed;
|
||||||
public bool? PromiscuousMode;
|
public bool? PromiscuousMode;
|
||||||
public bool? DeviceWakeUpEnable;
|
public bool? DeviceWakeUpEnable;
|
||||||
public bool? ConnectorPresent;
|
public bool? ConnectorPresent;
|
||||||
public UInt32? MediaDuplexState;
|
public uint? MediaDuplexState;
|
||||||
public string DriverDate;
|
public string DriverDate;
|
||||||
public UInt64? DriverDateData;
|
public ulong? DriverDateData;
|
||||||
public string DriverVersionString;
|
public string DriverVersionString;
|
||||||
public string DriverName;
|
public string DriverName;
|
||||||
public string DriverDescription;
|
public string DriverDescription;
|
||||||
public UInt16? MajorDriverVersion;
|
public ushort? MajorDriverVersion;
|
||||||
public UInt16? MinorDriverVersion;
|
public ushort? MinorDriverVersion;
|
||||||
public byte? DriverMajorNdisVersion;
|
public byte? DriverMajorNdisVersion;
|
||||||
public byte? DriverMinorNdisVersion;
|
public byte? DriverMinorNdisVersion;
|
||||||
public string PnPDeviceID;
|
public string PnPDeviceID;
|
||||||
|
@ -1713,29 +1713,29 @@ namespace Microsoft.PowerShell.Commands
|
||||||
internal class WmiNetworkAdapter
|
internal class WmiNetworkAdapter
|
||||||
{
|
{
|
||||||
public string AdapterType;
|
public string AdapterType;
|
||||||
public UInt16? AdapterTypeID;
|
public ushort? AdapterTypeID;
|
||||||
public bool? AutoSense;
|
public bool? AutoSense;
|
||||||
public UInt16? Availability;
|
public ushort? Availability;
|
||||||
public string Caption;
|
public string Caption;
|
||||||
public UInt32? ConfigManagerErrorCode;
|
public uint? ConfigManagerErrorCode;
|
||||||
public bool? ConfigManagerUserConfig;
|
public bool? ConfigManagerUserConfig;
|
||||||
public string Description;
|
public string Description;
|
||||||
public string DeviceID;
|
public string DeviceID;
|
||||||
public bool? ErrorCleared;
|
public bool? ErrorCleared;
|
||||||
public string ErrorDescription;
|
public string ErrorDescription;
|
||||||
public string GUID;
|
public string GUID;
|
||||||
public UInt32? Index;
|
public uint? Index;
|
||||||
public DateTime? InstallDate;
|
public DateTime? InstallDate;
|
||||||
public bool? Installed;
|
public bool? Installed;
|
||||||
public UInt32? InterfaceIndex;
|
public uint? InterfaceIndex;
|
||||||
public UInt32? LastErrorCode;
|
public uint? LastErrorCode;
|
||||||
public string MACAddress;
|
public string MACAddress;
|
||||||
public string Manufacturer;
|
public string Manufacturer;
|
||||||
public UInt32? MaxNumberControlled;
|
public uint? MaxNumberControlled;
|
||||||
public UInt64? MaxSpeed;
|
public ulong? MaxSpeed;
|
||||||
public string Name;
|
public string Name;
|
||||||
public string NetConnectionID;
|
public string NetConnectionID;
|
||||||
public UInt16? NetConnectionStatus;
|
public ushort? NetConnectionStatus;
|
||||||
public bool? NetEnabled;
|
public bool? NetEnabled;
|
||||||
public string[] NetworkAddresses;
|
public string[] NetworkAddresses;
|
||||||
public string PermanentAddress;
|
public string PermanentAddress;
|
||||||
|
@ -1745,9 +1745,9 @@ namespace Microsoft.PowerShell.Commands
|
||||||
public bool? PowerManagementSupported;
|
public bool? PowerManagementSupported;
|
||||||
public string ProductName;
|
public string ProductName;
|
||||||
public string ServiceName;
|
public string ServiceName;
|
||||||
public UInt64? Speed;
|
public ulong? Speed;
|
||||||
public string Status;
|
public string Status;
|
||||||
public UInt16? StatusInfo;
|
public ushort? StatusInfo;
|
||||||
public string SystemCreationClassName;
|
public string SystemCreationClassName;
|
||||||
public string SystemName;
|
public string SystemName;
|
||||||
public DateTime? TimeOfLastReset;
|
public DateTime? TimeOfLastReset;
|
||||||
|
@ -1775,14 +1775,14 @@ namespace Microsoft.PowerShell.Commands
|
||||||
public string DNSHostName;
|
public string DNSHostName;
|
||||||
public string[] DNSServerSearchOrder;
|
public string[] DNSServerSearchOrder;
|
||||||
public bool? DomainDNSRegistrationEnabled;
|
public bool? DomainDNSRegistrationEnabled;
|
||||||
public UInt32? ForwardBufferMemory;
|
public uint? ForwardBufferMemory;
|
||||||
public bool? FullDNSRegistrationEnabled;
|
public bool? FullDNSRegistrationEnabled;
|
||||||
public UInt16[] GatewayCostMetric;
|
public UInt16[] GatewayCostMetric;
|
||||||
public byte? IGMPLevel;
|
public byte? IGMPLevel;
|
||||||
public UInt32? Index;
|
public uint? Index;
|
||||||
public UInt32? InterfaceIndex;
|
public uint? InterfaceIndex;
|
||||||
public string[] IPAddress;
|
public string[] IPAddress;
|
||||||
public UInt32? IPConnectionMetric;
|
public uint? IPConnectionMetric;
|
||||||
public bool? IPEnabled;
|
public bool? IPEnabled;
|
||||||
public bool? IPFilterSecurityEnabled;
|
public bool? IPFilterSecurityEnabled;
|
||||||
public bool? IPPortSecurityEnabled;
|
public bool? IPPortSecurityEnabled;
|
||||||
|
@ -1794,24 +1794,24 @@ namespace Microsoft.PowerShell.Commands
|
||||||
public string IPXAddress;
|
public string IPXAddress;
|
||||||
public bool? IPXEnabled;
|
public bool? IPXEnabled;
|
||||||
public UInt32[] IPXFrameType;
|
public UInt32[] IPXFrameType;
|
||||||
public UInt32? IPXMediaType;
|
public uint? IPXMediaType;
|
||||||
public string[] IPXNetworkNumber;
|
public string[] IPXNetworkNumber;
|
||||||
public string IPXVirtualNetNumber;
|
public string IPXVirtualNetNumber;
|
||||||
public UInt32? KeepAliveInterval;
|
public uint? KeepAliveInterval;
|
||||||
public UInt32? KeepAliveTime;
|
public uint? KeepAliveTime;
|
||||||
public string MACAddress;
|
public string MACAddress;
|
||||||
public UInt32? MTU;
|
public uint? MTU;
|
||||||
public UInt32? NumForwardPackets;
|
public uint? NumForwardPackets;
|
||||||
public bool? PMTUBHDetectEnabled;
|
public bool? PMTUBHDetectEnabled;
|
||||||
public bool? PMTUDiscoveryEnabled;
|
public bool? PMTUDiscoveryEnabled;
|
||||||
public string ServiceName;
|
public string ServiceName;
|
||||||
public string SettingID;
|
public string SettingID;
|
||||||
public UInt32? TcpipNetbiosOptions;
|
public uint? TcpipNetbiosOptions;
|
||||||
public UInt32? TcpMaxConnectRetransmissions;
|
public uint? TcpMaxConnectRetransmissions;
|
||||||
public UInt32? TcpMaxDataRetransmissions;
|
public uint? TcpMaxDataRetransmissions;
|
||||||
public UInt32? TcpNumConnections;
|
public uint? TcpNumConnections;
|
||||||
public bool? TcpUseRFC1122UrgentPointer;
|
public bool? TcpUseRFC1122UrgentPointer;
|
||||||
public UInt16? TcpWindowSize;
|
public ushort? TcpWindowSize;
|
||||||
public bool? WINSEnableLMHostsLookup;
|
public bool? WINSEnableLMHostsLookup;
|
||||||
public string WINSHostLookupFile;
|
public string WINSHostLookupFile;
|
||||||
public string WINSPrimaryServer;
|
public string WINSPrimaryServer;
|
||||||
|
@ -1839,47 +1839,47 @@ namespace Microsoft.PowerShell.Commands
|
||||||
public bool? Debug;
|
public bool? Debug;
|
||||||
public string Description;
|
public string Description;
|
||||||
public bool? Distributed;
|
public bool? Distributed;
|
||||||
public UInt32? EncryptionLevel;
|
public uint? EncryptionLevel;
|
||||||
public byte? ForegroundApplicationBoost;
|
public byte? ForegroundApplicationBoost;
|
||||||
public UInt64? FreePhysicalMemory;
|
public ulong? FreePhysicalMemory;
|
||||||
public UInt64? FreeSpaceInPagingFiles;
|
public ulong? FreeSpaceInPagingFiles;
|
||||||
public UInt64? FreeVirtualMemory;
|
public ulong? FreeVirtualMemory;
|
||||||
public DateTime? InstallDate;
|
public DateTime? InstallDate;
|
||||||
public DateTime? LastBootUpTime;
|
public DateTime? LastBootUpTime;
|
||||||
public DateTime? LocalDateTime;
|
public DateTime? LocalDateTime;
|
||||||
public string Locale;
|
public string Locale;
|
||||||
public string Manufacturer;
|
public string Manufacturer;
|
||||||
public UInt32? MaxNumberOfProcesses;
|
public uint? MaxNumberOfProcesses;
|
||||||
public UInt64? MaxProcessMemorySize;
|
public ulong? MaxProcessMemorySize;
|
||||||
public string[] MUILanguages;
|
public string[] MUILanguages;
|
||||||
public string Name;
|
public string Name;
|
||||||
public UInt32? NumberOfLicensedUsers;
|
public uint? NumberOfLicensedUsers;
|
||||||
public UInt32? NumberOfProcesses;
|
public uint? NumberOfProcesses;
|
||||||
public UInt32? NumberOfUsers;
|
public uint? NumberOfUsers;
|
||||||
public UInt32? OperatingSystemSKU;
|
public uint? OperatingSystemSKU;
|
||||||
public string Organization;
|
public string Organization;
|
||||||
public string OSArchitecture;
|
public string OSArchitecture;
|
||||||
public UInt32? OSLanguage;
|
public uint? OSLanguage;
|
||||||
public UInt32? OSProductSuite;
|
public uint? OSProductSuite;
|
||||||
public UInt16? OSType;
|
public ushort? OSType;
|
||||||
public string OtherTypeDescription;
|
public string OtherTypeDescription;
|
||||||
public bool? PAEEnabled;
|
public bool? PAEEnabled;
|
||||||
public bool? PortableOperatingSystem;
|
public bool? PortableOperatingSystem;
|
||||||
public bool? Primary;
|
public bool? Primary;
|
||||||
public UInt32? ProductType;
|
public uint? ProductType;
|
||||||
public string RegisteredUser;
|
public string RegisteredUser;
|
||||||
public string SerialNumber;
|
public string SerialNumber;
|
||||||
public UInt16? ServicePackMajorVersion;
|
public ushort? ServicePackMajorVersion;
|
||||||
public UInt16? ServicePackMinorVersion;
|
public ushort? ServicePackMinorVersion;
|
||||||
public UInt64? SizeStoredInPagingFiles;
|
public ulong? SizeStoredInPagingFiles;
|
||||||
public string Status;
|
public string Status;
|
||||||
public UInt32? SuiteMask;
|
public uint? SuiteMask;
|
||||||
public string SystemDevice;
|
public string SystemDevice;
|
||||||
public string SystemDirectory;
|
public string SystemDirectory;
|
||||||
public string SystemDrive;
|
public string SystemDrive;
|
||||||
public UInt64? TotalSwapSpaceSize;
|
public ulong? TotalSwapSpaceSize;
|
||||||
public UInt64? TotalVirtualMemorySize;
|
public ulong? TotalVirtualMemorySize;
|
||||||
public UInt64? TotalVisibleMemorySize;
|
public ulong? TotalVisibleMemorySize;
|
||||||
public string Version;
|
public string Version;
|
||||||
public string WindowsDirectory;
|
public string WindowsDirectory;
|
||||||
#endregion Fields
|
#endregion Fields
|
||||||
|
@ -1914,7 +1914,7 @@ namespace Microsoft.PowerShell.Commands
|
||||||
#endregion Public Methods
|
#endregion Public Methods
|
||||||
|
|
||||||
#region Private Methods
|
#region Private Methods
|
||||||
private OSProductSuite[] MakeProductSuites(UInt32? suiteMask)
|
private OSProductSuite[] MakeProductSuites(uint? suiteMask)
|
||||||
{
|
{
|
||||||
if (suiteMask == null)
|
if (suiteMask == null)
|
||||||
return null;
|
return null;
|
||||||
|
@ -1934,13 +1934,13 @@ namespace Microsoft.PowerShell.Commands
|
||||||
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Class is instantiated directly from a CIM instance")]
|
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Class is instantiated directly from a CIM instance")]
|
||||||
internal class WmiPageFileUsage
|
internal class WmiPageFileUsage
|
||||||
{
|
{
|
||||||
public UInt32? AllocatedBaseSize;
|
public uint? AllocatedBaseSize;
|
||||||
public string Caption;
|
public string Caption;
|
||||||
public UInt32? CurrentUsage;
|
public uint? CurrentUsage;
|
||||||
public string Description;
|
public string Description;
|
||||||
public DateTime? InstallDate;
|
public DateTime? InstallDate;
|
||||||
public string Name;
|
public string Name;
|
||||||
public UInt32? PeakUsage;
|
public uint? PeakUsage;
|
||||||
public string Status;
|
public string Status;
|
||||||
public bool? TempPageFile;
|
public bool? TempPageFile;
|
||||||
}
|
}
|
||||||
|
@ -1948,61 +1948,61 @@ namespace Microsoft.PowerShell.Commands
|
||||||
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Class is instantiated directly from a CIM instance")]
|
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Class is instantiated directly from a CIM instance")]
|
||||||
internal class WmiProcessor
|
internal class WmiProcessor
|
||||||
{
|
{
|
||||||
public UInt16? AddressWidth;
|
public ushort? AddressWidth;
|
||||||
public UInt16? Architecture;
|
public ushort? Architecture;
|
||||||
public string AssetTag;
|
public string AssetTag;
|
||||||
public UInt16? Availability;
|
public ushort? Availability;
|
||||||
public string Caption;
|
public string Caption;
|
||||||
public UInt32? Characteristics;
|
public uint? Characteristics;
|
||||||
public UInt32? ConfigManagerErrorCode;
|
public uint? ConfigManagerErrorCode;
|
||||||
public bool? ConfigManagerUserConfig;
|
public bool? ConfigManagerUserConfig;
|
||||||
public UInt16? CpuStatus;
|
public ushort? CpuStatus;
|
||||||
public UInt32? CurrentClockSpeed;
|
public uint? CurrentClockSpeed;
|
||||||
public UInt16? CurrentVoltage;
|
public ushort? CurrentVoltage;
|
||||||
public UInt16? DataWidth;
|
public ushort? DataWidth;
|
||||||
public string Description;
|
public string Description;
|
||||||
public string DeviceID;
|
public string DeviceID;
|
||||||
public bool? ErrorCleared;
|
public bool? ErrorCleared;
|
||||||
public string ErrorDescription;
|
public string ErrorDescription;
|
||||||
public UInt32? ExtClock;
|
public uint? ExtClock;
|
||||||
public UInt16? Family;
|
public ushort? Family;
|
||||||
public DateTime? InstallDate;
|
public DateTime? InstallDate;
|
||||||
public UInt32? L2CacheSize;
|
public uint? L2CacheSize;
|
||||||
public UInt32? L2CacheSpeed;
|
public uint? L2CacheSpeed;
|
||||||
public UInt32? L3CacheSize;
|
public uint? L3CacheSize;
|
||||||
public UInt32? L3CacheSpeed;
|
public uint? L3CacheSpeed;
|
||||||
public UInt32? LastErrorCode;
|
public uint? LastErrorCode;
|
||||||
public UInt16? Level;
|
public ushort? Level;
|
||||||
public UInt16? LoadPercentage;
|
public ushort? LoadPercentage;
|
||||||
public string Manufacturer;
|
public string Manufacturer;
|
||||||
public UInt32? MaxClockSpeed;
|
public uint? MaxClockSpeed;
|
||||||
public string Name;
|
public string Name;
|
||||||
public UInt32? NumberOfCores;
|
public uint? NumberOfCores;
|
||||||
public UInt32? NumberOfEnabledCore;
|
public uint? NumberOfEnabledCore;
|
||||||
public UInt32? NumberOfLogicalProcessors;
|
public uint? NumberOfLogicalProcessors;
|
||||||
public string OtherFamilyDescription;
|
public string OtherFamilyDescription;
|
||||||
public string PartNumber;
|
public string PartNumber;
|
||||||
public string PNPDeviceID;
|
public string PNPDeviceID;
|
||||||
public UInt16[] PowerManagementCapabilities;
|
public UInt16[] PowerManagementCapabilities;
|
||||||
public bool? PowerManagementSupported;
|
public bool? PowerManagementSupported;
|
||||||
public string ProcessorId;
|
public string ProcessorId;
|
||||||
public UInt16? ProcessorType;
|
public ushort? ProcessorType;
|
||||||
public UInt16? Revision;
|
public ushort? Revision;
|
||||||
public string Role;
|
public string Role;
|
||||||
public bool? SecondLevelAddressTranslationExtensions;
|
public bool? SecondLevelAddressTranslationExtensions;
|
||||||
public string SerialNumber;
|
public string SerialNumber;
|
||||||
public string SocketDesignation;
|
public string SocketDesignation;
|
||||||
public string Status;
|
public string Status;
|
||||||
public UInt16? StatusInfo;
|
public ushort? StatusInfo;
|
||||||
public string Stepping;
|
public string Stepping;
|
||||||
public string SystemName;
|
public string SystemName;
|
||||||
public UInt32? ThreadCount;
|
public uint? ThreadCount;
|
||||||
public string UniqueId;
|
public string UniqueId;
|
||||||
public UInt16? UpgradeMethod;
|
public ushort? UpgradeMethod;
|
||||||
public string Version;
|
public string Version;
|
||||||
public bool? VirtualizationFirmwareEnabled;
|
public bool? VirtualizationFirmwareEnabled;
|
||||||
public bool? VMMonitorModeExtensions;
|
public bool? VMMonitorModeExtensions;
|
||||||
public UInt32? VoltageCaps;
|
public uint? VoltageCaps;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma warning restore 649
|
#pragma warning restore 649
|
||||||
|
@ -2168,26 +2168,26 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Address width of the processor
|
/// Address width of the processor
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt16? AddressWidth { get; internal set; }
|
public ushort? AddressWidth { get; internal set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Data width of the processor
|
/// Data width of the processor
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt16? DataWidth { get; internal set; }
|
public ushort? DataWidth { get; internal set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Maximum speed of the processor, in MHz
|
/// Maximum speed of the processor, in MHz
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt32? MaxClockSpeed { get; internal set; }
|
public uint? MaxClockSpeed { get; internal set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Current speed of the processor, in MHz
|
/// Current speed of the processor, in MHz
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt32? CurrentClockSpeed { get; internal set; }
|
public uint? CurrentClockSpeed { get; internal set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number of cores for the current instance of the processor.
|
/// Number of cores for the current instance of the processor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// A core is a physical processor on the integrated circuit
|
/// A core is a physical processor on the integrated circuit
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public UInt32? NumberOfCores { get; internal set; }
|
public uint? NumberOfCores { get; internal set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number of logical processors for the current instance of the processor.
|
/// Number of logical processors for the current instance of the processor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -2195,7 +2195,7 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// For processors capable of hyperthreading, this value includes only the
|
/// For processors capable of hyperthreading, this value includes only the
|
||||||
/// processors which have hyperthreading enabled
|
/// processors which have hyperthreading enabled
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public UInt32? NumberOfLogicalProcessors { get; internal set; }
|
public uint? NumberOfLogicalProcessors { get; internal set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Processor information that describes the processor features.
|
/// Processor information that describes the processor features.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -2374,7 +2374,7 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// Number of languages available for installation on this system.
|
/// Number of languages available for installation on this system.
|
||||||
/// Language may determine properties such as the need for Unicode and bidirectional text
|
/// Language may determine properties such as the need for Unicode and bidirectional text
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt16? BiosInstallableLanguages { get; internal set; }
|
public ushort? BiosInstallableLanguages { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Date and time the object was installed.
|
/// Date and time the object was installed.
|
||||||
|
@ -2438,12 +2438,12 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// SMBIOS major version number. This property is null if SMBIOS is not found
|
/// SMBIOS major version number. This property is null if SMBIOS is not found
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt16? BiosSMBIOSMajorVersion { get; internal set; }
|
public ushort? BiosSMBIOSMajorVersion { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// SMBIOS minor version number. This property is null if SMBIOS is not found
|
/// SMBIOS minor version number. This property is null if SMBIOS is not found
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt16? BiosSMBIOSMinorVersion { get; internal set; }
|
public ushort? BiosSMBIOSMinorVersion { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// If true, the SMBIOS is available on this computer system
|
/// If true, the SMBIOS is available on this computer system
|
||||||
|
@ -2463,17 +2463,17 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Major elease of the System BIOS
|
/// Major elease of the System BIOS
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt16? BiosSystemBiosMajorVersion { get; internal set; }
|
public ushort? BiosSystemBiosMajorVersion { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Minor release of the System BIOS
|
/// Minor release of the System BIOS
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt16? BiosSystemBiosMinorVersion { get; internal set; }
|
public ushort? BiosSystemBiosMinorVersion { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Target operating system
|
/// Target operating system
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt16? BiosTargetOperatingSystem { get; internal set; }
|
public ushort? BiosTargetOperatingSystem { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Version of the BIOS.
|
/// Version of the BIOS.
|
||||||
|
@ -2664,7 +2664,7 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number of logical processors available on the computer
|
/// Number of logical processors available on the computer
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt32? CsNumberOfLogicalProcessors { get; internal set; }
|
public uint? CsNumberOfLogicalProcessors { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number of physical processors currently available on a system.
|
/// Number of physical processors currently available on a system.
|
||||||
|
@ -2676,7 +2676,7 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// then the value of CsNumberOfProcessors is 2 and CsNumberOfLogicalProcessors
|
/// then the value of CsNumberOfProcessors is 2 and CsNumberOfLogicalProcessors
|
||||||
/// is 4. The processors may be multicore or they may be hyperthreading processors
|
/// is 4. The processors may be multicore or they may be hyperthreading processors
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public UInt32? CsNumberOfProcessors { get; internal set; }
|
public uint? CsNumberOfProcessors { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Array of <see cref="Processor"/> objects describing each processor on the system.
|
/// Array of <see cref="Processor"/> objects describing each processor on the system.
|
||||||
|
@ -2831,13 +2831,13 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// return an accurate value for the physical memory. For example,
|
/// return an accurate value for the physical memory. For example,
|
||||||
/// it is not accurate if the BIOS is using some of the physical memory
|
/// it is not accurate if the BIOS is using some of the physical memory
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public UInt64? CsTotalPhysicalMemory { get; internal set; }
|
public ulong? CsTotalPhysicalMemory { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Size of physically installed memory, as reported by the Windows API
|
/// Size of physically installed memory, as reported by the Windows API
|
||||||
/// function GetPhysicallyInstalledSystemMemory
|
/// function GetPhysicallyInstalledSystemMemory
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt64? CsPhysicallyInstalledMemory { get; internal set; }
|
public ulong? CsPhysicallyInstalledMemory { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Name of a user that is logged on currently.
|
/// Name of a user that is logged on currently.
|
||||||
|
@ -3038,27 +3038,27 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// physical memory, but what is reported to the operating system
|
/// physical memory, but what is reported to the operating system
|
||||||
/// as available to it.
|
/// as available to it.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public UInt64? OsTotalVisibleMemorySize { get; internal set; }
|
public ulong? OsTotalVisibleMemorySize { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number, in kilobytes, of physical memory currently unused and available
|
/// Number, in kilobytes, of physical memory currently unused and available
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt64? OsFreePhysicalMemory { get; internal set; }
|
public ulong? OsFreePhysicalMemory { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number, in kilobytes, of virtual memory
|
/// Number, in kilobytes, of virtual memory
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt64? OsTotalVirtualMemorySize { get; internal set; }
|
public ulong? OsTotalVirtualMemorySize { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number, in kilobytes, of virtual memory currently unused and available
|
/// Number, in kilobytes, of virtual memory currently unused and available
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt64? OsFreeVirtualMemory { get; internal set; }
|
public ulong? OsFreeVirtualMemory { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number, in kilobytes, of virtual memory currently in use
|
/// Number, in kilobytes, of virtual memory currently in use
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt64? OsInUseVirtualMemory { get; internal set; }
|
public ulong? OsInUseVirtualMemory { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Total swap space in kilobytes
|
/// Total swap space in kilobytes
|
||||||
|
@ -3070,7 +3070,7 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// can be swapped out when the free page list falls and remains below
|
/// can be swapped out when the free page list falls and remains below
|
||||||
/// a specified amount
|
/// a specified amount
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public UInt64? OsTotalSwapSpaceSize { get; internal set; }
|
public ulong? OsTotalSwapSpaceSize { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Total number of kilobytes that can be stored in the operating system
|
/// Total number of kilobytes that can be stored in the operating system
|
||||||
|
@ -3078,13 +3078,13 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// Be aware that this number does not represent the actual physical
|
/// Be aware that this number does not represent the actual physical
|
||||||
/// size of the paging file on disk
|
/// size of the paging file on disk
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt64? OsSizeStoredInPagingFiles { get; internal set; }
|
public ulong? OsSizeStoredInPagingFiles { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number, in kilobytes, that can be mapped into the operating system
|
/// Number, in kilobytes, that can be mapped into the operating system
|
||||||
/// paging files without causing any other pages to be swapped out
|
/// paging files without causing any other pages to be swapped out
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt64? OsFreeSpaceInPagingFiles { get; internal set; }
|
public ulong? OsFreeSpaceInPagingFiles { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Array of fiel paths to the operating system's paging files
|
/// Array of fiel paths to the operating system's paging files
|
||||||
|
@ -3111,12 +3111,12 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Maximum number of process contexts the operating system can support
|
/// Maximum number of process contexts the operating system can support
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt32? OsMaxNumberOfProcesses { get; internal set; }
|
public uint? OsMaxNumberOfProcesses { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Maximum number, in kilobytes, of memory that can be allocated to a process
|
/// Maximum number, in kilobytes, of memory that can be allocated to a process
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt64? OsMaxProcessMemorySize { get; internal set; }
|
public ulong? OsMaxProcessMemorySize { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Array of Multilingual User Interface Pack (MUI Pack) languages installed
|
/// Array of Multilingual User Interface Pack (MUI Pack) languages installed
|
||||||
|
@ -3128,18 +3128,18 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number of user licenses for the operating system.
|
/// Number of user licenses for the operating system.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt32? OsNumberOfLicensedUsers { get; internal set; }
|
public uint? OsNumberOfLicensedUsers { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number of process contexts currently loaded or running on the operating system
|
/// Number of process contexts currently loaded or running on the operating system
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt32? OsNumberOfProcesses { get; internal set; }
|
public uint? OsNumberOfProcesses { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number of user sessions for which the operating system is storing
|
/// Number of user sessions for which the operating system is storing
|
||||||
/// state information currently
|
/// state information currently
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt32? OsNumberOfUsers { get; internal set; }
|
public uint? OsNumberOfUsers { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Company name for the registered user of the operating system
|
/// Company name for the registered user of the operating system
|
||||||
|
@ -3204,12 +3204,12 @@ namespace Microsoft.PowerShell.Commands
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Major version of the service pack installed on the computer system
|
/// Major version of the service pack installed on the computer system
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt16? OsServicePackMajorVersion { get; internal set; }
|
public ushort? OsServicePackMajorVersion { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Minor version of the service pack installed on the computer system
|
/// Minor version of the service pack installed on the computer system
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt16? OsServicePackMinorVersion { get; internal set; }
|
public ushort? OsServicePackMinorVersion { get; internal set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Current status
|
/// Current status
|
||||||
|
|
Loading…
Reference in a new issue