Hi All I refereed the below post and came up with the below code for changing the password for a user $Command = "sudo passwd TestUser"...

read more