Showing posts with label Powershell. Show all posts
Showing posts with label Powershell. Show all posts

06 June, 2014

Backup Site collection, Subsite, List / Library - SharePoint 2013

Hello Guys, today I am going to share one of my interesting topics in SharePoint 2013. This is an important one that you have to be ‘aware of’ as it belongs to recovery model. Yes, you are absolutely right; I am talking about Backup-Restore methods in SharePoint 2013.

Microsoft SharePoint 2013 has comes up with so many enhancements and backup restore is one of them. I will try my best here to cover the backup-restore based on GUI (Graphical User Interface) and Powershell so that you will be proficient enough to work on these mentioned methods independently.

Backup Operations

Backup operations are associated with:
-Site collection
-Subsite
-List and Document Libraries

[How to take the backup of SharePoint 2013 site collection using PowerShell]

Here is the complete syntax:-
Backup-SPSite -Identity <SiteCollectionGUIDorURL> -Path <BackupFile> [-Force] [-NoSiteLock] [-UseSqlSnapshot] [-Verbose]

Backup-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak

[How to take the backup of SharePoint 2013 subsite /List / Library using PowerShell]

Here is the complete syntax:-
Export-SPWeb http://site –Path "site export.cmp"

[LIST / LIBRARY BACKUP]
export-spweb -identity http://URLOFYOURSITE -path \\servershare\AMOL\AMYLIST.cmp -itemurl /NAMEOFYOURLIST

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.

15 May, 2013

Create Site Collections, Subsites, Custom List by using PowerShell- SharePoint 2010


Creating of subsites, site collections, custom lists, and document libraries can be easily created by using GUI (i.e. Graphical User Interface) – very easy-correct? But let me tell you guys that all this activities are easier if you do it by using PowerShell. That’s why I am sharing the same so that you can use the following things in day to day activities.



What we are going to check in this article?
-Creation of site collections
-Creation of subsites
-Creation of custom list’s

HOW TO CREATE A SUBSITE IN SHAREPOINT 2010 BY USING POWERSHELL?

New-SPWeb –url<new site url> -name <new site name> -template <template name>

SUBSITE CREATION ALONG WITH SOME ADDITIONAL PARAMETERS:

New-SPWeb –url http://sharepoint2010/sites/MOSS2010/SUB2010 -name "All about SUBSITES" -template STS#0 –AddToTopNav –UniquePermissions –UseParentTopNav

HOW TO CREATE SITE COLLECTION IN SHAREPOINT 2010 USING POWERSHELL?

$siteURL = “http://sharepoint2010/sites/MOSS2010;

$owner = “moss2010/SPAdministrator1”

$secondOwner = “moss2010/SPAdministrator2”

$template = “STS#0″

$description = “PowerShell created Site Collection”

New-SPSite $siteURL -OwnerAlias $owner -SecondaryOwnerAlias $secondOwner -name “PowerShell for SharePoint” -Template $template -Description $description

HOW TO CREATE A CUSTOM LIST IN SHAREPOINT 2010 BY USING POWERSHELL?

$SPAssignment = Start-SPAssignment

$SPWeb = Get-SPWeb http://siteURL -AssignmentCollection $spAssignment

$SPWeb.ListTemplates | Select Name, Description

$SPTemplate = $SPWeb.ListTemplates["Custom List"]

$SPWeb.Lists.Add("List Title","Description",$SPTemplate)

If you have any queries/questions regarding the above mentioned information then please let me know, Thank you.

30 April, 2013

A positional parameter cannot be found that accepts argument SharePoint 2010

Problem Description:
Let me tell you that you will face this error while executing PowerShell commands. I have experienced the same while executing ‘add solution’ command.

Error Message:
A positional parameter cannot be found that accepts argument

You might laugh when I will tell you the resolutions in reference to the above as it’s so simple.

Resolution:
-Check the literal path that you have provided, most probably that’s the only reason when this command throws an exception.

