InputBlockB Parameter (Protect-Data Cmdlet)

A block of data to encrypt.


Protect-Data -InputBlockB byte[]


This setting specifies a block of unencrypted data to encrypt. This may be used as an alternative to InputMessage or InputFile and allows encrypting block by block. This parameter accepts a byte array. The encrypted block is provided in the OutputBlock object.

Input and Output Parameters

The cmdlet will determine the source and destination of the input and output based on which parameters are set.

The order in which the input parameters are checked is as follows:

When a valid source is found the search stops. The output is written to OutputFile is specified, otherwise it is returned in the OutputMessage object.

Default Value


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