external help file: TeamViewerPS-help.xml Module Name: TeamViewerPS online version: https://github.com/teamviewer/TeamViewerPS/blob/main/Docs/Help/Set-TeamViewerAddressBook.md schema: 2.0.0
Change company address book settings.
Set-TeamViewerAddressBook -APIToken <SecureString> [-Enabled <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]Set-TeamViewerAddressBook -APIToken <SecureString> -Property <Hashtable> [-WhatIf] [-Confirm] [<CommonParameters>]Changes address book settings of the TeamViewer company associated with the API access token.
Set-TeamViewerAddressBook -APIToken $token -Enabled $falseDisable the address book for the company.
Set-TeamViewerAddressBook -APIToken $token -Property @{ addressBookAvailable = $true }Change multiple address book settings using a hashtable.
The TeamViewer API access token.
Type: SecureString
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnable or disable the address book for the company.
Type: Boolean
Parameter Sets: ByParameters
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePrompts 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: FalseChange address book settings using a hashtable object.
Valid hashtable keys are:
addressBookAvailable
Type: Hashtable
Parameter Sets: ByProperties
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows 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: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Requires at least one parameter change. An error is thrown if no changes are specified.