Skip to content

Latest commit

 

History

History
145 lines (103 loc) · 2.46 KB

New-TeamViewerPolicy.md

File metadata and controls

145 lines (103 loc) · 2.46 KB
external help file Module Name online version schema
TeamViewerPS-help.xml
TeamViewerPS
2.0.0

New-TeamViewerPolicy

SYNOPSIS

Create a new TeamViewer policy.

SYNTAX

New-TeamViewerPolicy [-ApiToken] <SecureString> [-Name] <String> [[-Settings] <Object[]>] [-DefaultPolicy]
 [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Create a new TeamViewer policy.

EXAMPLES

Example 1

PS /> New-TeamViewerPolicy -Name 'Test Policy'

PARAMETERS

-ApiToken

The TeamViewer API access token.

Type: SecureString
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DefaultPolicy

If set, makes the new policy the default policy in the TeamViewer company of the account that is associated with the API access token.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Name of the new policy.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Settings

Settings to be set for the new policy.

Type: Object[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

NOTES

RELATED LINKS