Pazar, Aralık 19, 2010

PowerShell Commands for SharePoint 2010

Here are some (over 400) PowerShell™ commands for SharePoint 2010! These can be run remotely (Powershell 2.0).
Stsadm will still be functional in SharePoint 2010. Powershell is not DOS based. Its .NET based. Smile

Windows PowerShell™ is the new command-line interface and scripting language specifically designed for system administrators that will be used for Microsoft® SharePoint® Server 2010 administration. Although both Cmd.exe and Stsadm.exe environments will be maintained for backward compatibility, SharePoint Server 2010 command-line administration will use Windows PowerShell. For practical purposes, you can view Windows PowerShell as complementing Cmd.exe in the Windows administration context and superseding Stsadm.exe for SharePoint administration. You might ask yourself, What’s so unique about Windows PowerShell? Well, unlike most command-line systems that accept and return text, Windows PowerShell supports and uses XML and objects. XML and object support is a pretty major change that brings entirely new tools and methods to greatly improve control, efficiency, and productivity for developers and administrators.

Hope you find these commands useful for the future. Be sure to bookmark this page for future reference.

SPAccessServiceApplication

Get-SPAccessServiceApplication – Gets an {Access Service} application object.

New-SPAccessServiceApplication

Set-SPAccessServiceApplication – Sets a global property for an {Access Services} application.

SPAdminJob

Start-SPAdminJob – Immediately starts any waiting administrative job on the local computer.

SPAlternateURL

Get-SPAlternateURL – Return all alternate URLs that match a given criteria.

New-SPAlternateUrl – Creates a new public or internal URL for the specified Web application zone or resource.

Remove-SPAlternateUrl – Completely deletes the specified alternate URL.

Set-SPAlternateUrl – Configures the specified alternate URL.

SPApplicationContent

Install-SPApplicationContent

SPAssignment

Start-SPAssignment – Initiates a new assignment store.

Stop-SPAssignment – Disposes of objects in the provided Assignment Collection.

SPBackupHistory

Get-SPBackupHistory

SPBlobStorageLocation

Move-SPBlobStorageLocation

SPBrowserCustomerExperienceImprovementProgram

Get-SPBrowserCustomerExperienceImprovementProgram

Set-SPBrowserCustomerExperienceImprovementProgram

SPBusinessDataCatalogAclToChildren

Copy-SPBusinessDataCatalogAclToChildren

SPBusinessDataCatalogEntity

Disable-SPBusinessDataCatalogEntity

Enable-SPBusinessDataCatalogEntity

SPBusinessDataCatalogMetadataObject

Get-SPBusinessDataCatalogMetadataObject

Grant-SPBusinessDataCatalogMetadataObject

Revoke-SPBusinessDataCatalogMetadataObject

Set-SPBusinessDataCatalogMetadataObject

SPBusinessDataCatalogModel

Export-SPBusinessDataCatalogModel

Import-SPBusinessDataCatalogModel

Remove-SPBusinessDataCatalogModel

SPBusinessDataCatalogPartition

Remove-SPBusinessDataCatalogPartition

SPBusinessDataCatalogPartitionData

Clear-SPBusinessDataCatalogPartitionData

Export-SPBusinessDataCatalogPartitionData

Import-SPBusinessDataCatalogPartitionData

SPBusinessDataCatalogServiceApplication

New-SPBusinessDataCatalogServiceApplication

Set-SPBusinessDataCatalogServiceApplication

SPBusinessDataCatalogServiceApplicationProxy

New-SPBusinessDataCatalogServiceApplicationProxy

SPBusinessDataCatalogThrottleConfig

Get-SPBusinessDataCatalogThrottleConfig

Remove-SPBusinessDataCatalogThrottleConfig

Set-SPBusinessDataCatalogThrottleConfig

SPCentralAdministration

New-SPCentralAdministration – Creates a new Central Administration Web application.

Set-SPCentralAdministration

SPCertificate

Get-SPCertificate

New-SPCertificate

Remove-SPCertificate

SPCertificateStore

Get-SPCertificateStore

SPClaimMapping

Add-SPClaimMapping

New-SPClaimMapping

Remove-SPClaimMapping

SPClaimProviderManager

Get-SPClaimProviderManager

SPClaimsObject

New-SPClaimsObject

SPClaimsPrincipal

New-SPClaimsPrincipal

SPConfigurationDatabase

Backup-SPConfigurationDatabase – Performs a configuration only backup.

Connect-SPConfigurationDatabase – Connects the computer to an existing configuration database.

Disconnect-SPConfigurationDatabase

New-SPConfigurationDatabase – Creates a new configuration database.

Remove-SPConfigurationDatabase – Permanently removes the specified configuration database.

SPContentDatabase

Check-SPContentDatabase

Dismount-SPContentDatabase

Get-SPContentDatabase

Initialize-SPContentDatabase

Mount-SPContentDatabase

New-SPContentDatabase

Remove-SPContentDatabase

Set-SPContentDatabase

Upgrade-SPContentDatabase

SPContentDeploymentJob

Get-SPContentDeploymentJob

New-SPContentDeploymentJob

Remove-SPContentDeploymentJob

Set-SPContentDeploymentJob

Start-SPContentDeploymentJob

SPContentDeploymentPath

Get-SPContentDeploymentPath

New-SPContentDeploymentPath

Remove-SPContentDeploymentPath

Set-SPContentDeploymentPath

SPCustomLayoutsPage

Get-SPCustomLayoutsPage

Set-SPCustomLayoutsPage

SPDatabase

Get-SPDatabase – Retrieves all properties of a database.

SPDataConnectionFile

Get-SPDataConnectionFile – Returns a data connection file or a collection of data connection files.

Install-SPDataConnectionFile – Installs the provided data connection file.

Set-SPDataConnectionFile – Sets properties of a data connection file.

Uninstall-SPDataConnectionFile – Removes a data connection file.

SPDataConnectionFileDependent

Get-SPDataConnectionFileDependent – Returns administrator deployed form templates on the server dependent on a Universal Data Connection (UDC).

SPDesignerSettings

Get-SPDesignerSettings

Set-SPDesignerSettings

SPDiagnosticConfig

Get-SPDiagnosticConfig

Set-SPDiagnosticConfig

SPDiagnosticsProvider

Get-SPDiagnosticsProvider

Set-SPDiagnosticsProvider

SPediscoveryHub

Set-SPediscoveryHub

SPEdiscoveryHubSearchScope

Get-SPEdiscoveryHubSearchScope

SPediscoveryHubSite

Get-SPediscoveryHubSite

SPEnterpriseSearchAdministrationComponent

Get-SPEnterpriseSearchAdministrationComponent – Returns the administration component for a shared search application.

Set-SPEnterpriseSearchAdministrationComponent – Sets properties of an administration component for a shared search application.

SPEnterpriseSearchCrawlComponent

Get-SPEnterpriseSearchCrawlComponent – Returns a crawl component for a shared search application.

New-SPEnterpriseSearchCrawlComponent – Creates a crawl component for a shared search application.

Remove-SPEnterpriseSearchCrawlComponent – Deletes a crawl component from a shared search application.

SPEnterpriseSearchCrawlContentSource

Get-SPEnterpriseSearchCrawlContentSource – Returns a crawl content source.

New-SPEnterpriseSearchCrawlContentSource – Creates a new crawl content source for a shared search application.

Remove-SPEnterpriseSearchCrawlContentSource – Deletes a specified crawl content source from a search application.

Set-SPEnterpriseSearchCrawlContentSource – Sets the properties of a crawl content source for a shared search application.

SPEnterpriseSearchCrawlCustomConnector

Get-SPEnterpriseSearchCrawlCustomConnector

New-SPEnterpriseSearchCrawlCustomConnector

Remove-SPEnterpriseSearchCrawlCustomConnector

SPEnterpriseSearchCrawlDatabase

Get-SPEnterpriseSearchCrawlDatabase – Returns a crawl store.

New-SPEnterpriseSearchCrawlDatabase – Adds a crawl store to a shared search application.

Remove-SPEnterpriseSearchCrawlDatabase – Deletes a content crawl store.

Set-SPEnterpriseSearchCrawlDatabase

SPEnterpriseSearchCrawlExtension

Get-SPEnterpriseSearchCrawlExtension – Returns the extension rule for the extension collection.

New-SPEnterpriseSearchCrawlExtension – Adds an extension rule to a shared search application.

Remove-SPEnterpriseSearchCrawlExtension – Removes a file name extension from the list of files that can be crawled.

SPEnterpriseSearchCrawlMapping

Get-SPEnterpriseSearchCrawlMapping – Returns a crawl mapping for the search application.

New-SPEnterpriseSearchCrawlMapping – Creates a crawl mapping rule for a shared search application.

Remove-SPEnterpriseSearchCrawlMapping – Deletes a crawl mapping.

SPEnterpriseSearchCrawlRule

Get-SPEnterpriseSearchCrawlRule – Output an CrawlRule Object.

New-SPEnterpriseSearchCrawlRule – Output an CrawlRule Object.

Remove-SPEnterpriseSearchCrawlRule – Output an CrawlRule Object.

Set-SPEnterpriseSearchCrawlRule – Output an CrawlRule Object.

SPEnterpriseSearchCrawlTopology

Get-SPEnterpriseSearchCrawlTopology – Returns a crawl topology.

New-SPEnterpriseSearchCrawlTopology – Adds a crawl topology to a shared search application.

Remove-SPEnterpriseSearchCrawlTopology – Deletes a crawl topology.

Set-SPEnterpriseSearchCrawlTopology – Sets the properties of a crawl topology on a shared search application.

SPEnterpriseSearchExtendedClickThroughExtractorJobDefinition

Get-SPEnterpriseSearchExtendedClickThroughExtractorJobDefinition

SPEnterpriseSearchExtendedConnectorProperty

Get-SPEnterpriseSearchExtendedConnectorProperty

Set-SPEnterpriseSearchExtendedConnectorProperty

SPEnterpriseSearchExtendedQueryProperty

Get-SPEnterpriseSearchExtendedQueryProperty

Set-SPEnterpriseSearchExtendedQueryProperty

SPEnterpriseSearchIndexPartition

Get-SPEnterpriseSearchIndexPartition – Returns an index partition for a query topology.

Set-SPEnterpriseSearchIndexPartition – Sets properties of an index partition for a query topology.

SPEnterpriseSearchLanguageResourcePhrase

Get-SPEnterpriseSearchLanguageResourcePhrase – Returns a language resource phrase.

New-SPEnterpriseSearchLanguageResourcePhrase – Adds a language resource phrase to a shared search application.

Remove-SPEnterpriseSearchLanguageResourcePhrase – Deletes a language resource phrase from a shared search application.

SPEnterpriseSearchManagerService

Get-SPEnterpriseSearchManagerService – Returns the search manager service.

SPEnterpriseSearchManagerServiceInstance

Get-SPEnterpriseSearchManagerServiceInstance – Returns the service manager service instance.

Start-SPEnterpriseSearchManagerServiceInstance – Starts an instance of a search manager service.

Stop-SPEnterpriseSearchManagerServiceInstance – Stops an instance of a search manager service.

SPEnterpriseSearchManagerServiceProxy

Get-SPEnterpriseSearchManagerServiceProxy – Returns the search manager service proxy.

SPEnterpriseSearchMetadataCategory

Get-SPEnterpriseSearchMetadataCategory – Returns a crawled property category.

New-SPEnterpriseSearchMetadataCategory – Adds a crawled property category to a shared search application.

Remove-SPEnterpriseSearchMetadataCategory – Deletes a crawled property category.

Set-SPEnterpriseSearchMetadataCategory – Sets properties of a crawled property category for a shared search application.

SPEnterpriseSearchMetadataCrawledProperty

Get-SPEnterpriseSearchMetadataCrawledProperty – Returns a crawled property.

New-SPEnterpriseSearchMetadataCrawledProperty – Adds a crawled property category to a shared search application.

Set-SPEnterpriseSearchMetadataCrawledProperty – Sets the properties of a metadata crawled property for a shared search application.

SPEnterpriseSearchMetadataManagedProperty

Get-SPEnterpriseSearchMetadataManagedProperty – Returns a managed property.

New-SPEnterpriseSearchMetadataManagedProperty – Adds a managed property to a shared search application.

Remove-SPEnterpriseSearchMetadataManagedProperty – Deletes a metadata managed property.

Set-SPEnterpriseSearchMetadataManagedProperty – Sets the properties of a metadata managed property.

SPEnterpriseSearchMetadataMapping

Get-SPEnterpriseSearchMetadataMapping – Returns the current state of a managed property mapping.

New-SPEnterpriseSearchMetadataMapping – Adds a managed property mapping to a shared search application.

Remove-SPEnterpriseSearchMetadataMapping – Deletes a metadata mapping from a managed property.

Set-SPEnterpriseSearchMetadataMapping – Sets the properties of a managed property mapping for a shared search application.

SPEnterpriseSearchPropertyDatabase

Get-SPEnterpriseSearchPropertyDatabase – Returns a property store.

New-SPEnterpriseSearchPropertyDatabase – Adds a new property store to a shared search application.

Remove-SPEnterpriseSearchPropertyDatabase – Deletes a property store.

Set-SPEnterpriseSearchPropertyDatabase

SPEnterpriseSearchQueryAuthority

Get-SPEnterpriseSearchQueryAuthority – Returns an authoritative page.

New-SPEnterpriseSearchQueryAuthority – Adds an authoritative page to a shared search application.

Remove-SPEnterpriseSearchQueryAuthority – Deletes an authoritative page.

Set-SPEnterpriseSearchQueryAuthority – Sets the properties of an authoritative page for a shared search application.

SPEnterpriseSearchQueryComponent

Get-SPEnterpriseSearchQueryComponent – Returns a query component.

New-SPEnterpriseSearchQueryComponent – Adds a query component to a query topology.

Remove-SPEnterpriseSearchQueryComponent – Deletes a query component.

Restart-SPEnterpriseSearchQueryComponent

Set-SPEnterpriseSearchQueryComponent

SPEnterpriseSearchQueryDemoted

Get-SPEnterpriseSearchQueryDemoted – Returns a demoted site rule.

New-SPEnterpriseSearchQueryDemoted – Adds a demoted site rule to a shared search application.

Remove-SPEnterpriseSearchQueryDemoted – Deletes a demoted site rule.

SPEnterpriseSearchQueryKeyword

Get-SPEnterpriseSearchQueryKeyword – Returns a keyword term.

New-SPEnterpriseSearchQueryKeyword – Adds a keyword term to a shared search application.

Remove-SPEnterpriseSearchQueryKeyword – Deletes a query keyword.

Set-SPEnterpriseSearchQueryKeyword – Sets the properties of a keyword term for a shared search application.

SPEnterpriseSearchQueryScope

Get-SPEnterpriseSearchQueryScope – Returns a query results scope.

New-SPEnterpriseSearchQueryScope – Adds a query results scope to a shared search application.

Remove-SPEnterpriseSearchQueryScope – Deletes a query scope.

Set-SPEnterpriseSearchQueryScope – Sets the properties of a query results scope for a shared search application.

SPEnterpriseSearchQueryScopeRule

Get-SPEnterpriseSearchQueryScopeRule – Returns a shared scope rule.

New-SPEnterpriseSearchQueryScopeRule – Adds a shared scope rule to a query scope.

Remove-SPEnterpriseSearchQueryScopeRule – Deletes query results scope rules.

Set-SPEnterpriseSearchQueryScopeRule – Sets the properties of a shared scope rule for a query scope.

SPEnterpriseSearchQuerySuggestionCandidates

Get-SPEnterpriseSearchQuerySuggestionCandidates

SPEnterpriseSearchQueryTopology

Get-SPEnterpriseSearchQueryTopology – Returns a query topology.

New-SPEnterpriseSearchQueryTopology – Adds a query topology to a shared search application.

Remove-SPEnterpriseSearchQueryTopology – Deletes a query topology.

