Wednesday 21 September 2011

IIS PowerShell Module on Windows 7

I've just got round to installing the PowerShell Module for IIS 7. This was not a straightforward task.

I got some of the following errors:

Import-Module : File C:\Windows\system32\WindowsPowerShell\v1.0\Modules\WebAdministration\WebAdministrationAliases.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.


Import-Module : The following error occurred while loading the extended type data file: Microsoft.PowerShell, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\WebAdministration\iisprovider.types.ps1xml : File skipped because it was already present from "Microsoft.PowerShell".


The following blog post was very helpful in getting this installed and working:
IIS Workstation: Troubleshooting: IIS Powershell Module on Windows 7 RC

Speeding up Visual Studio

Do you find that Visual Studio is not fast enough for you? There are several guides and options you can tweak to improve performance.

Improve your hardware
  • 4Gb of RAM
  • Dual or Quad core processor
  • Solid State Drive(SSD) hard drive and install Visual studio and project files to this disk.

If this is not possible, try to tweak you visual experience.  One of the more comprehensive guides I found on this is here:
Ultimate Guide to speed up Visual Studio

Thursday 8 September 2011

Rogue VSMacro80 folder

I've just rebuilt my machine after a hard disk crash, so lost most of my Visual Studio settings. Since the rebuild I've noticed that a VSMacro80 folder is appearing in my projects folder.  Every time I deleted it, it always seemed to return.

The solution is to update your projects location path:
Visual Studio -> Tools -> Options -> Projects and Solutions

Ensure that the path ends in a trailing slash. e.g. c:\Projects\