header image

Archive for May, 2015

WMF 5.0 April 2015 preview – – creating guid

Posted by: | May 5, 2015 Comments Off on WMF 5.0 April 2015 preview – – creating guid |

Creating a GUID has always been possible with PowerShell – you just had to drop into .NET   £> [System.Guid]::NewGuid() Guid —- 46c130ca-39ff-463c-b7fb-ed728a1c134f   With the latest WMF 5.0 preview life gets easier: £> Get-Command New-Guid -Syntax New-Guid [<CommonParameters>]   £> New-Guid Guid —- 112866a5-1662-4265-b851-f9086607bcb2   The New-Guid cmdlet happily creates a GUID for you […]

under: PowerShell v5, WMFv5

WMF 5.0 April 2015 preview – – Format-Hex

Posted by: | May 1, 2015 Comments Off on WMF 5.0 April 2015 preview – – Format-Hex |

Have you ever needed to generate a hex representation of a string or binary data? Say you have a string – ‘PowerShell Rocks’   And you want to go the hex representation which is 50 6f 77 65 72 53 68 65 6c 6c 20 52 6f 63 6b 73   You would have to […]

under: PowerShell v5

« Newer Posts

Categories