Created
October 5, 2015 06:52
-
-
Save devigned/fce9b337e18dbca4f00a to your computer and use it in GitHub Desktop.
PowerShell and System.Version Examples.
This file contains 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
# Not all of these things are the like the others... | |
# The last version of this usage will leave you in sadness if you don't catch it. | |
New-Object System.Version("0.1.1") | |
# Major Minor Build Revision | |
# ----- ----- ----- -------- | |
# 0 1 1 -1 | |
New-Object System.Version(0, 1, 1) | |
# Major Minor Build Revision | |
# ----- ----- ----- -------- | |
# 0 1 1 -1 | |
New-Object System.Version(0.1.1) | |
# Major Minor Build Revision | |
# ----- ----- ----- -------- | |
# 0 0 -1 -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment