not sure if it was a bad copy paste but you need a space after -PassThru

Set-VPNConnectionIPsecConfiguration -ConnectionName "my-vpn" 
-AuthenticationTransformConstants SHA256128 -CipherTransformConstants AES256 
-EncryptionMethod AES256 -IntegrityCheckMethod SHA256 -PfsGroup None -DHGroup 
Group14 -PassThru -Force


 <http://www.naimuri.com/>

> On 4 May 2018, at 07:47, Dirk Hartmann <[email protected]> wrote:
> 
> Set-VPNConnectionIPsecConfiguration -ConnectionName "<VPNNAME>" 
> -AuthenticationTransformConstants SHA256128 -CipherTransformConstants AES256 
> -EncryptionMethod AES256 -IntegrityCheckMethod SHA256 -PfsGroup None -DHGroup 
> Group14 -PassThru-Force

Reply via email to