Get-CMVpnProfileConfigurationItem
Get-CMVpnProfileConfigurationItem
Gets a VPN profile.
Syntax
Parameter Set: SearchByName
Get-CMVpnProfileConfigurationItem [-Name <String[]> ] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Get-CMVpnProfileConfigurationItem -Id <String[]> [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Get-CMVpnProfileConfigurationItem -InputObject <IResultObject> [ <CommonParameters>]
Detailed Description
The Get-CMVpnProfileConfigurationItem cmdlet gets a virtual private network (VPN) profile.
Parameters
-Id<String[]>
Specifies an array of IDs of VPN profile objects.
Aliases |
CIId |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-InputObject<IResultObject>
Specifies a VPN profile object.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String[]>
Specifies an array of names of VPN profiles.
Aliases |
LocalizedDisplayName |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Get a VPN profile
This command gets the VPN profile that has the ID 16777568.
PS C:\> Get-CMVpnProfileConfigurationItem -Id "16777568"
Related topics
Copy-CMVpnProfileConfigurationItem
New-CMVpnProfileConfigurationItem