PS Simple Scripts

February 15, 2016

Configure ISE Profile For More Efficient Scripting

Filed under: General — telnet25 @ 3:57 am

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"
)

image

Oz Casey, Dedeal (MVP North America)
MCITP (EMA), MCITP (SA)
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
https://telnet25.wordpress.com/ (Blog)
https://twitter.com/Message_Talk (Twitter)

February 11, 2016

Windows 2012 R2 Deploy Certificate Authority Step by Step Part-1

Filed under: General — telnet25 @ 4:00 am
  • Log on to <Your_Windows_2012_R2_Server> as a domain administrator.
  • Click Start, | PowerShell| Type "ServerManager" , press enter 
  • Click Add roles | next | leave default

clip_image001

  • Click | Next

clip_image002

  • Select | Active Directory Certificate Services

clip_image003

  • Add required Futures | Press twice Next

clip_image004

  • Click Next again | Select Certificate Authority | CA Web Enrolment

clip_image005

  • Next | Install

clip_image006

  • Go back to Server Manager | Post Deployment Configuration

clip_image007

  • Next

clip_image008

  • Select | Certificate Authority | CA Web Enrolment

clip_image009

  • Select | Enterprise CA | Next

clip_image010

  • Select | Root CA | Next

clip_image011

  • Select | Create a new Private Key | Next

clip_image012

  • Select | RSA # Microsoft Software Key Storage Provider | Key Length 4096 | SHA256

clip_image013

  • Click Next | Accept default

clip_image014

  • Accept Default | Click Next

clip_image015

  • Accept Defaults | Click Next

clip_image016

  • Click | Configure

clip_image017

  • Results page | Click Close

clip_image018

Part 1 is completed.

MS link

Oz Casey, Dedeal (MVP North America)
MCITP (EMA), MCITP (SA)
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
https://telnet25.wordpress.com/ (Blog)
https://twitter.com/Message_Talk (Twitter

Create a free website or blog at WordPress.com.