Check whether the specified Web site is a Meeting Workspace in SharePoint 2010 using Powershell

 

## Check whether the specified Web site was created by using a Meeting Workspace template

$siteURL="http://serverName:26413/sites/Vijai"

$site=Get-SPSite $siteURL

$web=$site.OpenWeb()

if ([Microsoft.SharePoint.Meetings.SPMeeting]::IsMeetingWorkspaceWeb($web))

{

    Write-Host -ForegroundColor Green $web.Url " is a meeting workspace"

}

else

{

    Write-Host -ForegroundColor Green $web.Url " is not a meeting workspace"

}

$web.Dispose()

$site.Dispose()