Set-SPEnterpriseSearchQueryTopology – Sets the properties of a query topology for a shared search application.

SPEnterpriseSearchRankingModel

Get-SPEnterpriseSearchRankingModel – Returns a ranking model.

New-SPEnterpriseSearchRankingModel – Adds a ranking model to a shared search application.

Remove-SPEnterpriseSearchRankingModel – Deletes a ranking model.

Set-SPEnterpriseSearchRankingModel – Sets the properties of a ranking model for a shared search application.

SPEnterpriseSearchSecurityTrimmer

Get-SPEnterpriseSearchSecurityTrimmer – Returns a custom security trimmer.

New-SPEnterpriseSearchSecurityTrimmer – Adds a custom security trimmer to a shared search application.

Remove-SPEnterpriseSearchSecurityTrimmer – Deletes a custom security trimmer.

SPEnterpriseSearchService

Get-SPEnterpriseSearchService – Returns the search service for the farm.

Set-SPEnterpriseSearchService – Sets the properties of a search service for a farm.

SPEnterpriseSearchServiceApplication

Get-SPEnterpriseSearchServiceApplication – Returns the search service application for a farm.

New-SPEnterpriseSearchServiceApplication – Adds a search service application to a farm.

Remove-SPEnterpriseSearchServiceApplication – Deletes a search service application.

Restore-SPEnterpriseSearchServiceApplication

Set-SPEnterpriseSearchServiceApplication – Sets the properties of a search service application for a farm.

Upgrade-SPEnterpriseSearchServiceApplication

SPEnterpriseSearchServiceApplicationProxy

Get-SPEnterpriseSearchServiceApplicationProxy – Returns the search service application proxy.

New-SPEnterpriseSearchServiceApplicationProxy – Adds a site hit rule for a search application.

Remove-SPEnterpriseSearchServiceApplicationProxy – Deletes a search service application proxy.

Set-SPEnterpriseSearchServiceApplicationProxy – Sets properties of a search service application proxy.

SPEnterpriseSearchServiceInstance

Get-SPEnterpriseSearchServiceInstance – Returns the search service instance for a farm.

Set-SPEnterpriseSearchServiceInstance – Sets the properties of a search service instance.

Start-SPEnterpriseSearchServiceInstance – Starts an instance of a search service.

Stop-SPEnterpriseSearchServiceInstance – Stops an instance of a search service.

SPEnterpriseSearchSiteHitRule

Get-SPEnterpriseSearchSiteHitRule – Returns shared site hit rule.

New-SPEnterpriseSearchSiteHitRule – Output an SiteHitRule Object.

Remove-SPEnterpriseSearchSiteHitRule – Output an SiteHitRule Object.

SPEnterpriseSearchTopology

Export-SPEnterpriseSearchTopology – Saves an existing search topology.

Import-SPEnterpriseSearchTopology – Imports and activates a topology from an XML file.

SPExcelBlockedFileType

Get-SPExcelBlockedFileType

New-SPExcelBlockedFileType

Remove-SPExcelBlockedFileType

SPExcelDataConnectionLibrary

Get-SPExcelDataConnectionLibrary

New-SPExcelDataConnectionLibrary

Remove-SPExcelDataConnectionLibrary

Set-SPExcelDataConnectionLibrary

SPExcelDataProvider

Get-SPExcelDataProvider

New-SPExcelDataProvider

Remove-SPExcelDataProvider

Set-SPExcelDataProvider

SPExcelFileLocation

Get-SPExcelFileLocation

New-SPExcelFileLocation

Remove-SPExcelFileLocation

Set-SPExcelFileLocation

SPExcelServiceApplication

Get-SPExcelServiceApplication – Gets an {Excel Service} application object.

New-SPExcelServiceApplication -

Set-SPExcelServiceApplication – Sets a global property for an {Excel Services} application.

SPExcelUserDefinedFunction

Get-SPExcelUserDefinedFunction

New-SPExcelUserDefinedFunction

Remove-SPExcelUserDefinedFunction

Set-SPExcelUserDefinedFunction

SPFarm

Backup-SPFarm – Creates a backup of an individual database, Web application, or the entire farm.

Get-SPFarm – Returns the local SharePoint farm.

Restore-SPFarm

SPFarmConfig

Get-SPFarmConfig

Set-SPFarmConfig

SPFarmEncryptionKey

Update-SPFarmEncryptionKey – Changes the farm encryption key to a new value and re-encrypts all data currently encrypted with the current farm encryption key with the new one.

SPFeature

Disable-SPFeature – Disables an installed feature at a given scope.

Enable-SPFeature – Enables an installed feature at the given scope.

Get-SPFeature – Returns the features based on a give scope.

Install-SPFeature – Install a feature using the Feature.xml file.

Uninstall-SPFeature – Uninstalls an installed feature definition.

SPFeatureSet

Get-SPFeatureSet

New-SPFeatureSet

Remove-SPFeatureSet

SPFeatureSetMember

Add-SPFeatureSetMember

Remove-SPFeatureSetMember

SPHelpCollection

Get-SPHelpCollection

Install-SPHelpCollection – Install the provided help collection files.

Uninstall-SPHelpCollection

SPIdentityProvider

Get-SPIdentityProvider

New-SPIdentityProvider

Remove-SPIdentityProvider

Set-SPIdentityProvider

SPIisWebServiceApplicationPool

Get-SPIisWebServiceApplicationPool – Returns the specified Internet Information Services (IIS) Application pool.

