Skip to content

Latest commit

 

History

History
145 lines (111 loc) · 3.33 KB

Restore-TeamsEV.md

File metadata and controls

145 lines (111 loc) · 3.33 KB
external help file Module Name online version schema
TeamsFunctions-help.xml
TeamsFunctions
2.0.0

Restore-TeamsEV

SYNOPSIS

A script to automatically restore a backed-up Teams Enterprise Voice configuration.

SYNTAX

Restore-TeamsEV [-File] <String> [-KeepExisting] [[-OverrideAdminDomain] <String>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

A script to automatically restore a backed-up Teams Enterprise Voice configuration. Requires a backup run using Backup-TeamsEV.ps1 in the same directory as the script. Will restore the following items:

  • Dialplans and associated normalization rules
  • Voice routes
  • Voice routing policies
  • PSTN usages
  • Outbound translation rules

EXAMPLES

EXAMPLE 1

Restore-TeamsEV -File C:\Temp\Backup.ZIP

Restores the Teams Enterprise Voice Configuration from Backup.ZIP file.

PARAMETERS

-File

REQUIRED. Path to the zip file containing the backed up Teams EV config to restore

Type: String
Parameter Sets: (All)
Aliases:

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

-KeepExisting

OPTIONAL. Will not erase existing Enterprise Voice configuration before restoring.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-OverrideAdminDomain

OPTIONAL: The FQDN your Office365 tenant. Use if your admin account is not in the same domain as your tenant (ie. doesn't use a @tenantname.onmicrosoft.com address)

Type: String
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

-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

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

System.File

OUTPUTS

None

NOTES

Version 1.10 Build: Feb 04, 2020

Copyright © 2020 Ken Lasko klasko@ucdialplans.com https://www.ucdialplans.com

RELATED LINKS

https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/Restore-TeamsEV.md

https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/about_Supporting_Functions.md

https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/