List All Content Types
$site = Get-SPSite http://testsiteur
$web = $site.RootWeb
foreach ($ctype in $web.ContentTypes) {$ctype.Name+" :"+ $ctype.ID}
Get List Of Items (documents/pages) used by Content types
$webs = get-spsite http://testsiteurl | get-spwebforeach ($web in $webs)
{
foreach ($lst in $web.lists)
{
foreach ($item in $lst.Items)
{
if ($item.ContentType.Name -eq "Telefon")
{ $item.ContentType.Name +"-"+ $item.Url}
}
}
$web.Dispose()
}