├── .gitattributes ├── .gitignore ├── LICENSE.txt ├── README.md ├── examples ├── 01-CreateSite-Simple │ ├── IIS.ps1 │ ├── README.md │ └── Web.ps1 ├── 02-CreateSite-Advanced │ ├── IIS.ps1 │ ├── README.md │ └── Web.ps1 ├── 03-CreateVDir │ ├── IIS.ps1 │ ├── README.md │ └── Web.ps1 ├── 04-CreateAppPool │ ├── IIS.ps1 │ ├── README.md │ └── Web.ps1 ├── 05-AssigningAppPools │ ├── IIS.ps1 │ ├── README.md │ └── Web.ps1 ├── 06-CheckExists │ ├── IIS.ps1 │ ├── README.md │ └── Web.ps1 ├── 07-ChangePaths │ ├── IIS.ps1 │ ├── README.md │ └── Web.ps1 ├── 08-ChangeAuth │ ├── IIS.ps1 │ ├── README.md │ └── Web.ps1 ├── 09-ChangeLogging │ ├── IIS.ps1 │ ├── README.md │ └── Web.ps1 ├── 10-SpecificUser │ ├── IIS.ps1 │ ├── README.md │ └── Web.ps1 ├── IIS-Change-Handler-Mapping-EditFeaturePermissions.ps1 ├── _Setup.IIS.ps1 ├── _Setup.Web.ps1 ├── _Teardown.IIS.ps1 └── _Teardown.Web.ps1 ├── run.cmd └── src ├── ExampleRunner.sln ├── ExampleRunner.sln.DotSettings └── ExampleRunner ├── App.config ├── ExampleRunner.csproj ├── Generation ├── Example.cs ├── ExampleParser.cs └── ExampleWriter.cs ├── Program.cs ├── Properties └── AssemblyInfo.cs ├── TeamCitySink.cs ├── Testing ├── ScriptRunner.cs └── SilentProcessRunner.cs └── packages.config /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/README.md -------------------------------------------------------------------------------- /examples/01-CreateSite-Simple/IIS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/01-CreateSite-Simple/IIS.ps1 -------------------------------------------------------------------------------- /examples/01-CreateSite-Simple/README.md: -------------------------------------------------------------------------------- 1 | ### Creating sites (simple) 2 | 3 | -------------------------------------------------------------------------------- /examples/01-CreateSite-Simple/Web.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/01-CreateSite-Simple/Web.ps1 -------------------------------------------------------------------------------- /examples/02-CreateSite-Advanced/IIS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/02-CreateSite-Advanced/IIS.ps1 -------------------------------------------------------------------------------- /examples/02-CreateSite-Advanced/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/02-CreateSite-Advanced/README.md -------------------------------------------------------------------------------- /examples/02-CreateSite-Advanced/Web.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/02-CreateSite-Advanced/Web.ps1 -------------------------------------------------------------------------------- /examples/03-CreateVDir/IIS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/03-CreateVDir/IIS.ps1 -------------------------------------------------------------------------------- /examples/03-CreateVDir/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/03-CreateVDir/README.md -------------------------------------------------------------------------------- /examples/03-CreateVDir/Web.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/03-CreateVDir/Web.ps1 -------------------------------------------------------------------------------- /examples/04-CreateAppPool/IIS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/04-CreateAppPool/IIS.ps1 -------------------------------------------------------------------------------- /examples/04-CreateAppPool/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/04-CreateAppPool/README.md -------------------------------------------------------------------------------- /examples/04-CreateAppPool/Web.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/04-CreateAppPool/Web.ps1 -------------------------------------------------------------------------------- /examples/05-AssigningAppPools/IIS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/05-AssigningAppPools/IIS.ps1 -------------------------------------------------------------------------------- /examples/05-AssigningAppPools/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/05-AssigningAppPools/README.md -------------------------------------------------------------------------------- /examples/05-AssigningAppPools/Web.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/05-AssigningAppPools/Web.ps1 -------------------------------------------------------------------------------- /examples/06-CheckExists/IIS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/06-CheckExists/IIS.ps1 -------------------------------------------------------------------------------- /examples/06-CheckExists/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/06-CheckExists/README.md -------------------------------------------------------------------------------- /examples/06-CheckExists/Web.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/06-CheckExists/Web.ps1 -------------------------------------------------------------------------------- /examples/07-ChangePaths/IIS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/07-ChangePaths/IIS.ps1 -------------------------------------------------------------------------------- /examples/07-ChangePaths/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/07-ChangePaths/README.md -------------------------------------------------------------------------------- /examples/07-ChangePaths/Web.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/07-ChangePaths/Web.ps1 -------------------------------------------------------------------------------- /examples/08-ChangeAuth/IIS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/08-ChangeAuth/IIS.ps1 -------------------------------------------------------------------------------- /examples/08-ChangeAuth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/08-ChangeAuth/README.md -------------------------------------------------------------------------------- /examples/08-ChangeAuth/Web.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/08-ChangeAuth/Web.ps1 -------------------------------------------------------------------------------- /examples/09-ChangeLogging/IIS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/09-ChangeLogging/IIS.ps1 -------------------------------------------------------------------------------- /examples/09-ChangeLogging/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/09-ChangeLogging/README.md -------------------------------------------------------------------------------- /examples/09-ChangeLogging/Web.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/09-ChangeLogging/Web.ps1 -------------------------------------------------------------------------------- /examples/10-SpecificUser/IIS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/10-SpecificUser/IIS.ps1 -------------------------------------------------------------------------------- /examples/10-SpecificUser/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/10-SpecificUser/README.md -------------------------------------------------------------------------------- /examples/10-SpecificUser/Web.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/10-SpecificUser/Web.ps1 -------------------------------------------------------------------------------- /examples/IIS-Change-Handler-Mapping-EditFeaturePermissions.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/IIS-Change-Handler-Mapping-EditFeaturePermissions.ps1 -------------------------------------------------------------------------------- /examples/_Setup.IIS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/_Setup.IIS.ps1 -------------------------------------------------------------------------------- /examples/_Setup.Web.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/examples/_Setup.Web.ps1 -------------------------------------------------------------------------------- /examples/_Teardown.IIS.ps1: -------------------------------------------------------------------------------- 1 | Write-Host "Unloading modules" 2 | -------------------------------------------------------------------------------- /examples/_Teardown.Web.ps1: -------------------------------------------------------------------------------- 1 | Write-Host "Unloading modules" 2 | -------------------------------------------------------------------------------- /run.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/run.cmd -------------------------------------------------------------------------------- /src/ExampleRunner.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner.sln -------------------------------------------------------------------------------- /src/ExampleRunner.sln.DotSettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner.sln.DotSettings -------------------------------------------------------------------------------- /src/ExampleRunner/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner/App.config -------------------------------------------------------------------------------- /src/ExampleRunner/ExampleRunner.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner/ExampleRunner.csproj -------------------------------------------------------------------------------- /src/ExampleRunner/Generation/Example.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner/Generation/Example.cs -------------------------------------------------------------------------------- /src/ExampleRunner/Generation/ExampleParser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner/Generation/ExampleParser.cs -------------------------------------------------------------------------------- /src/ExampleRunner/Generation/ExampleWriter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner/Generation/ExampleWriter.cs -------------------------------------------------------------------------------- /src/ExampleRunner/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner/Program.cs -------------------------------------------------------------------------------- /src/ExampleRunner/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /src/ExampleRunner/TeamCitySink.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner/TeamCitySink.cs -------------------------------------------------------------------------------- /src/ExampleRunner/Testing/ScriptRunner.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner/Testing/ScriptRunner.cs -------------------------------------------------------------------------------- /src/ExampleRunner/Testing/SilentProcessRunner.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner/Testing/SilentProcessRunner.cs -------------------------------------------------------------------------------- /src/ExampleRunner/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OctopusDeploy/PowerShell-IIS-Examples/HEAD/src/ExampleRunner/packages.config --------------------------------------------------------------------------------