Quantcast
Channel: .Net Scraps - SharePoint 2010
Viewing all articles
Browse latest Browse all 14

PowerShell Script to disable or enable services that consume resource on Windows 7 with SharePoint 2010 installed

$
0
0

This is small follow-up post for SharePoint 2010 - Setup your development environment for Windows 7. The reason was Pedro's reply to the post who pointed that if you are indeed using your Windows 7 desktop for SharePoint 2010 development, the performance will not be up to the mark for general day to day purposes. I totally agree to this point, and I just hate when I see a service like IIS or SQL Server consuming my RAM for no reason [while I am not doing any SharePoint development].

Here is what I do to save some of my precious RAM. Tweak this script the way you like it [and share it if you wish Smile]

Download

You need to basically extract the zip file provided above. You will get a few files…

image

I keep the cmd separate and use them to pass the arguments to SP.ps1 which is the main PowerShell file that does everything for me. The  names are pretty obvious as you can see. Right-click any file and RUN THEM AS ADMINISTRATOR!!!

Hope this helps, Wave
Rahul


Quote of the day:
I don't necessarily agree with everything I say. - Marshall McLuhan



Viewing all articles
Browse latest Browse all 14

Trending Articles