You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first command gets a virtual network gateway named Gateway01 that belongs to resource group ResourceGroup001 and stores it to the variable named $Gateway
284
+
The second command gets all the root certificates on VirtualNetworkGateway and save it to another variable $rootCerts
285
+
The third command shows total existing root certs on VirtualNetworkGateway.
286
+
The forth & fifth commands print root certificates at those corresponding indices for customer to see which ones they want to delete.
287
+
The sixth command removes expired root certificate by using that index e.g. here 1. Repeat same steps to remove multiple expired certificates from variable: $rootCerts
288
+
The seventh command updates VirtualNetworkGateway to set valid root certificates i.e. certificates that exists in variable: $rootCerts
0 commit comments