Make sure that you providing the path in double quotation marks. That’s it.

Please amend the changes and you will successfully execute the command that you are working on.

In case of any queries/questions then please let me know, Thank you.

26 April, 2013

The local farm is not accessible

Problem Description:
I have my SharePoint development environment and recently install some security updates of Windows Server 2008 R2. When I try to run SharePoint Shell Command i get the error: "The local farm is not accessible.

Error Message:
The local farm is not accessible

I was shocked to see this message and started checking the farm – web applications, site collections, SQL server is accessible or not …so many things...But let me tell you this is a generic error message and nothing to do with the farm availability.

Reason:  This is happening because you tried running the PowerShell with a user account that is not an administrator in SharePoint.

Resolution:  use your farm account by which you have installed SharePoint.

How to change and use the farm account?
-start
-All Programs
-Microsoft SharePoint 2010 Products
-Shift+Right click on SharePoint 2010 Management PowerShell
-You will get the option named as “Run as different user”
-enter the credentials and you are good to go :)

If you have any queries/questions regarding the above mentioned information then please let me know.

22 April, 2013

How to overwrite or disable the List View Threshold value for particular list in SharePoint 2010 Using PowerShell


If you want to overwrite or disable the threshold limit of List View items for particular list then execute the following cmdlets in Powershell.

$WebApplication = Get-SPWeb http://<SiteCollectionName>

$List = $WebApplication.Lists["List Name"]

$List.EnableThrottling = $false

$List.Update()

There is one property of SPList called "Enable Throttling" which has to be set to false to overwrite the threshold limit set on Web Application for all the lists.

I hope this is helpful and If you have any questions then please let me know, Thank you.

Applies to SharePoint Server 2010.

02 December, 2012

Add, Deploy, Remove and Delete Solutions in SharePoint 2010

What is solution package?

A solution package is a distribution package that delivers your custom SharePoint Server 2010 development work to the Web servers or the application servers in your server farm.

-Adding and Deploying Solutions in SharePoint 2010-
·         How to add solution package SharePoint 2010?
·         How to add a .WSP in SharePoint 2010?
Add solution with STSADM: stsadm.exe -o addsolution -filename yoursolutionpackage.wsp
Add solution with PowerShell: Add-SPSolution -LiteralPath <SolutionPath>
-Deploy Solution in SharePoint 2010-
·         Deploy Solution using Central Administration
·         Deploy Solution using stsadm.exe
·         Deploy Solution using PowerShell
Deploy Solution using Central Administration
·         Central Administration
·         System Settings
·         Manage farm solutions
·         Now click your solution from the list (for example, yoursolutionname.wsp).
·         Now click Deploy Solution and select the web application where you want to deploy the solution (example, http://sp-mach here), Click OK when you are done.
·         Click Deploy Solution
·         You are done with deployment.
Deploy Solution using STSADM.EXE
stsadm -o deploysolution -name yoursolutionpackagename.wsp -url http://sp-mach/ -local  -force

Here (-URL) means the web application where to deploy the solution.

Deploy Solution using PowerShell
Install-SPSolution -Identity <SolutionName> -WebApplication <URLname>
§  <SolutionName> is the name of the solution.

§  <URLname> is the URL of the Web application to which you want to deploy the imported solution.

Uninstallation and Retraction of a Solution in SharePoint 2010
Follow the steps for STSADM:

Open command prompt and navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN

Use the stsadm command = stsadm -o retractsolution -name solutionName.wsp -immediate

And then remove the wsp = stsadm -o deletesolution -name solutionName.wsp

Follow the steps for PowerShell:

Go to All Programs --Microsoft SharePoint 2010 Products --SharePoint 2010 Management Shell --Run as administrator

Uninstall-SPSolution -identity solutionName.wsp

Remove-SPSolution -identity solutionName.wsp

If you have any queries/questions regarding the above mentioned information then please let me know, Thank you.

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.