Azure Backup
An Azure backup service that provides built-in management at scale.
1,243 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How to connet to azure & delete a disk .please help to share the sample powershell code. Suggest if any special permisions required to Delete a DISK or any NIC card.
## to remove a disk
Remove-AzDisk -ResourceGroupName 'ResourceGroup01' -DiskName 'Disk01' -Force;
## remove nic
Remove-AzNetworkInterface -Name myNIC -ResourceGroupName myResourceGroup -Froce
As for permissions, having contributor role on the resource group should be sufficient enough unless if there are custom roles in place. For more information, have a look at following docs: