Invoke-ProcessTable
特定の RefreshType を持つ指定したテーブルに対してプロセス操作を実行します。
構文
Invoke-ProcessTable
[-TableName] <String>
[-DatabaseName] <String>
[-RefreshType] <RefreshType>
[-Server <String>]
[-Credential <PSCredential>]
[-ServicePrincipal]
[-ApplicationId <String>]
[-TenantId <String>]
[-CertificateThumbprint <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Invoke-ProcessTable
[-RefreshType] <RefreshType>
-Table <Table>
[-Server <String>]
[-Credential <PSCredential>]
[-ServicePrincipal]
[-ApplicationId <String>]
[-TenantId <String>]
[-CertificateThumbprint <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Invoke-ProcessTable
[-Server <String>]
[-Credential <PSCredential>]
[-ServicePrincipal]
[-ApplicationId <String>]
[-TenantId <String>]
[-CertificateThumbprint <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Invoke-ProcessTable
[-Server <String>]
[-Credential <PSCredential>]
[-ServicePrincipal]
[-ApplicationId <String>]
[-TenantId <String>]
[-CertificateThumbprint <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
説明
特定の RefreshType を持つ指定したテーブルに対してプロセス操作を実行します。
Module requirements: version 21+ on PowerShell 5.1; version 21 (recent preview) or version 22+ on PowerShell 7.x.
例
表形式のメタデータ テーブルを処理する
PS SQLSERVER:\SQLAS\MachineName\Instance\Databases\DB1> Invoke-ProcessTable -TableName "myTable" -Database "DB1" -RefreshType Full
列挙型の更新の種類を使用して表形式のメタデータ テーブルを処理する
PS SQLSERVER:\SQLAS\MachineName\Instance\Databases\DB1\> Invoke-ProcessTable -TableName "myTable" -Database "DB1" -RefreshType Full
パラメーター
-ApplicationId
サービス プリンシパルのアプリケーション ID。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CertificateThumbprint
サービス プリンシパルの証明書の拇印。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
このパラメーターを含めて、実行前に Yes または No 応答で操作を対話形式で確認します。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
このパラメーターを指定した場合は、指定された Analysis Server インスタンスへの接続に、渡されたユーザー名とパスワードが使用されます。
資格情報を指定していない場合は、ツールを実行しているユーザーの既定の Windows アカウントが使用されます。
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DatabaseName
キューブが属しているデータベース名。
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RefreshType
パーティションを処理する Microsoft.AnalysisServices.Tabular.RefreshType。
Type: | RefreshType |
Accepted values: | Full, ClearValues, Calculate, DataOnly, Automatic, Add, Defragment |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Server
必要に応じて、SQLAS プロバイダー ディレクトリに存在しない場合に接続するサーバー インスタンスを指定します。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ServicePrincipal
この接続がサービス プリンシパルを使用していることを指定します。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Table
処理される Microsoft.AnalysisServices.Tabular.Table オブジェクト。
Type: | Table |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TableName
処理する必要があるパーティションが属するテーブルの名前。
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TenantId
サービス プリンシパルのテナント ID。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
実行前に操作の影響に関する情報を取得するには、このパラメーターを含めます。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
入力
Microsoft.AnalysisServices.Tabular.Table
メモ
互換性レベルが 1200 以上の表形式データベースでのみサポートされます。