New-SPIisWebServiceApplicationPool – Creates a new Web service application pool.

Remove-SPIisWebServiceApplicationPool – Completely deletes the specified Web service application pool.

Set-SPIisWebServiceApplicationPool – Changes the account used for the Identity of the specified application pool.

SPIisWebServiceSettings

Get-SPIisWebServiceSettings – Returns the common Web Service settings.

Set-SPIisWebServiceSettings – Configures one or more common settings for all Web services.

SPInfoPathAdministrationFiles

Export-SPInfoPathAdministrationFiles – Saves form templates on the SharePoint Central Administration Web site and UDCX files to a CAB file.

Import-SPInfoPathAdministrationFiles – Imports form templates and UDCX files located on the SharePoint Central Administration Web site.

SPInfoPathFormsService

Get-SPInfoPathFormsService – Returns the forms service settings in the farm.

Set-SPInfoPathFormsService – Sets paramaters for the InfoPath Forms Services.

SPInfoPathFormTemplate

Disable-SPInfoPathFormTemplate – Deactivate a form template from the specified site collection.

Enable-SPInfoPathFormTemplate – Activates a form template in the specified site collection.

Get-SPInfoPathFormTemplate – Returns an InfoPath form template.

Install-SPInfoPathFormTemplate – Installs an InfoPath form template on a farm.

Set-SPInfoPathFormTemplate – Sets properties of an InfoPath form template.

Start-SPInfoPathFormTemplate – Unquieces an InfoPath form template on a farm after an upgrade.

Stop-SPInfoPathFormTemplate – Disables an InfoPath form template on a farm before an upgrade.

Test-SPInfoPathFormTemplate – Validates that a form template can be browser-enabled.

Uninstall-SPInfoPathFormTemplate – Removes a form template from a farm.

Update-SPInfoPathFormTemplate – Upgrades all forms templates on the farm.

SPInfoPathUrl

Update-SPInfoPathUrl – Executes InfoPath XSN/UDC fix-up on SharePoint Services.

SPInfoPathUserAgent

Add-SPInfoPathUserAgent – Adds a user agent to a farm.

Get-SPInfoPathUserAgent – Returns a user agent or all the currently defined user agents for the farm.

Remove-SPInfoPathUserAgent – Removes a user agent.

SPInfoPathWebServiceProxy

Get-SPInfoPathWebServiceProxy – Returns the Web proxy settings for the Web application.

Set-SPInfoPathWebServiceProxy – Sets parameters for an existing SharePoint Web service application.

SPLogEvent

Get-SPLogEvent

SPLogFile

Merge-SPLogFile

New-SPLogFile

SPLogLevel

Clear-SPLogLevel

Get-SPLogLevel

Set-SPLogLevel

SPManagedAccount

Get-SPManagedAccount – Retrieves accounts registered in configuration database.

New-SPManagedAccount – Registers a new managed account.

Remove-SPManagedAccount – Removes a managed account from the farm.

Set-SPManagedAccount – Configures the managed account.

SPManagedPath

Get-SPManagedPath – Returns all managed paths that match the given criteria.

New-SPManagedPath – Creates a new managed path for the given Web application for all host header site collections.

Remove-SPManagedPath – Deletes the specified managed path from the specified host header or Web application.

SPMetadataServiceApplication

Get-SPMetadataServiceApplication – Get a MetadataWebServiceApplication instance

New-SPMetadataServiceApplication – Create a Metadata Shared Service Application

Set-SPMetadataServiceApplication – Set properties on a Metadata Shared Service Application

SPMetadataServiceApplicationProxy

Get-SPMetadataServiceApplicationProxy – Get a MetadataWebServiceApplicationProxy instance

New-SPMetadataServiceApplicationProxy – Create proxy for remote or local Metadata shared service application

Set-SPMetadataServiceApplicationProxy – Update metadata proxy settings

SPMetadataWebServicePartitionData

Clear-SPMetadataWebServicePartitionData

Export-SPMetadataWebServicePartitionData

Import-SPMetadataWebServicePartitionData

SPMobileMessagingAccount

Get-SPMobileMessagingAccount – Retrieves mobile messaging accounts for the specified Web application.

Set-SPMobileMessagingAccount – Configures the specified mobile messaging account.

SPObaSolutionPackage

New-SPObaSolutionPackage

SPObjectSecurity

Get-SPObjectSecurity – Returns the security information for the specified service application.

SPParentFarmTrust

Get-SPParentFarmTrust

New-SPParentFarmTrust

Remove-SPParentFarmTrust

Set-SPParentFarmTrust

SPPassPhrase

Set-SPPassPhrase – Sets the Passphrase to a new value.

SPProcessAccount

Get-SPProcessAccount

SPProduct

Get-SPProduct – Returns a list of the SharePoint related products installed in the farm and the versions of all updates installed for each of them.

SPProfileServiceApplication

New-SPProfileServiceApplication

Set-SPProfileServiceApplication

SPProfileServiceApplicationProxy

New-SPProfileServiceApplicationProxy

Set-SPProfileServiceApplicationProxy

SPProfileServiceApplicationTenant

Add-SPProfileServiceApplicationTenant

Export-SPProfileServiceApplicationTenant

Import-SPProfileServiceApplicationTenant

Remove-SPProfileServiceApplicationTenant

Set-SPProfileServiceApplicationTenant

SPResourceSecurity

Initialize-SPResourceSecurity

SPSearchService

Get-SPSearchService – Returns a search service.

Set-SPSearchService – Sets properties of a search service.

SPSearchServiceInstance

Get-SPSearchServiceInstance – Returns an instance of a search service.

Set-SPSearchServiceInstance – Sets properties of a search service instance.

SPSecureStoreApplication

Get-SPSecureStoreApplication

New-SPSecureStoreApplication

Remove-SPSecureStoreApplication

Set-SPSecureStoreApplication

SPSecureStoreApplicationField

New-SPSecureStoreApplicationField

SPSecureStoreApplicationServerKey

Update-SPSecureStoreApplicationServerKey

SPSecureStoreCredentialMapping

Clear-SPSecureStoreCredentialMapping

Update-SPSecureStoreCredentialMapping

SPSecureStoreGroupCredentialMapping

Update-SPSecureStoreGroupCredentialMapping

SPSecureStoreMasterKey

Update-SPSecureStoreMasterKey

SPSecureStoreServiceApplication

New-SPSecureStoreServiceApplication

Set-SPSecureStoreServiceApplication

SPSecureStoreServiceApplicationProxy

New-SPSecureStoreServiceApplicationProxy

SPSecureStoreTargetApplication

New-SPSecureStoreTargetApplication

SPSecurityTokenService

Get-SPSecurityTokenService

SPServer

Get-SPServer – Returns the server(s) in the farm that match the given identity.

Rename-SPServer – Renames a server that is currently connected to the farm.

SPServiceApplication

Get-SPServiceApplication – Return the specified service application.

Grant-SPServiceApplication – Grants a user account access to the Service Application.

Publish-SPServiceApplication – Share the specified local Service Application outside the farm.

Remove-SPServiceApplication – Deletes the specified service application on the local server.

Revoke-SPServiceApplication – Revokes a user’s access to a service application.

Set-SPServiceApplication

Unpublish-SPServiceApplication – Stop sharing the specified service application outside the farm.

SPServiceApplicationProxy

Get-SPServiceApplicationProxy – Returns an instance of the specified Service Application Proxy.

Remove-SPServiceApplicationProxy – Delete the specified service application proxy.

SPServiceApplicationProxyGroup

Get-SPServiceApplicationProxyGroup – Returns the proxy group for the specified service application.

New-SPServiceApplicationProxyGroup – Creates a new service application proxy group.

Remove-SPServiceApplicationProxyGroup – Completely deletes the specified service application proxy group.

SPServiceApplicationProxyGroupMember

Add-SPServiceApplicationProxyGroupMember – Adds a member to the service application proxy group.

Remove-SPServiceApplicationProxyGroupMember – Removes one or more proxies from the specified service application proxy group.

SPServiceContext

Get-SPServiceContext

SPServiceEndpoint

Get-SPServiceEndpoint

Set-SPServiceEndpoint

SPServiceInstance

Get-SPServiceInstance – Returns the services instance for a specific server or the farm.

Start-SPServiceInstance – Starts the Service Instance for a Service on a specific server or the farm.

Stop-SPServiceInstance – Stops the Service Instance for a Service.

SPSessionStateService

Disable-SPSessionStateService

Enable-SPSessionStateService

Get-SPSessionStateService

Set-SPSessionStateService

SPSharedServiceApplicationInfo

Receive-SPSharedServiceApplicationInfo

SPSingleSignOn

Disable-SPSingleSignOn – Disables the SharePoint Single Sign On service

SPSingleSignOnDatabase

Upgrade-SPSingleSignOnDatabase – Upgrades the SSO 12 data to a Secure Store database

SPSite

Backup-SPSite – Performs a backup of a site collection.

Get-SPSite – Returns all site collections that match the given criteria.

New-SPSite – Creates a new site collection at the specified URL.

Remove-SPSite – Completely deletes an existing site collection and all sub-sites.

Restore-SPSite – Restores a site collection.

Set-SPSite – Configures the specified sites.

SPSiteAdministration

Get-SPSiteAdministration – Returns a site administration object which allows a farm administrator to view certain information about site collections they may not have access to.

Set-SPSiteAdministration – Allows farm administrators to configure any site collection.

SPSiteSubscription

Get-SPSiteSubscription – Returns the site subscription for the given URL or all site subscriptions in the local farm.

New-SPSiteSubscription – Creates a new site subscription.

Remove-SPSiteSubscription – Removes a site subscription along with all contained site collections and settings.

SPSiteSubscriptionConfig

Get-SPSiteSubscriptionConfig

Set-SPSiteSubscriptionConfig

SPSiteSubscriptionMetadataConfig

Get-SPSiteSubscriptionMetadataConfig

Remove-SPSiteSubscriptionMetadataConfig

Set-SPSiteSubscriptionMetadataConfig

SPSiteSubscriptionSettings

Export-SPSiteSubscriptionSettings

Import-SPSiteSubscriptionSettings

Remove-SPSiteSubscriptionSettings

SPSolution

Add-SPSolution

Get-SPSolution

Install-SPSolution

Remove-SPSolution

Uninstall-SPSolution

Update-SPSolution

SPSolutionDeploymentLock

Remove-SPSolutionDeploymentLock

SPStateServiceApplication

Get-SPStateServiceApplication

New-SPStateServiceApplication

Set-SPStateServiceApplication

SPStateServiceApplicationProxy

Get-SPStateServiceApplicationProxy

New-SPStateServiceApplicationProxy

Set-SPStateServiceApplicationProxy

SPStateServiceDatabase

Dismount-SPStateServiceDatabase

Get-SPStateServiceDatabase

Initialize-SPStateServiceDatabase

Mount-SPStateServiceDatabase

New-SPStateServiceDatabase

Remove-SPStateServiceDatabase

Resume-SPStateServiceDatabase

Set-SPStateServiceDatabase

Suspend-SPStateServiceDatabase

SPSubscriptionSettingsServiceApplication

New-SPSubscriptionSettingsServiceApplication

Set-SPSubscriptionSettingsServiceApplication

SPSubscriptionSettingsServiceApplicationProxy

New-SPSubscriptionSettingsServiceApplicationProxy

SPTaxonomySession

Get-SPTaxonomySession – Get a TaxonomySession instance

SPTimerJob

Disable-SPTimerJob

Enable-SPTimerJob

Get-SPTimerJob

Set-SPTimerJob

Start-SPTimerJob

SPTopologyWebServiceApplication

Get-SPTopologyWebServiceApplication

Set-SPTopologyWebServiceApplication

SPTopologyWebServiceProxy

Get-SPTopologyWebServiceProxy

Set-SPTopologyWebServiceProxy

SPUsageApplication

Get-SPUsageApplication

New-SPUsageApplication

Remove-SPUsageApplication

Set-SPUsageApplication

SPUsageDefinition

Get-SPUsageDefinition

Set-SPUsageDefinition

SPUsageLogFile

New-SPUsageLogFile

SPUsageService

Get-SPUsageService

Set-SPUsageService

SPUser

Get-SPUser – Returns the user(s) that match a given search criteria.

Move-SPUser – Migrates a user account in .

New-SPUser – Adds an existing user to a site with the designated permissions.

Remove-SPUser – Removes a user from a web site.

Set-SPUser – Configures properties on an existing user.

SPUserProfilePhotoStore

Update-SPUserProfilePhotoStore

SPUserSolution

Add-SPUserSolution

Get-SPUserSolution

Install-SPUserSolution

Remove-SPUserSolution

Uninstall-SPUserSolution

Update-SPUserSolution

SPVisioExternalData

Get-SPVisioExternalData – Returns the settings for external data connections for a Visio Service application.

Set-SPVisioExternalData

SPVisioPerformance

Get-SPVisioPerformance – Returns the Visio Graphics Services settings for the performance of a Visio Service application.

Set-SPVisioPerformance – Sets performance properties for a Visio Services application.

SPVisioSafeDataProvider

Get-SPVisioSafeDataProvider – Returns the settings of a safe data provider for a Visio Services application.

New-SPVisioSafeDataProvider – Adds a new data provider to a Visio Services application.

Remove-SPVisioSafeDataProvider – Removes a data provider from a Visio Services application.

Set-SPVisioSafeDataProvider – Specifies a description of a safe data provider for a Visio Services application.

SPVisioServiceApplication

Get-SPVisioServiceApplication – Returns properties of a Visio Services application or a collection of Visio Services applications.

New-SPVisioServiceApplication – Adds a new Visio Services application to a farm.

Remove-SPVisioServiceApplication – Removes a Visio Services application from a farm.

Set-SPVisioServiceApplication – Sets the ServiceApplicationPool property of a Visio Services application.

SPVisioServiceApplicationProxy

Get-SPVisioServiceApplicationProxy – Returns properties of a Visio Services application proxy or a collection of Visio Services application proxies.

New-SPVisioServiceApplicationProxy – Adds a new Visio Services application proxy to a farm.

Remove-SPVisioServiceApplicationProxy – Removes a Visio Services application proxy from a farm.

SPWeb

Export-SPWeb – Exports a site collection, Web application, list, or library.

Get-SPWeb – Returns all sub-sites that match the given criteria.

Import-SPWeb – Imports a site collection, Web application, list, or library.

New-SPWeb – Creates a new sub-site under any existing site collection.

Remove-SPWeb – Completely deletes the specified Web.

Set-SPWeb – Configures the specified sub-site.

SPWebAnalyticsServiceApplication

Get-SPWebAnalyticsServiceApplication – Returns the settings for a Web Analytics Service application.

New-SPWebAnalyticsServiceApplication – Adds a new Web Analytics Service application to the farm.

Set-SPWebAnalyticsServiceApplication – Sets properties of a Web Analytics Service application.

SPWebAnalyticsServiceApplicationProxy

New-SPWebAnalyticsServiceApplicationProxy – Adds a new Web Analytics Service application proxy to the farm.

SPWebApplication

Get-SPWebApplication – Returns all Web applications that match the given criteria.

New-SPWebApplication – Creates a new Web application within the local farm.

Remove-SPWebApplication – Deletes the specified Web application.

Set-SPWebApplication – Configure the specified Web application.

SPWebApplicationExtension

New-SPWebApplicationExtension – Creates a new zone instance for the Web application.

SPWebApplicationHttpThrottling

Disable-SPWebApplicationHttpThrottling

Enable-SPWebApplicationHttpThrottling

SPWebApplicationHttpThrottlingMonitor

Set-SPWebApplicationHttpThrottlingMonitor

SPWebApplicationHttpThrottlingMonitors

Get-SPWebApplicationHttpThrottlingMonitors

SPWebApplicationSiginRedirectUrl

Set-SPWebApplicationSiginRedirectUrl

SPWebPartPack

Get-SPWebPartPack – Return the Web part packages installed for the specified scope.

Install-SPWebPartPack – Installs the specified Web part package to the specified location.

Uninstall-SPWebPartPack – Uninstall the specified Web part package.

SPWebTemplate

Get-SPWebTemplate – Displays all globally installed site templates that match the given identity.

Install-SPWebTemplate – Installs the given site template.

Set-SPWebTemplate – Changes the title and description of an installed site template.

Uninstall-SPWebTemplate – Uninstall the given site template.

SPWordConversionServiceApplication

New-SPWordConversionServiceApplication – Creates a new service application.

Set-SPWordConversionServiceApplication – Sets parameters on a service application.

SPWordConversionServiceApplicationProxy

New-SPWordConversionServiceApplicationProxy – Creates a new service application proxy.

SPWorkflowConfig

Get-SPWorkflowConfig – Returns workflow settings for the specified Web application.

Set-SPWorkflowConfig – Configures the workflow settings for the specified Web application.

Cumartesi, Aralık 18, 2010

SharePoint 2010 Performance and Capacity planning

For those wanting to dig deeper into SharePoint 2010 products performance and Capacity planning, Microsoft has published some very good documents on performance tests, results and recommendations. Again, this is for those Admins who want to dig deeper into SharePoint 2010. It could help if you are creating design documents or archtecture for SharePoint 2010 for your organisation.

Even if you arent looking yet, I suggest you book mark this page. One day you may need it! I know I have and would like to share it with you!

These documents contain scenario based testing of various SharePoint 2010 Service Applications and features. They discuss recommendations by Microsoft on hardware resources, architecture and configuration to maximise and enhance the SharePoint 2010 experience.

AccessServicesCapacityPlanningDoc.docx
BCSCapacityPlanningDoc.docx
DesigningLargeListsMaximizingListPerformance.docx
ExcelServicesCapacityPlanningDoc.docx
InfoPath2010CapacityPlanningDoc.docx
LargeScaleDocRepositoryCapacityPlanningDoc.docx
MySitesSocialComputingCapacityPlanningDoc.docx
OfficeWebAppsCapacityPlanningDoc.docx
SearchforSPServer2010CapacityPlanningDoc.docx
SharePointServerCachesPerformance.docx
VisioServicesCapacityPlanningDoc.docx
WASCapacityPlanningDoc.docx
WCMCapacityPlanningDoc.docx
WebAnalyticsCapacityPlanningDoc.docx
WorkflowCapacityPlanningDoc.docx

 

Here is the link:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=fd1eac86-ad47-4865-9378-80040d08ac55&displaylang=en

Cuma, Aralık 17, 2010

SharePoint 2010 - Important StatusStatus: This page has been declared a record or placed on hold and is locked as read-only

In SharePoint 2010, you may experience this message on your page that you are trying to edit/view:
Important StatusStatus: This page has been declared a record or placed on hold and is locked as read-only

Solution:
1. Ensure that no other users have checked-in the page. You may have to ensure that the page has been Checked-out for you to to edit the page.
2. Ensure you have the appropriate permissions to edit the page.

Perşembe, Aralık 16, 2010

SharePoint 2010 Search issue Internal server error exception. Troubleshoot issues Correlation ID

When you search in SharePoint 2010, you may get the following error:

Error

Internal server error exception

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: de2996f1-a6c9-42fb-a6da-e5fc7d769069

Solution:

You will have to install the following hotfix

http://go.microsoft.com/fwlink/?LinkID=166231

For Windows Server 2008 R2, Hotfix for.NET Framework 3.5 SP1 that provides a method to support the token authentication without transport security or message encryption in WCF (http://go.microsoft.com/fwlink/?LinkID=166231).

Salı, Aralık 14, 2010

Remote BLOB Storage – RBS SharePoint 2010

Microsoft SharePoint 2010 caters for farms with large storage needs. SharePoint 2010 has implemented RBS – Remote Storage BLOB. With RBS, you can store BLOBs from the all_docs table and customised pages in the database stored in different location from the database, such as a file system in your network! This reduces the amount of database storage in SQL. To use RBS, a “provider” is required. The RBS provider architecture is ‘plug n play’ with SharePoint 2010. This means that third-party vendors can create and sell their own RBS provider products commercially with specific capabilities. (idea!).

For example, a third party backup vendor can use an RBS provider as part of their backup and restore capability.

The RBS architecture provides another degree of freedom for the storage of content. Its intention is to be used natively by SharePoint during the upgrade process and by third party vendors that provide storage benefits as a service.

Pazartesi, Aralık 13, 2010

SharePoint 2010 error when trying to delete a managed account: An object in the SharePoint administrative framework, SPManagedAccount Name=managed-account could not be deleted because other objects depend on it. Update all of these dependants to point to null or different objects and retry this operation.

After deleting a Service Application, you may want to clear up the corresponding managed account that you created for the Service Application.

You may run into this error when attempting to delete the managed account in SharePoint Central Administration:

An object in the SharePoint administrative framework, SPManagedAccount Name=managed-account could not be deleted because other objects depend on it.  Update all of these dependants to point to null or different objects and retry this operation.

Solution:

    Remove the dependency, which is a Service Application Pool that may depend on this managed account.
    Get-SPServiceApplicationPool (to get a list of the Application Pools, you will need to take note of the name for the next powershell cmdlet).
    Remove-SPServiceApplicationPool (then enter the name of the Application Pool). Remove the Managed account via Powershell or through the GUI
    Get-SPManagedAccount
    Remove-SPManagedAccount