< Back

New-AcManipulationCsv

Sat Jan 18, 2020 9:53 am

NAME New-AcManipulationCsv



SYNOPSIS

Sets or updates a number manipulation by CSV file





SYNTAX

New-AcManipulationCsv [[-Credential] <Object>] [[-csvFile] <String>] [-overwrite] [<CommonParameters>]





DESCRIPTION

This script will create or update an SBC number manipulation on Audiocodes.





PARAMETERS

-Credential <Object>

Credentials for Audiocodes. Used stored credential from variable or -Credential (Get-Credential)



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-csvFile <String>

Full path to the CSV file to be used.

csvFile contains headers and must look like this:



remotehost,name,originalNumber,manipulatedNumber,type

10.0.0.10,johnsonsmask,+41441234567,+41441234999,mask

10.0.0.10,billyforward,+41441234567,+41441234999,forward



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-overwrite [<SwitchParameter>]

When specified any existing records with the same source number will be overwritten



Required? false

Position? named

Default value False

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

Script results in output / verbose stream





NOTES





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

| ORIGIN STORY |

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

| DATE : 2018.07.02

| AUTHOR : Michael L????rsen

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

| DESCRIPTION : First PSM1 Function

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



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



PS C:\\>New-AcManipulationCsv -csvFile c:\\config.csv -credential $x -Overwrite















RELATED LINKS