mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Adding Site_ID param
This commit is contained in:
@@ -37,6 +37,7 @@ If (($state -ne $FALSE) -and ($state -ne 'started') -and ($state -ne 'stopped')
|
||||
|
||||
# Path parameter
|
||||
$physical_path = Get-Attr $params "physical_path" $FALSE;
|
||||
$site_id = Get-Attr $params "site_id" $FALSE;
|
||||
|
||||
# Application Pool Parameter
|
||||
$application_pool = Get-Attr $params "application_pool" $FALSE;
|
||||
@@ -91,6 +92,10 @@ Try {
|
||||
$site_parameters.ApplicationPool = $application_pool
|
||||
}
|
||||
|
||||
If ($site_id) {
|
||||
$site_parameters.ID = $site_id
|
||||
}
|
||||
|
||||
If ($bind_port) {
|
||||
$site_parameters.Port = $bind_port
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user