SharePoint IIS-Management Scripts

Rating: No reviews yet
Downloads: 3437
Released: Mar 16, 2009
Updated: Apr 18, 2009 by ChrisRit
Dev status: Beta Help Icon

Recommended Download

Application Delete-OrphanedPool.ps1
application, 3K, uploaded Apr 18, 2009 - 1099 downloads

Other Available Downloads

Application AssignIP.ps1
application, 4K, uploaded Apr 17, 2009 - 804 downloads
Example AssignIP_Config.xml
example, 1K, uploaded Apr 17, 2009 - 641 downloads
Application RecoverPass.ps1
application, 2K, uploaded Apr 17, 2009 - 893 downloads

Release Notes

These scripts enable configuration of any IIS Virtual-Server underlying the WSS/MOSS architecture. The aim is to help administrators who ever wants to managed hidden properties (non-exposed in central administration site or stsadm), while using a safe globally managed approach.
This include but is not limited to :
  • IP Adress and other biding assignment
  • Home Directory change
  • IIS Log move
  • and much more to come (feel free to submit any query)...

IP Assignement script and configuration file usage
The assignIP powershell script changes server bindings of one to many web Application identified by their url and V-Server name so that the IIS start listening on a dedicated IP only. This IP can be the same on multiple server (Virtual Adress) or a dedicated one (Thus restricting MOSS to a specific network adapter).

You can execute the script with this command :
  • powershell .\AssignIP.ps1 AssignIPConfig.xml {log.txt}
You will need to specify the appropriate parameters in the xml file before

Retrieve/Recover any application pools password command syntax
The RecoverPass powershell script takes 3 parameters in the following order :
  • powershell .\RecoverPass.ps1 {isAdminPool} {ApplicationPoolName} {log.txt}
    • RecoverPass.ps1 $true to get the central administration password
    • RecoverPass.ps1 $false to get all the content application pools pass
    • RecoverPass.ps1 $false "SharePoint - 80" to get the identity of the process of Applications Pool which have names sounding like "SharePoint - 80"

Delete orphaned Pools usage:
The Delete-OrphanedPool.ps1 is designed to remove SharePoint reference to an old application pool that is preserved after a web application is deleted. The application may no longer be used and is somehow some noise for admin when looking at service account page in central admin v3. Use it as follow to clear your dev env.
  • powershell .\Delete-OphanedPool.ps1 "{ApplicationPoolName" {log.txt}

Reviews for this release

No reviews yet for this release.