Quantcast
Channel: Lync News
Viewing all articles
Browse latest Browse all 4272

Just a Lync Guy: Script: Lync Certificates Report gets an updated with SfB & EDGE servers support

$
0
0

Back in August 2014 I’ve published a script that y0avb and I wrote for retrieving Lync Servers Certificate information and creating HTML based report that can be sent via email.

image

One of the main feedbacks we got is to add the EDGE Servers information to the script as well so users can get a full picture of the assigned certificates in their environment.

We’ve did some research and tests a couple of alternatives and we finally were able to pull the EDGE certificates information using PSRemoting.

Prerequisites:

In order to retrieve the Certificates information from the EDGE servers we need to use PSRemoting and Windows Remote Management for access.

This requires two major modifications:

1) On the Front End servers – Enabling TrustedHosts configurations:

Set-Item WSMan:\localhost\Client\TrustedHosts -Value “*” -Force

2) On the EDGE servers – Enabling HTTP Compatibility Listener for Remote access:

Set-Item WSMan:\localhost\Service\EnableCompatibilityHttpListener -Value True

Once enabled, you need to make sure port 80 is enabled from the computer where the script run to the EDGE internal IP.

Another options is to open the default PSRemoting Port as well (5895) and make sure to change the Parameter in the script ($PSRemoteConnectionPort). 

To view existing listeners, you can use the following command:

winrm enumerate winrm/config/listener

 

Download:

 

Script Usage:

1) Retrieving all Lync Front End Pools Certificates information

.\LyncCertReport-v0.46.ps1

2) Retrieving all Lync Front End Pool Certificates information in addition to the EDGE Servers and OWAS Servers

.\LyncCertReport-v0.46.ps1 -EdgeCertificates -OWASCertificates

3) Retrieving all Lync Front End Pool Certificates information in addition to the EDGE Servers

.\LyncCertReport-v0.46.ps1 -EdgeCertificates

4) Retrieving all Lync Front End Pool Certificates information in addition to the OWAS Servers

.\LyncCertReport-v0.46.ps1 -OWASCertificates

5) Retrieving a spesific Front End Pool Certificates information

.\LyncCertReport-v0.46.ps1 -FEPool <Name of the FE Pool>

 

Please provide any feedback if you have any (@GuyBachar & @y0avb)


Filed under: Lync, Script, Skype for Business Tagged: Certificates, Lync Certificates Report, Skype for Business Server 2015

Viewing all articles
Browse latest Browse all 4272

Trending Articles