Get-ComputerInfo - fix typo in property name (#3167)
This commit is contained in:
parent
5a8fa57278
commit
88c8be75f2
@ -743,7 +743,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
output.BiosOtherTargetOS = bios.OtherTargetOS;
|
||||
output.BiosPrimaryBIOS = bios.PrimaryBIOS;
|
||||
output.BiosReleaseDate = bios.ReleaseDate;
|
||||
output.BiosSeralNumber = bios.SerialNumber;
|
||||
output.BiosSerialNumber = bios.SerialNumber;
|
||||
output.BiosSMBIOSBIOSVersion = bios.SMBIOSBIOSVersion;
|
||||
output.BiosSMBIOSMajorVersion = bios.SMBIOSMajorVersion;
|
||||
output.BiosSMBIOSMinorVersion = bios.SMBIOSMinorVersion;
|
||||
@ -2363,7 +2363,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// <summary>
|
||||
/// Assigned serial number of the BIOS
|
||||
/// </summary>
|
||||
public string BiosSeralNumber { get; internal set; }
|
||||
public string BiosSerialNumber { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// BIOS version as reported by SMBIOS
|
||||
|
@ -47,7 +47,7 @@ function Get-PropertyNamesForComputerInfoTest
|
||||
"BiosOtherTargetOS",
|
||||
"BiosPrimaryBIOS",
|
||||
"BiosReleaseDate",
|
||||
"BiosSeralNumber",
|
||||
"BiosSerialNumber",
|
||||
"BiosSMBIOSBIOSVersion",
|
||||
"BiosSMBIOSPresent",
|
||||
"BiosSMBIOSMajorVersion",
|
||||
@ -794,7 +794,7 @@ public static extern int LCIDToLocaleName(uint localeID, System.Text.StringBuild
|
||||
"BiosOtherTargetOS" {return Get-CimClassPropVal Win32_bios OtherTargetOS}
|
||||
"BiosPrimaryBIOS" {return Get-CimClassPropVal Win32_bios PrimaryBIOS}
|
||||
"BiosReleaseDate" {return Get-CimClassPropVal Win32_bios ReleaseDate}
|
||||
"BiosSeralNumber" {return Get-CimClassPropVal Win32_bios SerialNumber}
|
||||
"BiosSerialNumber" {return Get-CimClassPropVal Win32_bios SerialNumber}
|
||||
"BiosSMBIOSBIOSVersion" {return Get-CimClassPropVal Win32_bios SMBIOSBIOSVersion}
|
||||
"BiosSMBIOSPresent" {return Get-CimClassPropVal Win32_bios SMBIOSPresent}
|
||||
"BiosSMBIOSMajorVersion" {return Get-CimClassPropVal Win32_bios SMBIOSMajorVersion}
|
||||
|
Loading…
Reference in New Issue
Block a user