Microsoft Office Tutorials and References
In Depth Information
PowerShell Commands
Now that you’ve seen how useful the BCS can be, it’s time to learn the Windows PowerShell cmdlets you can use to
configure it. These commands are shown in Tables 4-2 through 4-8 .
Table 4-2. Clear and Copy Operations
Command
Description
Clear-SPSiteSubscriptionBusinessDataCat
alogConfig
Command to delete all the data from the BDC Metadata Store for a
specific partition or site.
Example: Clear-SPSiteSubscriptionBusinessDataCatalogConfig
–ServiceContext http://yourservername
Copy-SPBusinessDataCatalogAclTo
Children
Command to copy a set of permissions to child objects from the BDC
Metadata Store object. You need to create the metadata object first
using the Get-SPBusinessDataCatalogMetadataObject command.
Example: $yourmetadataobject = Get-SPBusinessDataCatalog
MetadataObject –BdcObjectType “LobSystem” –ServiceContext
http://yoursharepointsite –Name “contentdatabase”
Copy-SPBusinessDataCatalogAclToChildren –MetadataObject
$<yourmetadataobject>
Table 4-3. Disable and Enable Operations
Command
Description
Disable-SPBusinessDataCatalogEntity
Command to disable an ECT in the BDC Metadata Store. You need to
create the metadata object first using the Get-SPBusinessDataCatalogM
etadataObject command.
Example: Disable-SPBusinessDataCatalogEntity –Identity
$<yourmetadataobject>
Enable-SPBusinessDataCatalogEntity
Command to enable an ECT in the BDC Metadata Store. You need to
retrieve entity details from metadata object first using the Get-SPBusine
ssDataCatalogMetadataObject command.
Example: Enable-SPBusinessDataCatalogEntity –Identity $<yourentity>
 
 
Search JabSto ::




Custom Search