Convert a string of hexadecimal digits into a byte array.
ConvertFrom-Hex.ps1 [-InputObject] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
ConvertFrom-Hex.ps1 'EF BB BF'
239 187 191
[text.encoding]::UTF8.GetString((ConvertFrom-Hex.ps1 0x25504446))
'{0:X2} {1:X2} {2:X2}' -f (ConvertFrom-Hex.ps1 c0ffee)
C0 FF EE
A string of hex digits.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://docs.microsoft.com/dotnet/api/system.array.reverse#System_Array_Reverse_System_Array_