Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Run the powershell script as administrator and in Sharepoint Management shell

$
0
0

Hi

Does anyone know what to enter in my script to make it automatically run as administrator and in the Sharepoint management pwoershell?

My script contains code that needs it to run as an administrator. I would love to be able to start my Powershellscript using my own program.bat. But just couldnt figure out how to make it run with the elevated status and in sharepoint management powershell.

best regards

Bjørn


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>