12/18/2023 0 Comments Update cisco anyconnect# If there is a VPN Connection detected.you can write logic here. Below is logic to help you when detecting if a connection is available or not. # Since I converted the variable to a boolean value, it will either be $true or $false. $vpnCheck = Get-WmiObject -Query "Select * from Win32_NetworkAdapter where (Name like '%Anåonnect%') and NetEnabled='True'"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |