Posts Tagged ‘windows2008’

how to use the servemanagercmd

17 June 2008 Leave a comment

once you’ve installed your Windows 2008 server, you would like to install a set of roles/services/features that you haven’t by default.

And then, you would like to do it via a commandline, to tell the same thing to other people, perhaps working in your services.

Well, here’s the black magic explained:

I love the -whatif option.


how to enable the compression on IIS7

13 June 2008 Leave a comment

OK, the static compression is already enabled by default. But when you need to compress the Document Manager pages, you need the dynamic compression.

So, you may proceed as follows:

install the Dynamic compression feature for your IIS role (I am speaking about Windows 2008, so…)

type the command

%systemroot%\System32\inetsrv\appcmd set config -section:urlCompression /doDynamic

and then, if you do not like 7 (default) as compression level, you can change it with

%windir%\system32\inetsrv\appcmd.exe set config -section:httpCompression -[name='gzip'].dynamicCompressionLevel:<value>

%windir%\system32\inetsrv\appcmd.exe set config -section:httpCompression -[name='gzip'].staticCompressionLevel:<value>

as a reference:

IIS.NET blog

IIS.NET forum thread