diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs index ce199791cd..99f52ac36c 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs @@ -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 /// /// Assigned serial number of the BIOS /// - public string BiosSeralNumber { get; internal set; } + public string BiosSerialNumber { get; internal set; } /// /// BIOS version as reported by SMBIOS diff --git a/test/powershell/Modules/Microsoft.PowerShell.Management/Get-ComputerInfo.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Management/Get-ComputerInfo.Tests.ps1 index 2a0ee9a361..73f0073768 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Management/Get-ComputerInfo.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Management/Get-ComputerInfo.Tests.ps1 @@ -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}