# encoding: ascii
# api: powershell
# title: Code Correction
# description: Correction to line 51. Each octet pair should be two characters. Original code omits leading zeroes in an octet pair. The format expressions should be {”{0:x2}”  and not {”{0:x}”.
# version: 0.1
# author: Michael Liben
# license: CC0
# x-poshcode-id: 6441
# x-archived: 2016-07-04T13:25:21
# x-published: 2016-07-02T14:56:00
#
#

        $escapedGuid =  "\" + ((([GUID]$guid).ToByteArray() |% {"{0:x2}" -f $_}) -join '\')
