CmdID / PowerShell / Cmdlets / Remove
Remove-IISSite
Removes a web site from an IIS server. Windows Server PowerShell reference
From the Windows Server PowerShell reference 3 parameters Its page in the reference
Parameters
-NameSpecifies the name of the IIS website to remove.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.