rem This script is fired from Task Scheduler will check connectivity to VPN server.ping 192.168.1.1 -n 10 | findstr /r /c:”Reply from d.d.d.d.* bytes=d.time[<=]d. TTL=d*” && goto :finished:runrem be sure…
Category:
Windows Server Administration
Before redirection, we need SSL Certificate.For creating a free SSL Certificate Download Win-Acme it will automatically bind the certificate in IIS.Before generating certificate add-website under IIS for HTTP 1] Download…
#start the following Windows services in the specified order: [Array] $Services = ‘MailService’,’SpamAssassin’,’OpenVPNServiceInteractive’,’Certify.Service’,’Schedule’; #loop through each service, if its not running, start it foreach($ServiceName in $Services){$arrService = Get-Service -Name $ServiceNamewrite-host…