New-AzJitSession

1.0.0

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 Win-RM port.
Optionally the duration of the connection can be specified, or the command can be told to reuse
and existing request.
It waits until the port appears to be open, and then connects an RDP, 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 -RequiredVersion 1.0.0

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

FileList

Version History

Version Downloads Last updated
1.0.1 110 8/5/2019
1.0.0 (current version) 13 8/4/2019