# Get-ParsedString.ps1 # MSDN Sample recoded using PowerShell # See: http://msdn.microsoft.com/en-us/library/system.globalization.numberstyles(VS.85).aspx # 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.NumberStyles]::HexNumber
Read More...
Read the complete post at http://pshscripts.blogspot.com/2008/12/get-parsedstringps1.html
Posted
Dec 22 2008, 06:44 AM
by
PowerShell Scripts