I wanted to use the FailoverClusters powershell module in Azure runbook.
Need some help or steps to install on this.
/?view=windowsserver2025-ps
Thanks
I wanted to use the FailoverClusters powershell module in Azure runbook.
Need some help or steps to install on this.
https://learn.microsoft/en-us/powershell/module/failoverclusters/?view=windowsserver2025-ps
Thanks
Share Improve this question asked Mar 20 at 16:59 Naresh EdeNaresh Ede 1814 silver badges16 bronze badges 1- 1 Did you read the purple box in your link? – jdweng Commented Mar 20 at 20:20
1 Answer
Reset to default 0FailoverClusters Powershell in Azure Runbooks
To install these kind of windows server related modules into runbooks, you need to install the feature using Install-WindowsFeature
PowerShell command by running PowerShell "Run as administrator" as detailed in the Microsoft community blog clearly. Once it is installed, import it into the automation account modules.
Alternatively, you can connect a virtual machine to automation account. Before to that, install this windows feature module directly by connecting through RDP inside the VM and add an hybrid worker automation account as shown in the below way to establish a connection between VM and automation account.
Or else, you can use Failover cluster DSC module which is available in PowerShell Gallery to take control on DSC resources as given below. You can click on "Deploy to Azure Automation" and proceed further with the authentication and deployment.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744394360a4572064.html
评论列表(0条)