CmdID / PowerShell / Cmdlets / Set
Set-IscsiChapSecret
Sets a CHAP secret key for use with iSCSI initiator connections. Windows Server PowerShell reference
From the Windows Server PowerShell reference 4 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-ChapSecretSpecifies the CHAP secret key for use with the iSCSI initiator connections.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.