Invoke-ProcessDimension

Conducts the Process operation on a specific Dimension of a specific database with a specific ProcessType value.
Invoke-ProcessDimension [-Name*] <System.String> [-Database*] <System.String> [-ProcessType*]<Microsoft.AnalysisServices.ProcessType> [<CommonParameters>]
Invoke-ProcessDimension -Database*Dimension <Microsoft.AnalysisSevices.Dimension> [-ProcessType*]<Microsoft.AnalysisServices.ProcessType> [<CommonParameters>]

Conducts the Process operation on a specific Dimension of a specific database with a specific ProcessType value depending upon the input values.

Parameters
-Name <System.String>

  • This value is required

Name of the Dimension that has to be processed.

-Database <System.String>

  • This value is required

The database name to which the Dimension belongs to.

-ProcessType <Microsoft.AnalysisServices.ProcessType>

  • This value is required

Analysis Services ProcessType value.

ProcessFull

ProcessAdd

ProcessUpdate

ProcessIndexes

ProcessData

ProcessDefault

ProcessClear

ProcessStructure

ProcessClearStructureOnly

ProcessScriptCache

ProcessRecalc

-DatabaseDimension <Microsoft.AnalysisSevices.Dimension>

The Microsoft.AnalysisServices.Dimension object that has to be processed.

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer, PipelineVariable, and OutVariable.

Examples
  1. The above cmdlets retrieves the specified dimension object and processes it:
    PS SQLSERVER:SQLASMachineNameInstanceDatabasesDB1DimensionsDimension1>  Get-Item .| Invoke-ProcessDimension -ProcessType:ProcessDefault
    
  2. The above cmdlet processes the dimension myDim available under database Db1:
    PS SQLSERVER:SQLASMachineNameInstanceDatabasesDB1Dimensions>  Invoke-ProcessDimension -Name "myDim" -Database "Db1" -ProcessType "ProcessDefault"
    
Additional Notes