UseHex Parameter (Send-SMS Cmdlet)

Specifies if Message is hex encoded.


Send-SMS -UseHex SwitchParameter


Setting the UseHex flag causes the cmdlet to treat Message as if it is hex encoded. This can be useful when sending non-ASCII characters. For example:

Send-SMS -server $server -user $user -password $password -recipient $recipients -message $hexMessage -config("DataCoding=8") -useHex

Note that when the UseHex flag is set, DataCoding must be set to 8, and the Message should be the UTF-16 hex encoded.

Default Value


Copyright (c) 2021 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 7877]