• Retrieve the list of Content Types in MOSS 2007 using PowerShell

      MOSS 2007 [ void ][System.Reflection.Assembly]::LoadWithPartialName( "Microsoft.SharePoint" ) | out-null Write-host ".." Write-host ".." Write-host "Get a list of Content types" $site = new -object Microsoft.SharePoint.SPSite( "http://spweb/extend" ); # specify url here foreach ($web...