-
Notifications
You must be signed in to change notification settings - Fork 32
Function WebSite
Mark Wragg edited this page Jun 17, 2019
·
2 revisions
WebSite Settings
Used To Determine if Website is Running Desired Settings
[Parameter(
Mandatory = $true,
Position = 1,
ParameterSetName = 'Set 1')]
[Parameter(
Mandatory = $true,
Position = 2,
ParameterSetName = 'Set 1')]
[Parameter(
Mandatory = $true,
Position = 3,
ParameterSetName = 'Set 1')]
Match, Be
WebSite TestSite state { Should be 'Started' }
Website TestSite physicalPath { Should be 'C:\IIS\Files\index.html' }
Website TestSite binding { Should Match '*:80*' }
Website TestSite name { Should be 'testsite' }
Website TestSite ID { Should be 1 }
Getting Started
Contributing
Functions