< Back

Export-AssignedNumbers

Sat Jan 18, 2020 9:53 am

NAME Export-AssignedNumbers



SYNOPSIS

Exports Assigned Numbers





SYNTAX

Export-AssignedNumbers [-AcBackupDir] <Object> [[-OutputDir] <Object>] [<CommonParameters>]





DESCRIPTION

This cmdlet will export the assigned numbers in SfB and on the Audiocodes (Fax and Gateway numbers)

Numbers Queried: LineURI, Private Line, Analouge Lines, Common Area Phones, RGS Workflows,

Exchange UM Contacts, Trusted Applications and Conferencing Numbers

LineURI's are run against a regex pattern to extract the DDI/DID and the extension to a separate column.





PARAMETERS

-AcBackupDir <Object>

Path where the Backup-Audiocodes commandlet has exported the INI Files.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OutputDir <Object>

Path where the Backup-Audiocodes commandlet will place the SfBAssignedNUmbers files as well

as the AvailableNumbers file.

If omitted then the output will be in AcBackupDir



Required? false

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

Parameters





OUTPUTS

SfbAssignedNumbers file

AvailabeNumbers file





NOTES





+---------------------------------------------------------------------------------------------+

| ORIGIN STORY |

+---------------------------------------------------------------------------------------------+

| DATE : 2018.07.24

| AUTHOR : Michael L????rsen

| E-Mail : michael.luersen@mondaycoffee.com

+---------------------------------------------------------------------------------------------+



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



PS C:\\>Export-AssignedNumbers -AcBackupDir D:\\Backups\\AudioCodes -OutputDir D:\\AssignedNumbers















RELATED LINKS