convertTo-secureString
converts plain text or encrypted strings to a «secure string» (which is data that is to be removed from memeory as soon as it is no longer needed). -asPlainText
, the cmdLet also requires that the parameter -force
is specified. -force
: Confirms that you understand the implications of using the AsPlainText parameter and still want to use it.