Skip to content

Instantly share code, notes, and snippets.

@PCfromDCSnippets
Created December 15, 2017 20:35
Show Gist options
  • Save PCfromDCSnippets/5bb0d9788d5c02fb7ff19dff027d3566 to your computer and use it in GitHub Desktop.
Save PCfromDCSnippets/5bb0d9788d5c02fb7ff19dff027d3566 to your computer and use it in GitHub Desktop.
Connect RRAS VpnS2SInterface
$connections = (Get-VpnS2SInterface).Name
foreach ($connection in $connections) {
Connect-VpnS2SInterface -Name $connection
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment