Useful (Skype for Business) PowerShell command's
Introduction
Below a list of different PowerShell commands useful for managing AnywhereNow endpoints.
Searching
See which Trusted Applications there are in the pool:
Show information about one endpoint:
Give detailed information about the endpoint:
Generate a list of Trusted Applications and their used ports (useful when creating an extra UCC A Unified Contact Center, or UCC, is a queue of interactions (voice, email, IM, etc.) that are handled by Agents. Each UCC has its own settings, IVR menus and Agents. Agents can belong to one or several UCCs and can have multiple skills (competencies). A UCC can be visualized as a contact center “micro service”. Customers can utilize one UCC (e.g. a global helpdesk), a few UCC’s (e.g. for each department or regional office) or hundreds of UCC’s (e.g. for each bed at a hospital). They are interconnected and can all be managed from one central location.):
Search for one endpoint, using a match command for the LineURI:
Search for one endpoint, using a match command for the SipAddress:
Look for an Trusted Application on a particular port:
Editing
To set a LineURI for the UCC (or other endpoint):
Set-CsTrustedApplicationEndpoint -Identity sip:<name>@domain.com -LineURI "tel:+<lineURI>"
Delete the number for the UCC (or other endpoint):
To set a Displayname for the UCC (or other endpoint):
Delete the Displayname for the UCC (or other endpoint):
Disable Endpoint for federation When using AnywhereNow in combination with Federation you can add agents working with a Skype for Business or Teams account to your UCC.:
Set-CsTrustedApplicationEndpoint -Identity sip:<name>@domain.com -EnabledForFederation 0
To set the UCC Policy as a conferencing policy: