Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split Az.DataShare Examples #17080

Merged
merged 1 commit into from
Mar 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/Get-AzDataShare.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ If you do not specify a name, this cmdlet gets information about all of the data
## EXAMPLES

### Example 1 : Get a specific data share
```powershell
Get-AzDataShare -ResourceGroupName "ADS" -AccountName "WikiAdsAccount" -Name "AdsShare"
```
PS C:\>Get-AzDataShare -ResourceGroupName "ADS" -AccountName "WikiAdsAccount" -Name "AdsShare"

```output
Name : AdsShare
Id : /subscriptions/f3ead1ff-d0ab-4cf4-9a5a-86f1661d4685/resourceGroups/ADS/providers/Microsoft.DataShare/accounts/WikiAdsAccount/shares/AdsShare
Type : Microsoft.DataShare/shares
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/Get-AzDataShareAccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ If you do not specify a name, this cmdlet gets information about all of the data
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareAccount -ResourceGroupName "ADS"
```
PS C:\> Get-AzDataShareAccount -ResourceGroupName "ADS"

```output
DataShareAccountName : WikiADS
ResourceGroupName : ADS
Location : WestUS
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/Get-AzDataShareDataSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ The **Get-AzDataShareDataSet** cmdlet gets information about data sets added in
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareDataSet -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "AdsDataSet"
```
PS C:\> Get-AzDataShareDataSet -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "AdsDataSet"

```output
ContainerName : AdsContainer
DataSetId : d2411889-5357-4ca8-8d65-9363e46ef2ed
ResourceGroup : ADS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ The **Get-AzDataShareDataSetMapping** cmdlet gets information about a particular
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareDataSetMapping -ResourceGroupName "ADS" -AccountName "WikiAdsAccount" -ShareSubscriptionName "WikiADS"
```
PS C:\> Get-AzDataShareDataSetMapping -ResourceGroupName "ADS" -AccountName "WikiAdsAccount" -ShareSubscriptionName "WikiADS"

```output
ContainerName : testing
Prefix : providercontainer
DataSetId : 372899d4-5e67-4c85-bc60-21168b484424
Expand Down
4 changes: 3 additions & 1 deletion src/DataShare/DataShare/help/Get-AzDataShareInvitation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ The **Get-AzDataShareInvitation** cmdlet gets information on invitations added i
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareInvitation -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "AdsInvitation"
```
PS C:\> Get-AzDataShareInvitation -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "AdsInvitation"

```output
InvitationId : 167e06ff-567f-4bc7-be0c-645a6de710f3
InvitationStatus : Pending
Sender : adsprovider@microsoft.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ The **Get-AzDataShareProviderSubscription** cmdlet gets information about consum
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareProviderShareSubscription -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -ShareSubscriptionId "/subscriptions/1834da9b-787a-44f6-ae81-60707ab8c957/resourceGroups/ADS/providers/Microsoft.DataShare/accounts/WikiAds/shares/AdsShare/shareSubscriptions/505c3500-b2ff-46ab-96bf-50f5ec89d75a"
```
PS C:\> Get-AzDataShareProviderShareSubscription -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -ShareSubscriptionId "/subscriptions/1834da9b-787a-44f6-ae81-60707ab8c957/resourceGroups/ADS/providers/Microsoft.DataShare/accounts/WikiAds/shares/AdsShare/shareSubscriptions/505c3500-b2ff-46ab-96bf-50f5ec89d75a"

```output
Company : ADS Test
CreatedAt : 6/30/2019 12:42:12 AM
CreatedBy : adstest@microsoft.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ The **Get-AzDataShareReceivedInvitation** cmdlet provides information about all
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareReceivedInvitation -location "westus"
```
PS C:\> Get-AzDataShareReceivedInvitation -location "westus"

```output
DataSetCount : 3
InvitationId : 167e06ff-567f-4bc7-be0c-645a6de710f3
InvitationStatus : Pending
Expand Down
4 changes: 3 additions & 1 deletion src/DataShare/DataShare/help/Get-AzDataShareSourceDataSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ The **Get-AzDataShareSourceDataSet** cmdlet provides information about the sourc
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareSourceDataSet -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription"
```
PS C:\> Get-AzDataShareSourceDataSet -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription"

