Page History
...
Sets credentials that are used to authenticate with requests to the JS7 Web Services.
SYNTAX
Set-JS7Credentials [-UseDefaultCredentials] [-AskForCredentials] [[-Credentials] <PSCredential>] [-ProxyUseDefaultCredentials] [-ProxyAskForCredentials] [[-ProxyCredentials] <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]
...
-------------------------- EXAMPLE 3 --------------------------
PS > $account = 'John'
$password = ('Doe' | ConvertTo-SecureString -AsPlainText -Force)
$credentials = New-Object -typename System.Management.Automation.PSCredential -ArgumentList $account, $password
Set-JS7Credentials -Credentials $credentials
...
-------------------------- EXAMPLE 4 --------------------------
PS > $account = 'John'
$password = Read-Host 'Enter password for John: ' -AsSecureString
$credentials = New-Object -typename System.Management.Automation.PSCredential -ArgumentList $account, $password
Set-JS7Credentials -Credentials $credentials
...