次の方法で共有


PowerShell を使用してデータ共有の招待を取得する

この PowerShell スクリプトでは、コンシューマーに送信される招待を取得します。

サンプル スクリプト

# Set variables with your own values
$invitationId = "<invitationId>"
$location = "<location>"

#List invitations sent to a consumer
Get-AzDataShareInvitation

#Get a specific invitation sent to a consumer
Get-AzDataShareInvitation -location -invitationId 

スクリプトの説明

このスクリプトでは以下のコマンドを使用します。

コマンド Notes
Get-AzDataShareInvitation 送信されたデータ共有の招待を取得して一覧表示します。

Azure PowerShell の詳細については、Azure PowerShell のドキュメントを参照してください。

Azure Data Share のその他の PowerShell サンプル スクリプトについては、「Azure Data Share の PowerShell サンプル」をご覧ください。