FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Get-ComputerInfo - fix typo in property name by iSazonov · Pull Request #3167 · PowerShell/PowerShell · GitHub

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

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
iSazonov:BiosSeralNumber
Feb 17, 2017
Merged

Get-ComputerInfo - fix typo in property name#3167
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
iSazonov:BiosSeralNumber

Conversation

Copy link
Copy Markdown
Collaborator

Close #3166

Copy link
Copy Markdown
Contributor

You're so fast, Ilya (@iSazonov)! I'm just waking up, you're already fixing 4 hour old issues. 😄

Copy link
Copy Markdown
Collaborator Author

Joey Aiello (@joeyaiello) I still thought for a long time-to be or not to be :-)

Dongbo Wang (daxian-dbw) merged commit 88c8be7 into PowerShell:master Feb 17, 2017
Jason Shirk (lzybkr) added the Breaking-Change breaking change that may affect users label Feb 19, 2017

Copy link
Copy Markdown
Contributor

I added the breaking change label because this is a public api - scripts may be using that property name.

If we're concerned about the break - then would could add an alias.

Ilya (iSazonov) deleted the BiosSeralNumber branch February 20, 2017 03:06

Copy link
Copy Markdown
Collaborator Author

Jason Shirk (@lzybkr) I dont see the typo in PS 5.1 (Win 10 build 15031)

Copy link
Copy Markdown
Contributor

I do:

#13 PS> [Microsoft.PowerShell.Commands.ComputerInfo].GetProperty('BiosSeralNumber')

MemberType       : Property
Name             : BiosSeralNumber
DeclaringType    : Microsoft.PowerShell.Commands.ComputerInfo
ReflectedType    : Microsoft.PowerShell.Commands.ComputerInfo
MetadataToken    : 385876785
Module           : Microsoft.PowerShell.Commands.Management.dll
PropertyType     : System.String
Attributes       : None
CanRead          : True
CanWrite         : True
GetMethod        : System.String get_BiosSeralNumber()
SetMethod        : Void set_BiosSeralNumber(System.String)
IsSpecialName    : False
CustomAttributes : {}

#14 PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14393.693
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.693
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Copy link
Copy Markdown
Collaborator Author

Sorry. I confirm.

Ilya (iSazonov) removed the Review - Needed The PR is being reviewed label Mar 27, 2017

Copy link
Copy Markdown

This seems to still be a problem on 5.1 (which I have across a group of computers. I don't see it in PS 7.0.3 which I run locally / develop in) .. which version was this fixed in?
I think what I mean to ask is, is a fix for this available via Windows Update for WMF 5.1?

Copy link
Copy Markdown
Collaborator Author

ncook-hxgn Windows PowerShell is frozen - no functional updates, only security ones. All new features are in only in PowerShell 7+.

Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking-Change breaking change that may affect users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get-ComputerInfo Typo - BiosSeralNumber

7 participants


Back | FazBrowse Home | New Git URL