Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

how to open SharePoint management shell with window powershell v1.0

$
0
0

Hello,

I need to open Administrator: SharePoint 2010 management shell prompt with window powershell v1.0without adding PSSnapin "Microsoft.SharePoint.PowerShell" in Windows PowerShell.

I am trying below code which is not working for me. 

Start-Process "C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe -NoExit " & ' C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\POWERSHELL\Registration\sharepoint.ps1 ' "" -ArgumentList "-File F:\R_Code\Script_PowerShell\ihrms\cpy2SP.PS1"
Read-Host -Prompt "Press Enter to exit"


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

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