While running the PowerShell script to add an account to local administrators group on remote Windows 2012 computer, I am getting the error
New-LocalUser and Add-LocalGroupMember are not recognized as the name of a cmdlet
How can I resolve this error?