Get-ComputerInfo - fix typo in property name (#3167)

This commit is contained in:
Ilya 2017-02-18 01:10:51 +04:00 committed by Dongbo Wang
parent 5a8fa57278
commit 88c8be75f2
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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}