-
Notifications
You must be signed in to change notification settings - Fork 32
Function AppPool
Mark Wragg edited this page Jun 17, 2019
·
2 revisions
Test an IIS Application Pool.
Use to determine if an IIS Application Pool is running and validate various properties.
The name of the App Pool to be Tested.
[Parameter(Mandatory, Position=1, ParameterSetName="Default")]
[Parameter(Mandatory, Position=1, ParameterSetName="Property")]
[Alias("Path")]
The Property to be expanded. If ommitted, Property will default to status. Can handle nested objects within properties.
[Parameter(Position=2, ParameterSetName="Property")]
A Script Block defining a Pester Assertion.
[Parameter(Mandatory, Position=2, ParameterSetName="Default")]
[Parameter(Mandatory, Position=3, ParameterSetName="Property")]
Assertions: -Be
AppPool TestSite { Should -Be Started }
AppPool TestSite ManagedPipelineMode { Should -Be 'Integrated' }
AppPool TestSite ProcessModel.IdentityType { Should -Be 'ApplicationPoolIdentity' }
Getting Started
Contributing
Functions