UPDATE 10/25/2012:SharePoint 2013 PowerShell Cmdlets: Changes from Public Preview to RTM for additional changes with SharePoint 2013 RTM.

In my last post I identified all the new and removed cmdlets in SharePoint 2013 Public Preview. In this post I will identify all the cmdlets which have changed in some way from SharePoint 2010 to SharePoint 2013. This process was extremely tedious so it’s possible I’ve missed some things (in some cases parameters were just in a different order and in other cases I had to deal with differences in how PowerShell V3 outputs syntax information compared with how PowerShell V2 does it so I basically had to look at well over a thousand lines worth of differences to identify the real differences).

Note: To compile this list I used SharePoint 2010 SP1 with no Cumulative Updates (CU) so it is possible that some of the changes identified are actually available in SharePoint 2010 via a CU. Also, this article is based on the Public Preview of SharePoint 2013 released in July 2012 – it is entirely possible and expected that much of this will change with the RTM version.

Farm / General

Connect-SPConfigurationDatabase

  1. The [-SkipRegisterAsDistributedCacheHost] switch parameter was added.

New-SPConfigurationDatabase

  1. The [-SkipRegisterAsDistributedCacheHost] switch parameter was added.

Get-SPWebTemplate

  1. The [-CompatibilityLevel <int>] parameter was added.

Set-SPDiagnosticConfig

  1. The [-AppAnalyticsAutomatedUploadEnabled] parameter was added.

Set-SPUsageDefinition

  1. The [-DaysToKeepUsageFiles <int>] parameter was added.
  2. The [-MaxTotalSizeInBytes <long>] parameter was added.

Set-SPUsageService

  1. The [-UsageLogMaxFileSizeKB <UInt32>] parameter was added.

Databases

Mount-SPContentDatabase

  1. The [-UpdateUserExperience] switch parameter was removed. Visual upgrade is no longer supported so this parameter is no longer necessary.
  2. The [-SkipIntegrityChecks] switch parameter was added.
  3. The [-NoB2BSiteUpgrade] switch parameter was added.

Test-SPContentDatabase

  1. The [-ShowLocation] switch parameter was added to both parameter sets.
  2. The [-ExtendedCheck] switch parameter was added to both parameter sets.

Update-SPContentDatabase

  1. The [-UpdateUserExperience] switch parameter was removed from both parameter sets.
  2. The [-UseSnapshot] switch parameter was added to both parameter sets.
  3. The [-SkipIntegrityChecks] switch parameter was added to both parameter sets.
  4. The [-NoB2BSiteUpgrade] switch parameter was added to both parameter sets.

Features and Solutions

Enable-SPFeature

  1. A new parameter set was added which now accepts a [-CompatibilityLevel <int>] parameter. Interestingly it doesn’t accept an URL parameter so I’m not sure what the intention is in terms of being able to activate the feature. Betting that this one will change with RTM.

Install-SPFeature

  1. The [-CompatibilityLevel <int>] parameter was added to the default parameter set (the one that takes a “-Path” parameter).

Uninstall-SPFeature

  1. The [-CompatibilityLevel <int>] parameter was added.

Install-SPSolution

  1. The [-FullTrustBinDeployment] switch parameter was added to the default parameter set.
  2. The [-AddToLatestVersion] switch parameter was added to the default parameter set.

Update-SPSolution

  1. The [-FullTrustBinDeployment] switch parameter was added.

Install-SPWebPartPack

  1. The [-AddToLatestVersion] switch parameter was added to all parameter sets.
  2. The [-Path <string>] parameter and corresponding parameter set was removed.

Web Applications, Site Collections, and Sites

Export-SPWeb

  1. The [-AppLogFilePath <string>] parameter was added.

Get-SPSite

  1. The [-CompatibilityLevel <int>] parameter was added to all parameter sets.

New-SPSite

  1. The [-CompatibilityLevel <int>] parameter was added.
  2. The [-OverrideCompatibilityRestriction] switch parameter was added.

Restore-SPSite

  1. The [-PreserveSiteID] switch parameter was added to both parameter sets.

Set-SPSite

  1. The [-SharingType <string>] parameter was added to the default parameter set.

New-SPWebApplication

  1. The [-UserSettingsProvider <SPUserSettingsProviderPipeBind>] parameter was added.

User Profile Services

Add-SPProfileSyncConnection

  1. The [-ConnectionUseDisabledFilter <bool>] parameter was added.
  2. The [-ConnectionFilterOutUnlicensed <bool>] parameter was added.

Remove-SPProfileSyncConnection

  1. The [-ConnectionForestName <string>] parameter was added.
  2. The [-ConnectionServerName <string>] parameter was added.

Remove-SPSiteSubscriptionProfileConfig

  1. A new parameter set was added which adds -ServiceContext <SPServiceContextPipeBind> and removes [-Identity <SPSiteSubscriptionPipeBind> and -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind>.

Update-SPProfilePhotoStore

  1. The [-OldBaseUri <Uri>] parameter was added.
  2. The [-NewBaseUri <Uri>] parameter was added.

Managed Metadata Services

Clear-SPMetadataWebServicePartitionData

  1. The [-Identity <SPSiteSubscriptionPipeBind>] parameter was added to the existing parameter set.
  2. A new parameter set was added which accepts a new [-ServiceContext <SPServiceContextPipeBind>] parameter and the existing -ServiceProxy parameter.

Export-SPMetadataWebServicePartitionData

  1. The [-NoCompression] switch parameter was added.

New-SPMetadataServiceApplication

  1. A new parameter set was added which adds the following required parameters to those available in the default parameter set: -GroupsPerPartition <int> -TermSetsPerPartition <int> -TermsPerPartition <int> -LabelsPerPartition <int> -PropertiesPerPartition <int>.
  2. A new parameter set was added which adds the -DisablePartitionQuota switch parameter to the default parameter set.

Set-SPMetadataServiceApplication

  1. A new parameter set was added which adds the following required parameters to those available in the default parameter set: -GroupsPerPartition <int> -TermSetsPerPartition <int> -TermsPerPartition <int> -LabelsPerPartition <int> -PropertiesPerPartition <int>.
  2. A new parameter set was added which adds the -DisablePartitionQuota switch parameter to the default parameter set.

Search Services

Get-SPEnterpriseSearchMetadataCategory

  1. The [-Tenant <Guid>] parameter was added.
  2. The [-SiteCollection <Guid>] parameter was added.

Get-SPEnterpriseSearchMetadataCrawledProperty

  1. The [-Tenant <Guid>] parameter was added.
  2. The [-SiteCollection <Guid>] parameter was added.

Get-SPEnterpriseSearchMetadataManagedProperty

  1. The [-Tenant <Guid>] parameter was added.
  2. The [-SiteCollection <Guid>] parameter was added.

Get-SPEnterpriseSearchMetadataMapping

  1. The [-Tenant <Guid>] parameter was added.
  2. The [-SiteCollection <Guid>] parameter was added.

Get-SPEnterpriseSearchQueryAuthority

  1. The -Owner <SearchObjectOwner> required parameter was added.

Get-SPEnterpriseSearchQueryDemoted

  1. The -Owner <SearchObjectOwner> required parameter was added.

Get-SPEnterpriseSearchSuggestionCandidates

  1. The -Owner <SearchObjectOwner> required parameter was added.
  2. The [-SourceId <Guid>] parameter was added.

Get-SPEnterpriseSearchRankingModel

  1. The -Owner <SearchObjectOwner> required parameter was added.

New-SPEnterpriseSearchCrawlComponent

  1. The [-CrawlTopology <CrawlTopologyPipeBind>] parameter was removed.
  2. The [-CrawlDatabase <CrawlStorePipeBind>] parameter was removed.
  3. The [-IndexLocation <string>] parameter was removed.
  4. The -SearchTopology <SearchTopologyPipeBind> required parameter was added.

New-SPEnterpriseSearchCrawlDatabase

  1. The [-Dedicated] switch parameter was removed.

New-SPEnterpriseSearchLanguageResourcePhrase

  1. The -Owner <SearchObjectOwner> required parameter was added.
  2. The [-SourceId <Guid>] parameter was added.

New-SPEnterpriseSearchMetadataCrawledProperty

  1. The [-Tenant <Guid>] parameter was added.
  2. The [-SiteCollection <Guid>'] parameter was added.

New-SPEnterpriseSearchMetadataManagedProperty

  1. The [-Queryable <bool>] parameter was added.
  2. The [-IncludeInAlertSignature <bool>] parameter was added.
  3. The [-Tenant <Guid>] parameter was added.
  4. The [-SiteCollection <Guid>'] parameter was added.

New-SPEnterpriseSearchMetadataMapping

  1. The [-Tenant <Guid>] parameter was added.
  2. The [-SiteCollection <Guid>'] parameter was added.

New-SPEnterpriseSearchQueryAuthority

  1. The -Owner <SearchObjectOwner> required parameter was added.

New-SPEnterpriseSearchQueryDemoted

  1. The -Owner <SearchObjectOwner> required parameter was added.

New-SPEnterpriseSearchRankingModel

  1. The -Owner <SearchObjectOwner> required parameter was added.

New-SPEnterpriseSearchServiceApplication

  1. The [-SearchApplicationType <Nullable\1>]` parameter was removed.

Remove-SPEnterpriseSearchMetadataManagedProperty

  1. The [-Tenant <Guid>] parameter was added.
  2. The [-SiteCollection <Guid>'] parameter was added.

Remove-SPEnterpriseSearchQueryAuthority

  1. The -Owner <SearchObjectOwner> required parameter was added.

Remove-SPEnterpriseSearchQueryDemoted

  1. The -Owner <SearchObjectOwner> required parameter was added.

Remove-SPEnterpriseSearchRankingModel

  1. The -Owner <SearchObjectOwner> required parameter was added.

Restore-SPEnterpriseSearchServiceApplication

  1. The [-AdminApplicationPool <SPIisWebServiceApplicationPoolPipeBind>] parameter was removed from both parameter sets.

Set-SPEnterpriseSearchCrawlContentSource

  1. The [-EnableContinuousCrawls <bool>] parameter was added to all parameter sets.

Set-SPEnterpriseSearchCrawlDatabase

  1. The [-Shared] parameter was removed.

Set-SPEnterpriseSearchMetadataManagedProperty

  1. The [-IncludeInAlertSignature <bool>] parameter was added.
  2. The [-Tenant <Guid>] parameter was added.
  3. The [-SiteCollection <Guid>] parameter was added.

Set-SPEnterpriseSearchMetadataMapping

  1. The [-Tenant <Guid>] parameter was added.
  2. The [-SiteCollection <Guid>] parameter was added.

Set-SPEnterpriseSearchQueryAuthority

  1. The -Owner <SearchObjectOwner> required parameter was added.

Set-SPEnterpriseSearchRankingModel

  1. The -Owner <SearchObjectOwner> required parameter was added.

Excel Services

New-SPExcelServiceApplication

  1. The [-UseEffectiveUserName] switch parameter was added to both parameter sets.
  2. The [-WorkbookModelUsageTracker <string>] parameter was added to both parameter sets.
  3. A new parameter set was added which removes the [-UnattendedAccountApplicationId <string>] parameter and adds the [UnattendedServiceAccount <PSCredential>] parameter. This is a great change as it means we can now easily set the unattended service account just by specifying the credentials rather than trying to figure out how to create the target application.

Set-SPExcelServiceApplication

  1. The [-UseEffectiveUserName] switch parameter was added to both parameter sets.
  2. The [-WorkbookModelUsageTracker <string>] parameter was added to both parameter sets.
  3. A new parameter set was added which removes the [-UnattendedAccountApplicationId <string>] parameter and adds the [UnattendedServiceAccount <PSCredential>] parameter. This is the same change we see for the New-SPExcelServiceApplication cmdlet.

PerformancePoint Services

New-SPPerformancePointServiceApplication

  1. The [-FilterSearchResultsMax <int>] parameter was added.
  2. The [-UseEffectiveUserName <bool>] parameter was added.
  3. The [-DataSourceUnattendedServiceAccountTargetApplication <string>] parameter was added.

Set-SPPerformancePointServiceApplication

  1. The [-FilterSearchResultsMax <int>] parameter was added.
  2. The [-UseEffectiveUserName <bool>] parameter was added.
  3. The [-DataSourceUnattendedServiceAccountTargetApplication <string>] parameter was added.

Visio Services

Set-SPVisioPerformance

  1. The [-MaxCacheSize <long>] parameter was added.

Word Conversion Services

Set-SPWordConversionServiceApplication

  1. The [-MaximumSyncConversionRequests <int>] parameter was added.

Trusted Tokens and Trusted Root Authorities

New-SPTrustedIdentityTokenIssuer

  1. Now supports the [-WhatIf] and [-Confirm] common switch parameters.
  2. A new parameter set was added which adds [-MetadataEndPoint <Uri>] and removes [-ImportTrustCertificate <X509Certificate2>].

Set-SPTrustedIdentityTokenIssuer

  1. Now supports the [-WhatIf] and [-Confirm] common switch parameters.
  2. A new parameter set was added which adds [-MetadataEndPoint <Uri>] and removes [-Certificate <X509Certificate2>].

New-SPTrustedServiceTokenIssuer

  1. Now supports the [-WhatIf] and [-Confirm] common switch parameters.
  2. A new parameter set was added which adds [-MetadataEndPoint <Uri>] and removes [-Certificate <X509Certificate2>].

Set-SPTrustedServiceTokenIssuer

  1. Now supports the [-WhatIf] and [-Confirm] common switch parameters.
  2. A new parameter set was added which adds [-MetadataEndPoint <Uri>] and removes [-Certificate <X509Certificate2>].

New-SPTrustedRootAuthority

  1. Now supports the [-WhatIf] and [-Confirm] common switch parameters.
  2. A new parameter set was added which adds [-MetadataEndPoint <Uri>] and removes [-Certificate <X509Certificate2>].

Set-SPTrustedRootAuthority

  1. Now supports the [-WhatIf] and [-Confirm] common switch parameters.
  2. A new parameter set was added which adds [-MetadataEndPoint <Uri>] and removes [-Certificate <X509Certificate2>].

Users

New-SPUser

  1. The [-MobileNumber <string>] parameter was removed.

Set-SPUser

  1. The [-MobileNumber <string>] parameter was removed.