Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This PowerShell script gets invitations sent to a consumer.
Sample script
# 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
Script explanation
This script uses the following commands:
| Command | Notes |
|---|---|
| Get-AzDataShareInvitation | Get and list sent data share invitations. |
Related content
For more information on the Azure PowerShell, see Azure PowerShell documentation.
Other Azure Data Share PowerShell script samples can be found in the Azure Data Share PowerShell samples.