< Back

Edit-Sidecar

Mon Jan 13, 2020 8:22 am

NAME Edit-Sidecar



SYNOPSIS

Calls the functions necessary for editing a sidecar for a Cisco device.





SYNTAX

Edit-Sidecar [-DeviceName] <String> [-CUCMServer] <String> [[-FileName] <String>] [<CommonParameters>]





DESCRIPTION

Edit-SideCar initally asks the user for credentials to access the CUCM database. It then calls Get-DeviceInfo to

gather initial infomation about the device to be updated. Following, the user is presented with the option of

adding or removing a user from the sidecar. The user may also chose to quit. The function runs until the user

enters 'Q'. If 'Q' is chosen, the necessary files that were created on the user's desktop while running the module

are removed.





PARAMETERS

-DeviceName <String>

The Cisco device (phone) to be updated. This is mandatory.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CUCMServer <String>

The address of the CUCM Instance. This is mandatory.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-FileName <String>

The XML document which holds the infomation of the device to be updated. Created from the SOAP response given

from the AXL API. Default is "C:\\Users\\$env:USERNAME\\Desktop\\phoneInfo.xml"



Required? false

Position? 3

Default value "C:\\Users\\$env:USERNAME\\Desktop\\DeviceInfo.xml"

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



OUTPUTS



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



PS C:\\>Edit-SideCar -DeviceName SEP000236598 -CUCMServer nameofserver.domain.com















RELATED LINKS