< Back
New-EmpireSession
Post
NAME New-EmpireSession
SYNOPSIS
Create a new session to an Empire server.
SYNTAX
New-EmpireSession [-ComputerName] <String> -Credential <PSCredential> [-Port <Int32>] [-NoSSLCheck]
[<CommonParameters>]
DESCRIPTION
Create a new session to an Empire server.
PARAMETERS
-ComputerName <String>
IP Address or FQDN of remote Empire server.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Credential <PSCredential>
Credentials to use for the connection.
Required? true
Position? named
Default value [Management.Automation.PSCredential]::Empty
Accept pipeline input? false
Accept wildcard characters? false
-Port <Int32>
Port number to use in the connection to the remote Empire server.
Required? false
Position? named
Default value 1337
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-NoSSLCheck [<SwitchParameter>]
Do not check if the TLS/SSL certificate of the Empire is valid.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Licensed under BSD 3-Clause license
-------------------------- EXAMPLE 1 --------------------------
C:\\PS><New-EmpireSession -ComputerName 192.168.1.170 -Credential carlos -NoSSLCheck
Create a new session to an Empire server without checking the SSL certificate.
RELATED LINKS
SYNOPSIS
Create a new session to an Empire server.
SYNTAX
New-EmpireSession [-ComputerName] <String> -Credential <PSCredential> [-Port <Int32>] [-NoSSLCheck]
[<CommonParameters>]
DESCRIPTION
Create a new session to an Empire server.
PARAMETERS
-ComputerName <String>
IP Address or FQDN of remote Empire server.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Credential <PSCredential>
Credentials to use for the connection.
Required? true
Position? named
Default value [Management.Automation.PSCredential]::Empty
Accept pipeline input? false
Accept wildcard characters? false
-Port <Int32>
Port number to use in the connection to the remote Empire server.
Required? false
Position? named
Default value 1337
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-NoSSLCheck [<SwitchParameter>]
Do not check if the TLS/SSL certificate of the Empire is valid.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Licensed under BSD 3-Clause license
-------------------------- EXAMPLE 1 --------------------------
C:\\PS><New-EmpireSession -ComputerName 192.168.1.170 -Credential carlos -NoSSLCheck
Create a new session to an Empire server without checking the SSL certificate.
RELATED LINKS