Modifier

Partager via


Remove-CsTenantNetworkSite

Use the Remove-CsTenantNetworkSite cmdlet to remove a tenant network site.

Syntax

Remove-CsTenantNetworkSite
      [-Identity] <string>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-CsTenantNetworkSite cmdlet removes an existing tenant network site.

A network site represents a location where your organization has a physical venue, such as offices, a set of buildings, or a campus. Network sites are defined as a collection of IP subnets.

Examples

Example 1

PS C:\> Remove-CsTenantNetworkSite -Identity "site1"

The command shown in Example 1 removes 'site1'.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Identity

Unique identifier for the network site to be removed.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

System.Object