You need to
have a machine administrator privileges to run this cmdlet
Many times, when
we run the power shell cmdlet, we get the error in power shell with not good red
color ”need to have machine administrator privileges”. Even though we logged
into the server with our Admin account and account added in local administrator
group of server and has special privileges.
Solution: This is a very know issue, that we
get the error when we run the management shell or power shell with our account.
We need to
run the power shell with the built-in Administrator. Check the below screen to
run.
hello Anil, i am getting this error when i try to automate sharepoint backup using powerscript. how can i write a script that will run the powershell as admin?
ReplyDelete