< Back

Get-VPNProfile

Sat Jan 18, 2020 8:02 pm

NAME Get-VPNProfile



SYNOPSIS

Displays all profiles/Computers that can be used with a given Provider





SYNTAX

Get-VPNProfile [-Provider] <String> [<CommonParameters>]





DESCRIPTION

Displays all profiles/Computers that can be used with a given Provider





PARAMETERS

-Provider <String>

The VPN Provider to use.

One of: AnyConnect



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.String[]

The list of profiles, servers that can be connected to from the local computer.





NOTES





Only Cisco AnyConnect VPNs are supported as of now.



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$session = Get-VPNProfile -Provider AnyConnect



vpn.acme.com



Description

-----------

Gives the list of servers the user can connect to











RELATED LINKS

https://github.com/gildas/posh-vpn