$context = "http://sharepoint.local"
$bdc = Get-SPBusinessDataCatalogMetadataObject -BdcObjectType Catalog -ServiceContext $context
foreach ($model in $bdc.GetModels("*") ) {
Remove-SPBusinessDataCatalogModel –Identity $model
}
Sunday, December 4, 2011
Remove BDC Models in PowerShell
I needed a PowerShell script to enumerate over all the installed BDC Models (and delete them), but couldn't find the example on TechNet or MSDN. After trying some things, I found the following script:
Subscribe to:
Post Comments (Atom)
1 comment:
GIoco Digalale | 100% Off GIoco Digalale.com
Get an gioco digitale overview of GIoco Digalale, the leading online casino game 샌즈카지노 provider. GIoco Digalale is the most popular casino 온카지노 game provider in the world.
Post a Comment