title: In order setup machine key for website to how to generate encryption key using HMACSHA256 in C#
body: <p>I tried generating machine key to update web.config manually, but I need powershell script to do the same. Can any one help me on this?</p>
  
  <p><img src="https://i.stack.imgur.com/eWsG7.png" alt="enter image description here"></p>