On a previous post I explained how to Automate Ironport commands / scripts from Windows. At the end of the post I suggested configuring the task scheduler to execute a bat script, for example, to save a backup copy of the configuration… So, here we go!
Example 1: Simple configuration backup via email
Assuming all the necessary preparations … Read more
This post shows a Powershell script I use to monitor the status of my Lync services.
This state can be manually checked on the Lync console (Lync 2010 in my scenario):
And with the Get-CsWindowsService powershell command:
PS C:\> Get-CsWindowsService
Status Name ActivityLevel
------ ---- -------------
Running RTCSRV Incoming Requests per Second=0,Mess...
Running RTCCAA Concurrent Calls=0
… Read more
In a previous post (Linux: SSH connection without password (RSA public-key) I showed the way to configure a non-interactive SSH connection from-to a Linux system.
If the target system is a Ironport ESA device, the configuration is almost the same (generation of the key pair and configuration of the private one). But to install the new public key on … Read more
In another post we saw the way to configure a SSH connection to Linux without password via public/private key. To allow SSH connection without interaction (without password) to Cisco Ironport ESA (Email Security Appliance) from a Windows machine is a bit different. These are the different steps:
Generate public/private keys
To generate the keys, we will use Puttygen (PuTTY Key … Read more
Powershell can be very useful to extract data from our systems.
Excel can be very useful to show that data in a friendly way.
Powershell + Excel = Automatic generation of useful reports
These are the basic powershell sentences and functions needed to start generating our Excel reports using Powershell scripts:
Excel COM object
It is neccesary to reference a … Read more