Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the usage of PowerShell Session Configuration #127

Open
aboudzz opened this issue Jun 30, 2020 · 0 comments
Open

Support the usage of PowerShell Session Configuration #127

aboudzz opened this issue Jun 30, 2020 · 0 comments

Comments

@aboudzz
Copy link

aboudzz commented Jun 30, 2020

Suppose we have a registered PowerShell session config in a SERVER:

[SERVER] PS C:\> Register-PSSessionConfiguration -Name DemoSessionConfig

In PowerShell remoting we can specify the session configuration that is used for the interactive session as follows:

[REMOTE] PS C:\> Enter-PSSession -ComputerName SERVER -ConfigurationName DemoSessionConfig 
                                 -Credential $CRED -Authentication $AUTH

It would be useful if the usage of PowerShell Session Configuration is supported in winrm4j.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant