| external help file | ConnectWiser-help.xml |
|---|---|
| Module Name | ConnectWiser |
| online version | |
| schema | 2.0.0 |
Initializes the connection parameters for the module.
Connect-CWC [-Server] <String> [-Credentials] <PSCredential> [-Force] [<CommonParameters>]
Initializes the connection parameters used by other commands in the module.
PS C:\> Connect-CWC -Server 'contoso.screenconnect.com' -Credentials $Credentials -ForceSets connection information used by the module and overwrites any previously set information.
Credentials used to authenticate with the control server.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseUsed to overwrite any information already loaded in the session.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseUsed to make it so that the OTP code will be required for each new session
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseWhen you already know what your OtpCode will be prior to login (auth token, yubikey, etc.), you can make it part of invocation rather than an interactive element
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe URL to your control server.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.