This is a lightweight PowerShell module to help manage IIS instances, with support for working in PowerShell Core on Windows (including the Ubuntu prompt on Windows).
Unlike other modules, this module has no dependency on any DLLs. The only dependency is that you have IIS installed on the server (or your machine).
There is also support for binding certificates to websites, and sharing directories.
Feel free to contribute.
Install-Module -Name IISManager
Import-Module -Name IISManager
- Get-IISMAppPool
- Get-IISMAppPools
- New-IISMAppPool
- Remove-IISMAppPool
- Reset-IISMAppPool
- Restart-IISMAppPool
- Start-IISMAppPool
- Stop-IISMAppPool
- Test-IISMAppPool
- Test-IISMAppPoolRunning
- Update-IISMAppPool
- Update-IISMAppPoolProcessModel
- Update-IISMAppPoolRecycling
- Get-IISMApp
- New-IISMApp
- Remove-IISMApp
- Test-IISMApp
- Update-IISMApp
- Get-IISMDirectory
- Get-IISMDirectoryShare
- Mount-IISMDirectoryShare
- New-IISMDirectory
- Remove-IISMDirectory
- Remove-IISMDirectoryShare
- Set-IISMDirectoryCredentials
- Test-IISMDirectory
- Test-IISMDirectoryShare
- Update-IISMDirectory
- Update-IISMDirectoryPhysicalPaths
- Add-IISMSiteBinding
- Edit-IISMSiteAppPool
- Edit-IISMSitePhysicalPath
- Get-IISMSiteAppPool
- Get-IISMSiteBindingCertificate
- Get-IISMSiteBindings
- Get-IISMSitePhysicalPath
- Get-IISMSite
- Get-IISMSites
- New-IISMSite
- Remove-IISMSite
- Remove-IISMSiteBinding
- Remove-IISMSiteBindings
- Remove-IISMSiteDefaultBinding
- Remove-IISMSiteBindingCertificate
- Reset-IISMSiteAppPool
- Restart-IISMSite
- Set-IISMSiteBindingCertificate
- Start-IISMSite
- Stop-IISMSite
- Test-IISMSite
- Test-IISMSiteBinding
- Test-IISMSiteBindingCertificate
- Test-IISMSiteRunning
- Add-IISMSiteCustomLogField
- Add-IISMSiteLogField
- Clear-IISMSiteCustomLogFields
- Clear-IISMSiteLogFields
- Get-IISMSiteCustomLogFields
- Get-IISMSiteLogFields
- Get-IISMSiteLogFormat
- Get-IISMSiteLogging
- Get-IISMSiteLogPath
- Get-IISMSiteLogPeriod
- Remove-IISMSiteCustomLogField
- Remove-IISMSiteLogField
- Set-IISMSiteLogFields
- Set-IISMSiteLogPath
- Set-IISMSiteLogPeriod
- Test-IISMSiteCustomLogField
- Test-IISMSiteLogField
- Add-IISMFtpDirectoryIPSecurity
- Add-IISMFtpDirectoryAuthorization
- Add-IISMFtpServerCustomAuthentication
- Add-IISMFtpSiteCustomAuthentication
- Add-IISMFtpSiteLogField
- Clear-IISMFtpSiteLogFields
- Disable-IISMFtpSiteAuthentication
- Enable-IISMFtpSiteAuthentication
- Get-IISMFtpDirectoryAuthorization
- Get-IISMFtpDirectoryIPSecurity
- Get-IISMFtpServerCustomAuthentication
- Get-IISMFtpServerCustomAuthenticationProvider
- Get-IISMFtpSiteLogging
- Get-IISMFtpSiteLogFields
- Get-IISMFtpSiteLogPath
- Get-IISMFtpSiteLogPeriod
- Register-IISMFtpServerCustomAuthenticationProvider
- Remove-IISMFtpDirectoryAuthorization
- Remove-IISMFtpDirectoryIPSecurity
- Remove-IISMFtpServerCustomAuthentication
- Remove-IISMFtpSiteCustomAuthentication
- Remove-IISMFtpSiteLogField
- Set-IISMFtpDirectoryIPSecurityUnlisted
- Set-IISMFtpSiteLogFields
- Set-IISMFtpSiteLogPath
- Set-IISMFtpSiteLogPeriod
- Set-IISMFtpSiteSslPolicy
- Set-IISMFtpSiteUserIsolation
- Test-IISMFtpSiteLogField
- Test-IISMSiteIsFtp
- Unregister-IISMFtpServerCustomAuthenticationProvider
- Get-IISMCertificateThumbprint
- Invoke-IISMAppCommand
- New-IISMCredentials
- Reset-IISMServer
- Hosts file control
- Folder permissions via ACL