Invoke-IISWebsiteBulk
SYNOPSIS
Bulk migrate or remove IIS sites.
SYNTAX
iisFarm (Default)
Invoke-IISWebsiteBulk [-oldIIS <String[]>] [-iisFarm <String[]>] -task <UInt64> [-remove] [-migrate]
[<CommonParameters>]
iisServer
Invoke-IISWebsiteBulk [-oldIIS <String[]>] [-iisServer <String>] -task <UInt64> [-remove] [-migrate]
[<CommonParameters>]
DESCRIPTION
This function performs bulk migration or removal of IIS sites, including: - Managing host aliases in Infoblox - Creating tasks for SB Netwerk to update F5 - Logging feedback and updates in the associated HEAT task
EXAMPLES
EXAMPLE 1
Migrates IIS sites from the server "SRVIISF3PR01" to the farm "PR4" and logs the process in HEAT task 12345.
EXAMPLE 2
Removes IIS sites from the server "SRVIISQA01" and logs the process in HEAT task 67890.
PARAMETERS
-oldIIS
The farm or server of the sites to be migrated.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: @('SRVIISF3PR01')
Accept pipeline input: False
Accept wildcard characters: False
-iisFarm
The IIS farm where the sites will be migrated or removed (e.g., PR1, PR2, QA3, DV4).
Type: String[]
Parameter Sets: iisFarm
Aliases:
Required: False
Position: Named
Default value: @("DV4", "QA4", "ST4", "PR4")
Accept pipeline input: False
Accept wildcard characters: False
-iisServer
The standalone IIS server where the sites will be migrated or removed.
Type: String
Parameter Sets: iisServer
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-task
The HEAT task number where the transcript of the operation will be logged.
Type: UInt64
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-remove
A switch to indicate that the sites should be removed.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-migrate
A switch to indicate that the sites should be migrated.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.