Do you want your ISE to be more efficient, when writing scripts and getting your daily work done? If your answer is “yes” here is simple profile script to assist you. Download from TechNet Scripting Center.
https://gallery.technet.microsoft.com/scriptcenter/ISE-Profile-Setup-659ed86d
You can simply add more, make sure you replace the server names to make it fit to your environment. Download above profile script and add below adds-on.
# Connect Exchange 2010 Remote PowerShell
$psISE.CurrentPowerShellTab.AddOnsMenu.SubMenus.Add(
"Connect to Exchange 2010",
{
$s = New-PSSession -ConfigurationName Microsoft.Exchange `
-ConnectionUri http://mail1.TekPros.com/PowerShell/ `
-Authentication Kerberos
Import-PSSession $s
},
"Control+Alt+E"
)
# Connect Lync Remote PowerShell
$psISE.CurrentPowerShellTab.AddOnsMenu.SubMenus.Add(
"Connect to Lync Remote PowerShell",
{
$lync_S = New-PSSession -ConnectionUri https://LyncServer.TekPros.com/ocspowershell `
-SessionOption $lyncOptions `
-Authentication NegotiateWithImplicitCredential `
-Authentication Kerberos
Import-PSSession $lync_S
},
"Control+Alt+L"
)
Oz Casey, Dedeal (MVP North America)
MCITP (EMA), MCITP (SA)
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)
https://twitter.com/Message_Talk (Twitter)
1 comment:
services business and personal webpages from united states.
Post a Comment