이 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
스크립트 설명
이 스크립트는 다음 명령을 사용합니다.
| 명령 | 주의 |
|---|---|
| Get-AzDataShareInvitation | 전송된 데이터 공유 초대를 가져와 나열합니다. |
관련 콘텐츠
Azure PowerShell에 대한 자세한 내용은 Azure PowerShell 설명서를 참조하세요.
기타 Azure Data Share PowerShell 스크립트 샘플은 Azure Data Share PowerShell 샘플에 있습니다.