powershellknifechef-infrachef-windows

How to restart a Windows VM using chef


My requirement is to restart the windows vm after the software gets installed, I am automating the entire process using chef. Is there any method for doing that?

Can we do through power shell ?
Is there any method for chef to that ?


Solution

  • The windows cookbook offers a reboot resource.