是否可以在 Azure Cloud Shell 中安装和使用 Desired State Configuration (DSC),如果可以,如何安装?
在 Azure Cloud Shell 提示符下,如果我运行以下命令:
Start-DscConfiguration
返回以下错误:
Start-DscConfiguration : The term 'Start-DscConfiguration' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Start-DscConfiguration
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Start-DscConfiguration:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException