< Back

Unpublish-Cube

Mon Jan 13, 2020 7:01 pm

NAME Unpublish-Cube



SYNOPSIS

Unpublish-Cube drops a tabular or multidimenstional cube from a SQL Server Analysis Services instance.





SYNTAX

Unpublish-Cube [-Server] <String> [-CubeDatabase] <String> [<CommonParameters>]





DESCRIPTION

Unpublish-Cube drops a tabular or multidimenstional cube from a SQL Server Analysis Services instance.





PARAMETERS

-Server <String>

Name of the SSAS server, including instance and port if required.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CubeDatabase <String>

The name of the cube database to be dropped.



Required? true

Position? 2

Default value

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



NOTES





Written by (c) Dr. John Tunnicliffe, 2019 https://github.com/DrJohnT/DeployCube

This PowerShell script is released under the MIT license http://www.opensource.org/licenses/MIT



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



PS C:\\>Unpublish-Cube -Server $ServerName -CubeDatabase $CubeName;















RELATED LINKS

https://github.com/DrJohnT/DeployCube