```output
DataSetId : 63116d3f-515a-47a2-9b18-d981b16a9d21
DataSetName : filesystem1
DataSetType : Blob
Expand Down
4 changes: 3 additions & 1 deletion src/DataShare/DataShare/help/Get-AzDataShareSubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ The **Get-AzDataShareSubscription** cmdlet provides information about share subs
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareSubscription -ResourceGroupName "ADS" -AccountName "WikiAds" -Name "AdsShareSubscription"
```
PS C:\> Get-AzDataShareSubscription -ResourceGroupName "ADS" -AccountName "WikiAds" -Name "AdsShareSubscription"

```output
CreatedAt : 7/9/2019 12:32:53 AM
CreatedBy : adstest@microsoft.com
InvitationId : 0c14f5b6-0e22-49ab-8043-d6edad51db13
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ The **Get-AzDataShareSubscriptionSynchronization** cmdlet provides informaiton a
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareSubscriptionSynchronization -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription"
```
PS C:\> Get-AzDataShareSubscriptionSynchronization -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription"

```output
durationMs : 83660
endTime : 7/10/2019 9:01:23 AM
message :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ The **Get-AzDataShareSubscriptionSynchronizationDetail** cmdlet provides details
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareSubscriptionSynchronizationDetail -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription" -SynchronizationId "a6ee5c8d-0ce0-485e-b2f2-966b187dc6c7"
```
PS C:\> Get-AzDataShareSubscriptionSynchronizationDetail -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription" -SynchronizationId "a6ee5c8d-0ce0-485e-b2f2-966b187dc6c7"

```output
DataSetId : d2411889-5357-4ca8-8d65-9363e46ef2ed
DataSetType : BlobFolder
EndTime : 7/8/2019 10:24:27 PM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ The **Get-AzDataShareSynchronization** cmdlet provides information about all the
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareSynchronization -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare"
```
PS C:\> Get-AzDataShareSynchronization -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare"

```output
Company : ADS Test
DurationMs : 107013
EndTime : 7/8/2019 11:53:18 PM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ The **Get-AzDataShareSynchronizationDetail** cmdlet provides details of the sync
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareSynchronizationDetail -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -SynchronizationId "02a17faa-4498-45ee-a884-162180af9251"
```
PS C:\> Get-AzDataShareSynchronizationDetail -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -SynchronizationId "02a17faa-4498-45ee-a884-162180af9251"

```output
DataSetId : d2411889-5357-4ca8-8d65-9363e46ef2ed
DataSetType : BlobFolder
EndTime : 7/8/2019 10:24:27 PM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ The **Get-AzDataShareSynchronizationSetting** cmdlet provides information about
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareSynchronizationSetting -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "ShareSynchronization"
```
PS C:\> Get-AzDataShareSynchronizationSetting -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "ShareSynchronization"

```output
RecurrenceInterval : Day
SynchronizationTime : 7/9/2019 9:00:00 AM
ProvisioningState : Succeeded
Expand Down
4 changes: 3 additions & 1 deletion src/DataShare/DataShare/help/Get-AzDataShareTrigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ The **Get-AzDataShareTrigger** cmdlet gets information about trigger for share s
## EXAMPLES

### Example 1
```powershell
Get-AzDataShareTrigger -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription" -Name "AdsTrigger"
```
PS C:\> Get-AzDataShareTrigger -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription" -Name "AdsTrigger"

```output
CreatedAt : 7/10/2019 12:16:34 AM
CreatedBy : Ads test
ProvisioningState : Succeeded
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ The **Grant-AzDataShareSubscriptionAccess** cmdlet grants a share subscription a
## EXAMPLES

### Example 1
```powershell
Grant-AzDataShareSubscriptionAccess -ResourceGroupName "ADS" -AccountName "WikiAdsAccount" -ShareName "AdsShare" -ShareSubscriptionId 8ee6e6fd-b4a1-49a4-bb66-f187f38e0e12
```
PS C:\> Grant-AzDataShareSubscriptionAccess -ResourceGroupName "ADS" -AccountName "WikiAdsAccount" -ShareName "AdsShare" -ShareSubscriptionId 8ee6e6fd-b4a1-49a4-bb66-f187f38e0e12

