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"












