< Back
Invoke-PSSession
Post
NAME Invoke-PSSession
SYNOPSIS
By Marc R Kellerman (mkellerman@outlook.com)
Create a New-PSSession and Regsiter-PSSessionConfiguration to eliminate the double hop issue.
Adaptation from code found:
https://blogs.msdn.microsoft.com/sergey ... -remoting/
SYNTAX
Invoke-PSSession [-ComputerName] <String[]> [-Credential] <PSCredential> [-SkipCACheck] [-SkipCNCheck]
[-SkipRevocationCheck] [-Unique] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-ComputerName <String[]>
Array of ComputerName to create a session to.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Credential for PSSession. Same credentials are used for the RunAsCredentail within the session.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SkipCACheck [<SwitchParameter>]
Advanced options for a PSSession
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SkipCNCheck [<SwitchParameter>]
Advanced options for a PSSession
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SkipRevocationCheck [<SwitchParameter>]
Advanced options for a PSSession
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Unique [<SwitchParameter>]
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
RELATED LINKS
SYNOPSIS
By Marc R Kellerman (mkellerman@outlook.com)
Create a New-PSSession and Regsiter-PSSessionConfiguration to eliminate the double hop issue.
Adaptation from code found:
https://blogs.msdn.microsoft.com/sergey ... -remoting/
SYNTAX
Invoke-PSSession [-ComputerName] <String[]> [-Credential] <PSCredential> [-SkipCACheck] [-SkipCNCheck]
[-SkipRevocationCheck] [-Unique] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-ComputerName <String[]>
Array of ComputerName to create a session to.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Credential for PSSession. Same credentials are used for the RunAsCredentail within the session.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SkipCACheck [<SwitchParameter>]
Advanced options for a PSSession
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SkipCNCheck [<SwitchParameter>]
Advanced options for a PSSession
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SkipRevocationCheck [<SwitchParameter>]
Advanced options for a PSSession
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Unique [<SwitchParameter>]
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
RELATED LINKS