```output
Company : ADS
CreatedAt : 6/15/2019 1:02:28 AM
CreatedBy : abc@microsoft.com
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/New-AzDataShare.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ The **New-AzDataShare** cmdlet creates a data share within a specified azure dat
## EXAMPLES

### Example 1 : Create a data share
```powershell
New-AzDataShare -ResourceGroupName "ADS" -AccountName "WikiAdsAccount" -Name "AdsShare" -ShareKind "CopyBased" -Description "Example of description" -TermsOfUse "This should not be shared"
```
PS C:\>New-AzDataShare -ResourceGroupName "ADS" -AccountName "WikiAdsAccount" -Name "AdsShare" -ShareKind "CopyBased" -Description "Example of description" -TermsOfUse "This should not be shared"

```output
Name : AdsShare
Id : /subscriptions/f3ead1ff-d0ab-4cf4-9a5a-86f1661d4685/resourceGroups/ADS/providers/Microsoft.DataShare/accounts/WikiAdsAccount/shares/AdsShare
Type : Microsoft.DataShare/shares
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/New-AzDataShareAccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ New-AzDataShareAccount -ResourceGroupName <String> -Name <String> -Location <Str
## EXAMPLES

### Example 1
```powershell
New-AzDataShareAccount -ResourceGroupName "ADS" -Name "WikiADS" -Location "WestUS"
```
PS C:\> New-AzDataShareAccount -ResourceGroupName "ADS" -Name "WikiADS" -Location "WestUS"

```output
DataShareAccountName : WikiADS
ResourceGroupName : ADS
Location : WestUS
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/New-AzDataShareDataSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ The **New-AzDataShareDataSet** cmdlet add data sets in azure data share of data
## EXAMPLES

### Example 1
```powershell
New-AzDataShareDataSet -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "AdsDataSet" -StorageAccountResourceId "/subscriptions/271cc6ec-e5fe-4813-83bd-8f3b04973e38/resourceGroups/ADS/providers/Microsoft.Storage/storageAccounts/AdsStorage" -Container "AdsContainer"
```
PS C:\> New-AzDataShareDataSet -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "AdsDataSet" -StorageAccountResourceId "/subscriptions/271cc6ec-e5fe-4813-83bd-8f3b04973e38/resourceGroups/ADS/providers/Microsoft.Storage/storageAccounts/AdsStorage" -Container "AdsContainer"

```output
ContainerName : AdsContainer
DataSetId : d2411889-5357-4ca8-8d65-9363e46ef2ed
ResourceGroup : ADS
Expand Down
5 changes: 3 additions & 2 deletions src/DataShare/DataShare/help/New-AzDataShareDataSetMapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ The **New-AzDataShareDataSetMapping** cmdlet creates a data set mapping between
## EXAMPLES

### Example 1
```
```powershell
New-AzDataShareDataSetMapping -ResourceGroupName "ADS" -AccountName "WikiAdsAccount" -ShareSubscriptionName "AdsShareSubscription" -Name "AdsDataSetMapping" -StorageAccountResourceId "/subscriptions/271cc6ec-e5fe-4813-83bd-8f3b04973e38/resourceGroups/ADS/providers/Microsoft.Storage/storageAccounts/AdsStorage" -Container "AdsContainer"
```
```powershell

```output
ContainerName : AdsContainer
DataSetId : 372899d4-5e67-4c85-bc60-21168b484424
ResourceGroup : ADS
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/New-AzDataShareInvitation.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ The **New-AzDataShareInvitation** cmdlet sends an invitation to the target consu
## EXAMPLES

### Example 1
```powershell
New-AzDataShareInvitation -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "AdsInvitation" -TargetEmail "adstest@microsoft.com"
```
PS C:\> New-AzDataShareInvitation -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "AdsInvitation" -TargetEmail "adstest@microsoft.com"

```output
InvitationId : 167e06ff-567f-4bc7-be0c-645a6de710f3
InvitationStatus : Pending
Sender : adsprovider@microsoft.com
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/New-AzDataShareSubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ The **New-AzDataShareSubscription** cmdlet creates a share subscription in speci
## EXAMPLES

### Example 1
```powershell
New-AzDataShareSubscription -ResourceGroupName "ADS" -AccountName "WikiAds" -Name "AdsShareSubscription" -InvitationId "167e06ff-567f-4bc7-be0c-645a6de710f3"
```
PS C:\> New-AzDataShareSubscription -ResourceGroupName "ADS" -AccountName "WikiAds" -Name "AdsShareSubscription" -InvitationId "167e06ff-567f-4bc7-be0c-645a6de710f3"

