Skip to content

Instantly share code, notes, and snippets.

@andreagx
Created June 23, 2014 13:58
Show Gist options
  • Select an option

  • Save andreagx/0024ddea164c0cae13d4 to your computer and use it in GitHub Desktop.

Select an option

Save andreagx/0024ddea164c0cae13d4 to your computer and use it in GitHub Desktop.
ISE_to_Exchange
$psISE.CurrentPowerShellTab.AddOnsMenu.SubMenus.Add(
"Connect to Exchange",
{
$s = New-PSSession -ConfigurationName Microsoft.Exchange `
-ConnectionUri http://your_server_fqdn_name/PowerShell/ `
-Authentication Kerberos
Import-PSSession $s
},
"Control+Alt+G"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment