使用PowerShell删除自定义图像 [英] Delete a Custom image using PowerShell
本文介绍了使用PowerShell删除自定义图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找如何使用PowerShell删除自定义图像。
I'm looking for how to delete a custom image using PowerShell.
推荐答案
这将删除图像:
This removes an image:
删除-AnlandRmImage
Remove-AzureRmImage
[-ResourceGroupName]< String> [-ImageName]< String> [-Force] [-AsJob] [-DefaultProfile< IAzureContextContainer>] [-WhatIf] [ - 确认] [< CommonParameters>]
示例:
Example:
Remove-AzureRmImage -ResourceGroupName 'ResourceGroup01' -ImageName 'Image01' -Force;
$
这篇关于使用PowerShell删除自定义图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文