Always On Azure VPN – PowerShell, Task Scheduler, and Intune

I figured since we could use the rasman registry entries to keep the Azure VPN alive while connected to the internal network, why not use rasdial to initiate the connection based on the state of your network?

In our case, we wanted an Always On VPN solution that would auto connect and disconnect based on conditions of your network connection. For instance, if you were connected to an external network (like from home working remotely), the Azure VPN would automatically connect. If you brought your laptop to work, and connected to the corporate network, the Azure VPN client would automatically disconnect and vice versa.

How to Add New Customer Subsite in SharePoint 2013

Log into SharePoint 2013 server (cbtcsrv08) using sp2013_farm domain credentials Open SharePoint 2013 Management Shell. NOTE: Powershell scripts are located in the E: drive at E:\Sharepoint\Scripts\Create New Site Scripts\Step 1\CMDBSite.ps1 And E:\Sharepoint\Scripts\Create New Site Scripts\Step 2\CreateNewSubsite.ps1. Both scripts must be modified with the complete Business Name and URL path you want to use prior to…