Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Install and uninstall Dynamic HTTP Compression from PowerShell.  (Read 4718 times)

0 Members and 1 Guest are viewing this topic.

Chetan Singh

  • Full Member
  • ***
  • Posts: 123
  • Karma: +2/-0
  • Bienvenido a las Tecnologías de la Admin-Ahead.
    • Admin-Ahead Server Technologies.
Install and uninstall Dynamic HTTP Compression from PowerShell.
« on: January 25, 2014, 09:48:41 am »
Hello,

Windows PowerShell has a lot of cool features, you can manage almost all ServerManager Module by this. I am giving you an example how to manage Dynamic HTTP Compression from PowerShell.

Firstly, you need to import ServerManager Module than only you can manage role via PowerShell. Please check this out,

===================>>>
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\Windows\system32> Import-Module ServerManager
---------------------------------

PS C:\Windows\system32> ServerManagerCMD.exe -Install Web-Dyn-Compression
---------------------------------

PS C:\Windows\system32> ServerManagerCMD.exe -Remove Web-Dyn-Compression

Servermanagercmd.exe is deprecated, and is not guaranteed to be supported in future releases of Wind
at you use the Windows PowerShell cmdlets that are available for Server Manager.



Start Removal...
[Removal] Succeeded: [Web Server (IIS)] Dynamic Content Compression.
<100/100>

Success: Removal succeeded.
PS C:\Windows\system32>
===================>>>

Thank you,
Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!