param(
[string]$SiteURL
)
Try
{
Remove-SPSite -Identity $SiteURL -Confirm:$false
}
Catch
{
write-host "Exception Message: $($_.Exception.Message)"
}
[string]$SiteURL
)
Try
{
Remove-SPSite -Identity $SiteURL -Confirm:$false
}
Catch
{
write-host "Exception Message: $($_.Exception.Message)"
}
No comments:
Post a Comment