Display: Cloud | List
Most Popular Tags
Results (3 total) All > powershell (x) > system.globalization.numberstyles (x)
Parse Sample using PowerShell (Int32.Parse Method (System))
<#.SYNOPSIS Formats a number using .NET - an MSDN Sample recoded in PowerShell.DESCRIPTION This script createa a number and formats it in Hex. Then a negative number is created and formatted several ways. Uses int32.parse method to do the parsing..NOTES File Name : Get-ParsedString Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell V2 CTP3.LINK Posed t
Last modified by Thomas Lee on 4/21/2009 2:25:29 PM
Parse string using PowerShell (NumberStyles Enumeration (System.Globalization))
# Get-ParsedString2.ps1 # MSDN Sample recoded using PowerShell # See: http://msdn.microsoft.com/en-us/library/system.globalization.numberstyles(VS.85).aspx # This script usesd the .value__ to obtain the value of each enum # Thomas Lee - tfl@psp.co.uk # Parse the string as a hex value and display the value as a decimal. $num = "A" $val = [system.int32]::Parse($num, [System.Globalization.Numb
Last modified by Thomas Lee on 5/21/2009 10:17:31 AM
Parsing Sample using PowerShell (NumberStyles Enumeration (System.Globalization))
<#.SYNOPSIS Formats a number using .NET - an MSDN Sample recoded in PowerShell.DESCRIPTION This script createa a number and formats it in Hex. Then a negative number is created and formatted several ways. Uses int32.parse method to do the parsing..NOTES File Name : Get-ParsedString Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell V2 CTP3.LINK Posted to:http://p
Last modified by Thomas Lee on 1/2/2009 5:03:15 PM
Page view tracker