Modifier

Partager via


Remove-AzAnalysisServicesServer

Deletes an instance of Analysis Services server

Syntax

Remove-AzAnalysisServicesServer
      [-Name] <String>
      [[-ResourceGroupName] <String>]
      [-PassThru]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-AzAnalysisServicesServer cmdlet deletes an instance of Analysis Services server

Examples

Example 1

Remove-AzAnalysisServicesServer -Name "testserver" -ResourceGroupName "testgroup"

This command will remove the server named testserver in the resourcegroup testgroup

Parameters

-Confirm

Prompts user to confirm whether to perform the operation

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

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Name of the Analysis Services server

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

-PassThru

Will return the deleted server details if the operation completes successfully

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

-ResourceGroupName

Name of the Azure resource group to which the server belongs

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

-WhatIf

Describes the actions the current operation will perform without actually performing them

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

Inputs

String

Outputs

AzureAnalysisServicesServer

Notes

Alias: Remove-AzAs