```output
CreatedAt : 6/30/2019 12:42:12 AM
CreatedBy : adstest@microsoft.com
InvitationId : 167e06ff-567f-4bc7-be0c-645a6de710f3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ The **New-AzDataShareSynchronizationSetting** creates a synchronization setting
## EXAMPLES

### Example 1
```powershell
New-AzDataShareSynchronizationSetting -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "ShareSynchronization" -RecurrenceInterval "Day" -SynchronizationTime 9:00
```
PS C:\> New-AzDataShareSynchronizationSetting -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "ShareSynchronization" -RecurrenceInterval "Day" -SynchronizationTime 9:00

```output
RecurrenceInterval : Day
SynchronizationTime : 7/9/2019 9:00:00 AM
ProvisioningState : Succeeded
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/New-AzDataShareTrigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ The **New-AzDataShareTrigger** cmdlet creates a trigger for share subscription f
## EXAMPLES

### Example 1
```powershell
New-AzDataShareTrigger -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription" -Name "AdsTrigger" -RecurrenceInterval "Day" -SynchronizationTime "9:00"
```
PS C:\> New-AzDataShareTrigger -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription" -Name "AdsTrigger" -RecurrenceInterval "Day" -SynchronizationTime "9:00"

```output
CreatedAt : 7/10/2019 12:16:34 AM
CreatedBy : Ads test
ProvisioningState : Succeeded
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/Remove-AzDataShare.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ The **Remove-AzDataShare** cmdlet removes a data share.
## EXAMPLES

### Example 1
```powershell
Remove-AzDataShare -ResourceGroupName "ADS" -AccountName "WikiAds" -Name "AdsShare"
```
PS C:\> Remove-AzDataShare -ResourceGroupName "ADS" -AccountName "WikiAds" -Name "AdsShare"

```output
Are you sure you want to remove data share "AdsShare"?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
```
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/Remove-AzDataShareAccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ The **Remove-AzDataShareAccount** cmdlet removes a datashare account.
## EXAMPLES

### Example 1
```powershell
Remove-AzDataShareAccount -Name "WikiADS" -ResourceGroupName "ADS"
```
PS C:\> Remove-AzDataShareAccount -Name "WikiADS" -ResourceGroupName "ADS"

```output
Confirm
Are you sure you want to remove datashare account 'WikiADS' in resource group 'ADS'?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/Remove-AzDataShareDataSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ The **Remove-AzDataShareDataSet** cmdlet removes a dataset.
## EXAMPLES

### Example 1
```powershell
Remove-AzDataShareDataSet -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "DS"
```
PS C:\> Remove-AzDataShareDataSet -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "DS"

```output
Are you sure you want to remove dataset mapping "DS"?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ The **Remove-AzDataShareDataSetMapping** cmdlet removes a dataset mappings.
## EXAMPLES

### Example 1
```powershell
Remove-AzDataShareDataSetMapping -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription" -Name "DSM"
```
PS C:\> Remove-AzDataShareDataSetMapping -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription" -Name "DSM"

```output
Are you sure you want to remove dataset mapping "DSM"?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
```
Expand Down
5 changes: 4 additions & 1 deletion src/DataShare/DataShare/help/Remove-AzDataShareInvitation.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ The **Remove-AzDataShareInvitation** cmdlet removes a datashare invitation.
## EXAMPLES

### Example 1
```powershell
Remove-AzDataShareDataSetMapping -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "ADSInvite"
```
PS C:\> Remove-AzDataShareDataSetMapping -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareName "AdsShare" -Name "ADSInvite"

```output
Are you sure you want to remove dataset mapping "ADSInvite"?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ The **Remove-AzDataShareSubscription** cmdlet removes a share subscription
## EXAMPLES

### Example 1
```powershell
Remove-AzDataShareSubscription -ResourceGroupName "ADS" -AccountName "WikiAds" -Name "AdsShareSubscription"
```
PS C:\> Remove-AzDataShareSubscription -ResourceGroupName "ADS" -AccountName "WikiAds" -Name "AdsShareSubscription"

```output
Are you sure you want to remove sharesubscription "AdsShareSubscription"?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
```
Expand Down
Loading