03 June, 2012

powershell commands for sharepoint 2010

Windows PowerShell is a command-line scripting tool that provides an administrator full access to applicable application programming interfaces (APIs), along with the ability to unlock the capability to interact directly with SharePoint 2010 Products to manipulate Web applications, site collections, sites, lists and much more. In addition, the administrator has the ability to script cmdlets (pronounced "command-lets"), which makes for an improved experience from past product versions.

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.

02 June, 2012

Media webpart is missing in SharePoint 2010

One of the best webpart/enhancement in SharePoint 2010 is MWP i.e. Media Web Part. If you are thinking about the functionality as How to use, what kind of formats are supported by this webpart, can we use it in previous versions…etc. I know there are so many questions are rolling up in your mind and here is the answer:
Coming back to the Problem and its Resolution:
If you are not able to view the Media webpart in your webpart gallery then make sure that the ‘SharePoint Server Publishing Infrastructure feature’ is activated at the site collection level.
Note: You should be a site collection administrator to activate this feature.
How to activate this feature?
·         Open the sharepoint site
·         Site actions
·         Site settings
·         Site collection administration
·         Activate ‘SharePoint Server Publishing Infrastructure feature’
·         That’s it-now you can view that webpart in webpart gallery.
One more point that I would like to share is-This feature plays a very important role at the site collection as well as at the site level.
If suppose, you are not able to view the following webparts then the activation of the above feature i.e. SharePoint Server Publishing Infrastructure feature’ will also resolves the problem.
Which are these webparts?
·         Content query webpart
·         Summary links webpart
·         Table of contents webpart
Now, you can imagine how important this feature is!!
If you have any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you J

Error while clicking Manage Content and Structure in Sharepoint 2010

Let me share some series of error messages that I have experienced while troubleshooting the issue:
Failed to retrieve the list schema for feature [FEATURE GUID], list template [TEMPLATE]; expected to find it at: ""
System.NullReferenceException: Object reference not set to an instance of an object.    at - Microsoft.SharePoint.Publishing.Internal.WebControls.ObjectSerializer.DeleteAllowed(Boolean checkPermissions)
List does not exist. The page you selected contains a list that does not exist.  It may have been deleted by another user.
As you can see from the above mentioned error messages, a hint/a clue/ray of hope is already reflected and you can easily troubleshoot the issue without asking for anybody’s help. Yes, you can resolve this issue on your own...
Let’s try to figure out some common words from these error messages “List does not exist, Object not set to an instance, failed to retrieve a list”-this suggest that some list instance/library instance has been corrupted/not working as per the expected behavior.
So now the big question arises- How to find out this corrupted instance?
It’s very easy, here are the details:
§  Open the SharePoint site
§  Site actions
§  Site settings
§  Site administration
§  Site libraries and lists
§  Click on each and every list one by one
§  The list which is corrupted/not working will throw this exception:
 List does not exist.
§  That’s it-Delete that list and you issue will be resolved. J J
Happy SharePoint once again J
If you are thinking as How to delete that list then there are so many options:
Here we go:
§  By using SharePoint Designer 2010
§  By using windows explorer
§  By using Power shell command
stsadm.exe -o forcedeletelist -url <your list url>
If you have any queries/questions regarding the above mentioned error message then please let me know. I would be more than happy to help you as well as resolves your issues J
Thank you.