如何找到Azure PowerShell版本? [英] How do I find the Azure PowerShell version?

查看:196
本文介绍了如何找到Azure PowerShell版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要通过cmdlet代码找到已安装的Azure PowerShell版本.如何找到Azure PowerShell版本?

I need to find the installed Azure PowerShell version through cmdlets code. How do I find the Azure PowerShell version?

注意:除cmdlet代码外,也欢迎使用.

Note: Other than cmdlets code is also welcome.

推荐答案

使用:

(Get-Module azure).Version

这将返回已安装的Azure PowerShell的版本.

This will return version of installed Azure PowerShell.

这篇关于如何找到Azure PowerShell版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