Skip to content

Latest commit

 

History

History
84 lines (76 loc) · 4.47 KB

File metadata and controls

84 lines (76 loc) · 4.47 KB

Remove-CWCSession

SYNOPSIS

Will end a given session.

SYNTAX

Remove-CWCSession -Server <String> -GUID <Guid[]> -User <String> -Password <String> -Type <Object> [<CommonParameters>]



Remove-CWCSession -Server <String> -GUID <Guid[]> -Type <Object> -Credentials <PSCredential> [<CommonParameters>]

DESCRIPTION

Will end a given access or support session.

PARAMETERS

-Server <String>

The address to your Control server. Example 'https://control.labtechconsulting.com' or 'http://control.secure.me:8040'

Required                    true
Position                    named
Default value
Accept pipeline input       false
Accept wildcard characters  false

-GUID <Guid[]>

The GUID identifier for the session you wish to end. Accepts an array of GUIDs.

Required                    true
Position                    named
Default value
Accept pipeline input       false
Accept wildcard characters  false

-User <String>

User to authenticate against the Control server.

Required                    true
Position                    named
Default value
Accept pipeline input       false
Accept wildcard characters  false

-Password <String>

Password to authenticate against the Control server.

Required                    true
Position                    named
Default value
Accept pipeline input       false
Accept wildcard characters  false

-Type <Object>

The type of session Support/Access

Required                    true
Position                    named
Default value
Accept pipeline input       false
Accept wildcard characters  false

-Credentials <PSCredential>

[PSCredential] object used to authenticate against Control.

Required                    true
Position                    named
Default value
Accept pipeline input       false
Accept wildcard characters  false

EXAMPLES

EXAMPLE 1

PS C:\>Remove-CWCAccessSession -Server $Server -GUID $GUID -User $User -Password $Password

Will remove the given access session

NOTES

Version: 1.0

Author: Chris Taylor

Creation Date: 10/10/2018

Purpose/Change: Initial script development