Removes a call admission control (CAC) or E911 network site.
Syntax
Remove-CsNetworkSite -Identity <XdsGlobalRelativeIdentity> [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-WhatIf [<SwitchParameter>]] |
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
XdsGlobalRelativeIdentity |
The unique identifier of the network site you want to remove. Sites are created only at the global scope, so you do not need to specify a scope. Instead, you need to specify only the site ID. |
Confirm |
Optional |
SwitchParameter |
Prompts you for confirmation before executing the command. |
Optional |
Guid |
Reserved for future use. |
|
WhatIf |
Optional |
SwitchParameter |
Describes what would happen if you executed the command without actually executing the command. |
Detailed Description
Network sites are the offices or locations configured within each region of a CAC or E911 deployment. This cmdlet removes a site from the CAC or E911 configuration.
Return Types
This cmdlet does not return a value. It removes an object of type Microsoft.Rtc.Management.WritableConfig.Settings.NetworkConfiguration.DisplayNetworkSiteType.
Examples
-------------------------- Example 1 --------------------------
Copy Code | |
---|---|
Remove-CsNetworkSite -Identity Vancouver |
This example removes the site with the Identity Vancouver from the CAC or E911 configuration.
-------------------------- Example 2 --------------------------
Copy Code | |
---|---|
Get-CsNetworkSite | Where-Object {$_.BWPolicyProfileID -eq "LowBWProfile"} | Remove-CsNetworkSite |
Example 2 removes all sites that are using the bandwidth policy profile named LowBWProfile from the CAC or E911 configuration. The example first calls Get-CsNetworkSite to retrieve all network sites. This collection of sites is piped to the Where-Object cmdlet, which narrows the collection to only those sites that have a BWPolicyProfileID equal to (-eq) LowBWProfile. This new collection is then piped to Remove-CsNetworkSite to remove those sites.