New-AzJitSession

1.0.1

Creates just-in-time network connections for Azure VMs.
The command accepts a VM name (with optional resource group name) or a VM Object,
If the VM isn't started, the command will start it and wait for start-up to complete.
It finds the JIT policy for the machine and address presented by the local machine after any NAT,
and requests a connection for a given port, or
Creates just-in-time network connections for Azure VMs.
The command accepts a VM name (with optional resource group name) or a VM Object,
If the VM isn't started, the command will start it and wait for start-up to complete.
It finds the JIT policy for the machine and address presented by the local machine after any NAT,
and requests a connection for a given port, or for the default ssh, RDP or WinRM port.
Optionally the duration of the connection can be specified, or the command can be told to reuse
an existing request.
It waits until the port appears to be open, and then connects an RDP or PowerShell remoting session;
if ssh is specified PowerShell remoting, or a remote shell or a remote command can be run over the
ssh connection. For remote PowerShell sessions it is possible to enter the session or
invoke a command in the session  
Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name New-AzJitSession

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(C) James O'Neill 2019

Package Details

Author(s)

  • James O'Neill

Dependencies

Release Notes

1.0.1 has Improvements to help. Code unchanged from 1.0.0

FileList

Version History

Version Downloads Last updated
1.0.1 (current version) 118 8/5/2019
1.0.0 15 8/4/2019