Invoke-ProcessPartition

Conducts the Process operation on a specific Partition of a specific database having a specific Cube name and aMeasureGroup name with a specific ProcessType value.
Invoke-ProcessPartition [-Name*] <System.String> [-Database*] <System.String> [-ProcessType*]<Microsoft.AnalysisServices.ProcessType> [-CubeName*] <System.String> [-MeasureGroupName*] <System.String>[<CommonParameters>]
Invoke-ProcessPartition -Database*Partition <Microsoft.AnalysisSevices.Partition> [-ProcessType*]<Microsoft.AnalysisServices.ProcessType> [<CommonParameters>]

Conducts the Process operation on a specific Partition of a specific database having a specific Cube name and a MeasureGroup name with a specific ProcessType value.

Parameters
-Name <System.String>

  • This value is required

Name of the Partition that has to be processed.

-Database <System.String>

  • This value is required

Database name to which the cube belongs to.

-CubeName <System.String>

  • This value is required

Cube name to which the MeasureGroup belongs to.

-MeasureGroupName <System.String>

  • This value is required

MeasureGroup name to which the Partition belongs to.

-ProcessType <System.String>

  • This value is required

Gets or sets a valid ProcessType value.

-DatabasePartition <Microsoft.AnalysisSevices.Partition>

Microsoft.AnalysisServices.Partition object that has to be processed.

ProcessFull

ProcessAdd

ProcessUpdate

ProcessIndexes

ProcessData

ProcessDefault

ProcessClear

ProcessStructure

ProcessClearStructureOnly

ProcessScriptCache

ProcessRecalc

<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 partition object and processes it:
    
       PS SQLSERVER:SQLASMachineNameInstanceDatabasesDB1CubesmyCubeMeasureGroupsmyMeasureGroupPartitionsPartiti
       on1> Get-Item .| Invoke-ProcessPartition -ProcessType:ProcessDefault
  2. The above cmdlet processes the partition myPartition available under measure group myGroup available inside database DB1:
    PS SQLSERVER:SQLASMachineNameInstanceDatabasesDB1CubesmyCubeMeasureGroups>  Invoke-ProcessPartition -Name "myPartition" -MeasureGroupName "myGroup" -CubeName "myCube" -Database "DB1"  -ProcessType "ProcessDefault"
    
Additional Notes