Comodo powershel snap-in, from http://www.harbar.net/archive/2010/05/03/adding-sharepoint-2010-poweshell-cmdlets-to-your-powershell-ise.aspx:
# creates a local user powershell ISE profile
if (!(test-path $profile ))
{new-item -type file -path $profile -force}# opens it for edit
psEdit $profile# copy the following into the new file and save it
cd 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\POWERSHELL\Registration'
.\SharePoint.ps1
cd \# now everytime you run powershell ise as the same user - it will load the SP cmdlets automatically on start up
No comments:
Post a Comment