Welcome Forums General PowerShell Q&A Add-VpnConnection

This topic contains 1 reply, has 2 voices, and was last updated by

4 months, 1 week ago.

  • Author
  • #129798

    Topics: 73
    Replies: 165
    Points: 65
    Rank: Member

    I'm writing a script to add VPN connection on Windows 10.  When I run the script, PowerShell asks "Transmitting the secret key over unsecure text stream... Do you want to continue?"

    I know I can enter -Force to stop the message, but is there a better way?  How can I transmit it securely via PowerShell?

  • #129831

    Topics: 8
    Replies: 736
    Points: 2,059
    Helping Hand
    Rank: Community Hero

    Never used VPN cmdlets, but from docs, I think -EncryptionLevel will do it, You can wait for more comments from others.

The topic ‘Add-VpnConnection’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort