Created
July 21, 2021 11:51
-
-
Save nickadam/631a4f871b7e015c99b285e1261a608a to your computer and use it in GitHub Desktop.
List XML of installed Always ON VPN profiles, must be run as SYSTEM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
powershell -command "& {$nodeCSPURI = './Vendor/MSFT/VPNv2';$namespaceName = 'root\cimv2\mdm\dmmap';$className = 'MDM_VPNv2_01';$session = New-CimSession; $listInstances = $session.EnumerateInstances($namespaceName, $className, $options); foreach ($listInstance in $listInstances) { $listInstance.ProfileXML }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment