Azure / Azure/azurestack-powershell

Remove-AzsPlatformImage Does Not Return Anything

Open
#44 6 comments 0 reactions 1 assignee Claimed by @hannah-murphy-0 View on GitHub
Dominant language
PowerShell
Stars
16
Forks
37
PR merge metrics
No merged PRs in 30d

Description

For the AzureStack modules that are used with AzureRM, when you run a command like this:

`Remove-AzsPlatformImage -Location local -Offer UbuntuServer -Publisher Canonical -Sku 16.04-LTS -Version 1.0.0`

Nothing is returned. However it reportedly should return a boolean according to its documentation:

https://docs.microsoft.com/en-us/powershell/module/azs.compute.admin/remove-azsplatformimage?view=azurestackps-2.0.2&viewFallbackFrom=azurestackps-2.5.0

Another issue is that it doesn't seem to remove the image immediately, but this is not documented anywhere. The command does not stall until the removal is complete, so either that feature should be implemented or a warning given to the user.

This issue should be verified with the AzureStack modules that are used with the newer Az modules as well.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.