Powershell Script to assign computers to roles

Hi Team,

We have created Roles now need to assign computers to the roles through Powershell Script.

“Computer Assignment to Roles” through Powershell Script.