Showing posts with label PowerShell. Show all posts
Showing posts with label PowerShell. Show all posts

Wednesday, November 26, 2014

Stop forcefully SharePoint Search Crawl through PowerShell

Sometime, it happens that we want to stop search crawl but from Central Administration Site, Stop Crawl link doesn’t work. To stop Search Crawl forcefully in SharePoint, we can use this script.

Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | ForEach-Object {
    if ($_.CrawlStatus -ne "Idle")
    {
        Write-Host "Stopping : Crawl is currently running for content source $($_.Name)..."
        $_.StopCrawl()
    }
}

Wednesday, April 30, 2014

SQL remote blob storage must be installed on each web front end server and on the content database before it may be used.


While enabling Remote Blob Storage on SharePoint servers, we need to run these PowerShell commands to enable RBS.

$cdb = Get-SPContentDatabase WSS_Content_5000  #Set you database name
$rbss = $cdb.RemoteBlobStorageSettings
$rbss.Installed()
$rbss.Enable()
$rbss.SetActiveProviderName($rbss.GetProviderNames()[0])


When you run this line $rbss.Enable(), sometimes we get error and it says, “SQL remote blob storage must be installed on each web front end server and on the content database before it may be used.”


To resolve this problem, we need to restart all servers in the Farm. After restarting, it will work like a charm.

Wednesday, November 7, 2012

Download SharePoint 2013 Pre-requisites in one go

When I started installation of SharePoint Server 2013 RTM on Windows Server 2012 virtual machine, I got an error screen showing that I have to install pre-requisites for SharePoint 2013.

ErrorScreen

I found a very nice blog post where all downloadable links for required pre-requisites software are listed. Have a look at here. http://blogs.msdn.com/b/ocarpen/archive/2012/07/31/sharepoint-2013-preview-pre-requisites-download-links.aspx

In the above mentioned blog post, another post is mentioned where I found a cool PowerShell script which downloads all required software for me automatically. I just need to run that script and after some time, all required components will be downloaded in desired location on my disk. URL for this post is http://wellytonian.com/2012/07/sharepoint-2013-pre-requisites-downloader/

I am posting that script here too in case (for any reason) that blog post is removed. Copy this script and paste in a PS1 file and run it with PowerShell.

###############SharePoint 2013 Pre Requisite Software Downloader############
############################################################################
###Author: Aben Samuel####Date:27/10/2012###################################
##########Version:2#########################################################
#####URL#####EDIT IF Microsoft Makes Changes to the URL#####################
$UrlList = ("http://download.microsoft.com/download/1/E/3/1E3220BD-1D17-4EE7-8D7F-333422D1BA4B/enu_netfx/x64/netfx_full_x64.msi", # Microsoft .NET Framework 4.5
"http://download.microsoft.com/download/5/2/B/52B59966-3009-4F39-A99E-3732717BBE2A/Windows6.1-KB2506143-x64.msu", # Windows Management Framework 3.0 (CTP2)
"http://download.microsoft.com/download/9/1/3/9138773A-505D-43E2-AC08-9A77E1E0490B/1033/x64/sqlncli.msi", #Microsoft SQL Server 2008 r2 Native Client
"http://download.microsoft.com/download/D/7/2/D72FD747-69B6-40B7-875B-C2B40A6B2BDD/Windows6.1-KB974405-x64.msu", #Windows Identity Foundation (KB974405)
"http://download.microsoft.com/download/E/0/0/E0060D8F-2354-4871-9596-DC78538799CC/Synchronization.msi", # Microsoft Sync Framework Runtime v1.0 SP1 (x64)
"http://download.microsoft.com/download/A/6/7/A678AB47-496B-4907-B3D4-0A2D280A13C0/WindowsServerAppFabricSetup_x64.exe", #Windows Server AppFabric
"http://download.microsoft.com/download/0/1/D/01D06854-CA0C-46F1-ADBA-EBF86010DCC6/r2/MicrosoftIdentityExtensions-64.msi", # Windows Identity Extensions
"http://download.microsoft.com/download/9/1/D/91DA8796-BE1D-46AF-8489-663AB7811517/setup_msipc_x64.msi", # Microsoft Information Protection and Control Client
"http://download.microsoft.com/download/8/F/9/8F93DBBD-896B-4760-AC81-646F61363A6D/WcfDataServices.exe", # Microsoft WCF Data Services 5.0
"http://download.microsoft.com/download/7/B/5/7B51D8D1-20FD-4BF0-87C7-4714F5A1C313/AppFabric1.1-RTM-KB2671763-x64-ENU.exe" # CU Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
)
####Destination Directory for the files to be downloaded######################
$DestPath = "C:\SP2013B2"
######################################DO NOT EDIT BELOW THIS LINE##################################################
###################################################################################################################
Write-Warning "Executing Script"
##Importing Bits Module######
Import-Module BitsTransfer
Write-Host
######HouseKeeping#################################################################################################
###################################################################################################################
Remove-Item $DestPath -recurse -erroraction SilentlyContinue
New-Item $DestPath -type directory -erroraction SilentlyContinue
"Folder Created"
Write-Host
## Check that the path entered is valid
If (Test-Path "$DestPath" -Verbose)
{
## If destination path is valid, create folder if it doesn't already exist
$DestFolder = "$DestPath\PrerequisiteInstallerFiles"
New-Item -ItemType Directory $DestFolder -ErrorAction SilentlyContinue
}
Else
{
Write-Warning " - Destination path appears to be invalid."
## Pause
Write-Host " - Please check the path, and try running the script again."
Write-Host "- Press any key to exit..."
$null = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
break
}
#########Downloading#################################################################################################
#####################################################################################################################
ForEach ($Url in $UrlList)
{
$DestFileName = $Url.Split('/')[-1]
Try
{
If (!(Test-Path "$DestFolder\$DestFileName"))
{
## Start the download process
Start-BitsTransfer -Source $Url -Destination $DestFolder\$DestFileName -DisplayName "Downloading `'$DestFileName`' to $DestFolder" -Priority High -Description "From $Url..." -ErrorVariable err
If ($err) {Throw ""}
}
Else
{
Write-Host " - File $DestFileName already exists, skipping..."
}
}
Catch
{
Write-Warning " - An error occurred downloading `'$DestFileName`'. Check whether Internet connectivity is enabled on this device"
break
}
}
Write-Host "- Downloads completed"
Invoke-Item $DestFolder
Write-Warning "Press any key to exit"
$null = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")

I ran this script using PowerGUI and here is screenshot.

script

All downloaded executable are here in this folder.

files

Saturday, March 5, 2011

Check if Web Application exists using PowerShell in SharePoint

To check if a web application exists in SharePoint environment using PowerShell, use this script.

Add-PsSnapin Microsoft.SharePoint.PowerShell

[void][System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”)

$WebAppName = "IntranetPortal80"
$sp = Get-SPWebApplication | Where {$_.DisplayName -eq $WebAppName}
if($sp -eq $null)
{

        Write-host "Null"
}
else
{
        write-host "No Null"
}

In, if-else block do what you want to do.

Wednesday, January 26, 2011

Get list of all users of a SharePoint Web Application using PowerShell

To get a list of all users of a SharePoint web application in PowerShell, we can use get-spuser cmdlet. This cmdlet should be used with SPWeb object.

To get all users in a web application use this PowerShell command. It will include all users in all site collections of web application.

Get-SPWebApplication http://sp2010:2000 | Get-SPSite | Get-SPWeb | Get-SPUser

UserLogin                                DisplayName
---------                                  -----------
DS\expsah                              DS\expsah
SHAREPOINT\system               System Account
DS\expsah                              DS\expsah
NT AUTHORITY\auth...             NT AUTHORITY\auth
NT AUTHORITY\LOCA...            Salman Mn1 Ahmad
SHAREPOINT\system               System Account
DS\expsah                              DS\expsah
NT AUTHORITY\auth...             NT AUTHORITY\auth
NT AUTHORITY\LOCA...            Salman Mn1 Ahmad
SHAREPOINT\system               System Account
DS\expsah                              DS\expsah
NT AUTHORITY\auth...             NT AUTHORITY\auth
NT AUTHORITY\LOCA...            Salman Mn1 Ahmad
SHAREPOINT\system               System Account

Thursday, November 25, 2010

“The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service.”, Error while publishing a page in SharePoint 2010.

        When I tried to submit a publishing page after editing to publish, I got this error, “The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator”.
Error
This was because State Service was not configured in my SharePoint environment.
WithoutStateService
To configure State Service, I run the following PowerShell script.


Add-PsSnapin Microsoft.SharePoint.PowerShell 
$serviceApp = New-SPStateServiceApplication -Name "State Service" New-SPStateServiceDatabase -Name "StateServiceDatabase" -ServiceApplication 
$serviceApp New-SPStateServiceApplicationProxy -Name "State Service" -ServiceApplication $serviceApp –DefaultProxyGroup


I added this script in a text file and saved it as script.ps1 on my C drive. Then I opened command prompt and ran this command.
C:\>Powershell C:\script.ps1
After running this script, my State Service was configured and I published my page successfully.
WithStateService

Wednesday, November 10, 2010

Create Web Application, Site Collection and Sub Sites through PowerShell in SharePoint 2010

        This is time to manage SharePoint Server Farms using PowerShell and to say goodbye to STSADM. SharePoint Administrators are learning PowerShell and are writing scripts for their environments. Here is a script for Creating Web Application, Site Collection and multiple sub sites in one go.

1. Create a .ps1 file and add reference for PowerShell and SharePoint Assemblies.
Add-PsSnapin Microsoft.SharePoint.PowerShell
[void][System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”)
2. Set variables and create Web Application.
#Create Web Application 
Write-Output " "
Write-Output "Creating Web Application for Intranet Portal."
$AppName = "Intranet Portall"
$AppPool = "IntranetPortalApplicationPool"
$UserAccount = "winsmarts\sp_admin"
$Port = 80
$DBServer = "SPDEV\SQL_SERVER"
$DBName = "IntranetPortalDatabase_80"
New-SPWebApplication -Name $AppName -Port $Port  -ApplicationPool $AppPool
-ApplicationPoolAccount (Get-SPManagedAccount $UserAccount) -databaseserver $DBServer -databasename $DBName 
Write-Output " "
Write-Output "Web Application Created Successfully."
3. Create Site Collection.
Write-Output " "
Write-Output "Creating Top Site Collection"
# Set variables  
$SiteCollectionName = "Test Portal" 
$SiteCollectionURL = "http://SPDEV:80" 
$SiteCollectionTemplate = "STS#0" 
$SiteCollectionLanguage = 1033  
$SiteCollectionOwner = "winsmarts\Administrator" 
# Create a new Sharepoint Site Collection  
New-SPSite -URL $SiteCollectionURL -OwnerAlias $SiteCollectionOwner -Language $SiteCollectionLanguage
-Template $SiteCollectionTemplate -Name $SiteCollectionName 
Write-Output " "
Write-Output "Top Site Collection created successfully."
4. Create sub sites.
#Creating Sub Sites in top site collection.
Write-Output " "
Write-Output "Creating Sub Sites"
$SubSites = @("Central Services", "Knowledge Base", "Service Center", "IT", "HR", "Finance")
for($i=0 ; $i -lt $SubSites.count ; $i++)
{
clear-variable -name siteurl
$SiteUrl = $SiteCollectionURL += "/" 
$SiteUrl = $SiteUrl += $SubSites[$i]
Write-Output " "
#Write-Output "Creating Site for " += $SubSites[$i]
Write-Output " "
New-SPWeb $SiteUrl -Template $SiteCollectionTemplate -Name $SubSites[$i]  -UseParentTopNav
-Language $SiteCollectionLanguage
Write-Output " "
#Write-Output "Site Created for " += $SubSites[$i]
Write-Output " "
}
 

Wednesday, September 29, 2010

The RPC server is unavailable : Error running SharePoint PowerShell cmdlet

While running SharePoint PowerShell cmdlet, I was facing this error,

New-SPWebApplication : An error occurred while getting information about the user sp_admin at server winsmarts.internal: The RPC server is unavailable At C:\SharedFolder\CreatingIntranetSiteStructure.ps1:40 char:21

+ New-SPWebApplication <<<<  -Name $AppName -Port $Port  -ApplicationPool $AppPool -ApplicationPoolAccount (Get-SPManagedAccount $UserAccount) -databaseserver $DBServer -databasename $DBName

+ CategoryInfo          : InvalidData: (Microsoft.Share...PWebApplication: SPCmdletNewSPWebApplication) [New-SPWebApplication], InvalidOperationException

The script is doing nothing else creating a new Web Application.

New-SPWebApplication -Name $AppName -Port $Port -ApplicationPool $AppPool -ApplicationPoolAccount (Get-SPManagedAccount $UserAccount) -databaseserver $DBServer -databasename $DBName

SharePoint Server and Database Server is running on the same box. After some investigation, it was found that my machine was connected to VPN, and after disconnecting VPN and doing a machine restart, script runs fine. More investigation is needed to find reason of this problem but this is a possible resolution of such issue.

Friday, September 17, 2010

List of PowerShell commands for SharePoint 2010

          To administrate SharePoint Server 2010 Farm and doing day to day task, a SharePoint 2010 Administrator must have strong knowledge of how to use PowerShell commands for SharePoint 2010 using SharePoint 2010 Management Shell. There are more than 500 PowerShell commands for SharePoint 2010 and it gives administrator more power and flexibility. Command line tool “STSADM” is still available for SharePoint 2010 administration but in future versions of SharePoint, “STSADM” will be deprecated and PowerShell cmdlets will be only way to administrate SharePoint via command line. To get the complete list of PowerShell cmdlets available in SharePoint 2010 PowerShell namespace, use PowerShell command.

A list of cmdlets can be obtained like this

Get-Command –PSSnapin “Microsoft.SharePoint.PowerShell” | format-table name > C:\SP2010Cmdlets.txt

More descriptive list can be found using this command

Get-Command –PSSnapin “Microsoft.SharePoint.PowerShell” | select name, definition | format-list > C:\SP2010Cmdlets.txt

Microsoft has provided Windows PowerShell compiled help files for SharePoint 2010 at Microsoft Download Center. These help files explain cmdlets with detailed description and examples. These compiled help files can be downloaded from here. Windows PowerShell compiled Help for SharePoint Server 2010

List of Cmdlets

Add-SPClaimTypeMapping                                                        
Add-SPDiagnosticsPerformanceCounter                                           
Add-SPInfoPathUserAgent                                                       
Add-SPPluggableSecurityTrimmer                                                
Add-SPServiceApplicationProxyGroupMember                                      
Add-SPShellAdmin                                                              
Add-SPSiteSubscriptionFeaturePackMember                                       
Add-SPSiteSubscriptionProfileConfig                                           
Add-SPSolution                                                                
Add-SPUserSolution                                                            
Backup-SPConfigurationDatabase                                                
Backup-SPFarm                                                                 
Backup-SPSite                                                                 
Clear-SPLogLevel                                                              
Clear-SPMetadataWebServicePartitionData                                       
Clear-SPPerformancePointServiceApplicationTrustedLocation                     
Clear-SPSecureStoreCredentialMapping                                          
Clear-SPSecureStoreDefaultProvider                                            
Clear-SPSiteSubscriptionBusinessDataCatalogConfig                             
Connect-SPConfigurationDatabase                                               
Copy-SPBusinessDataCatalogAclToChildren                                       
Disable-SPBusinessDataCatalogEntity                                           
Disable-SPFeature                                                             
Disable-SPSessionStateService                                                 
Disable-SPSingleSignOn                                                        
Disable-SPTimerJob                                                            
Disable-SPWebApplicationHttpThrottling                                        
Disconnect-SPConfigurationDatabase                                            
Dismount-SPContentDatabase                                                    
Dismount-SPStateServiceDatabase                                               
Enable-SPBusinessDataCatalogEntity                                            
Enable-SPFeature                                                              
Enable-SPSessionStateService                                                  
Enable-SPTimerJob                                                             
Enable-SPWebApplicationHttpThrottling                                         
Export-SPBusinessDataCatalogModel                                             
Export-SPEnterpriseSearchTopology                                             
Export-SPInfoPathAdministrationFiles                                          
Export-SPMetadataWebServicePartitionData                                      
Export-SPSiteSubscriptionBusinessDataCatalogConfig                            
Export-SPSiteSubscriptionSettings                                             
Export-SPWeb                                                                  
Get-SPAlternateURL                                                            
Get-SPAuthenticationProvider                                                  
Get-SPBackupHistory                                                           
Get-SPBrowserCustomerExperienceImprovementProgram                             
Get-SPBusinessDataCatalogMetadataObject                                       
Get-SPBusinessDataCatalogThrottleConfig                                       
Get-SPCertificateAuthority                                                    
Get-SPClaimProvider                                                           
Get-SPClaimProviderManager                                                    
Get-SPContentDatabase                                                         
Get-SPContentDeploymentJob                                                    
Get-SPContentDeploymentPath                                                   
Get-SPCustomLayoutsPage                                                       
Get-SPDatabase                                                                
Get-SPDataConnectionFile                                                      
Get-SPDataConnectionFileDependent                                             
Get-SPDesignerSettings                                                        
Get-SPDiagnosticConfig                                                        
Get-SPDiagnosticsPerformanceCounter                                           
Get-SPDiagnosticsProvider                                                     
Get-SPEnterpriseSearchAdministrationComponent                                 
Get-SPEnterpriseSearchCrawlComponent                                          
Get-SPEnterpriseSearchCrawlContentSource                                      
Get-SPEnterpriseSearchCrawlCustomConnector                                    
Get-SPEnterpriseSearchCrawlDatabase                                           
Get-SPEnterpriseSearchCrawlExtension                                          
Get-SPEnterpriseSearchCrawlMapping                                            
Get-SPEnterpriseSearchCrawlRule                                               
Get-SPEnterpriseSearchCrawlTopology                                           
Get-SPEnterpriseSearchIndexPartition                                          
Get-SPEnterpriseSearchLanguageResourcePhrase                                  
Get-SPEnterpriseSearchMetadataCategory                                        
Get-SPEnterpriseSearchMetadataCrawledProperty                                 
Get-SPEnterpriseSearchMetadataManagedProperty                                 
Get-SPEnterpriseSearchMetadataMapping                                         
Get-SPEnterpriseSearchPropertyDatabase                                        
Get-SPEnterpriseSearchQueryAndSiteSettingsService                             
Get-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance                     
Get-SPEnterpriseSearchQueryAndSiteSettingsServiceProxy                        
Get-SPEnterpriseSearchQueryAuthority                                          
Get-SPEnterpriseSearchQueryComponent                                          
Get-SPEnterpriseSearchQueryDemoted                                            
Get-SPEnterpriseSearchQueryKeyword                                            
Get-SPEnterpriseSearchQueryScope                                              
Get-SPEnterpriseSearchQueryScopeRule                                          
Get-SPEnterpriseSearchQuerySuggestionCandidates                               
Get-SPEnterpriseSearchQueryTopology                                           
Get-SPEnterpriseSearchRankingModel                                            
Get-SPEnterpriseSearchSecurityTrimmer                                         
Get-SPEnterpriseSearchService                                                 
Get-SPEnterpriseSearchServiceApplication                                      
Get-SPEnterpriseSearchServiceApplicationProxy                                 
Get-SPEnterpriseSearchServiceInstance                                         
Get-SPEnterpriseSearchSiteHitRule                                             
Get-SPFarm                                                                    
Get-SPFarmConfig                                                              
Get-SPFeature                                                                 
Get-SPHelpCollection                                                          
Get-SPInfoPathFormsService                                                    
Get-SPInfoPathFormTemplate                                                    
Get-SPInfoPathUserAgent                                                       
Get-SPInfoPathWebServiceProxy                                                 
Get-SPLogEvent                                                                
Get-SPLogLevel                                                                
Get-SPManagedAccount                                                          
Get-SPManagedPath                                                             
Get-SPMetadataServiceApplication                                              
Get-SPMetadataServiceApplicationProxy                                         
Get-SPMobileMessagingAccount                                                  
Get-SPPerformancePointSecureDataValues                                        
Get-SPPerformancePointServiceApplication                                      
Get-SPPerformancePointServiceApplicationTrustedLocation                       
Get-SPPluggableSecurityTrimmer                                                
Get-SPProcessAccount                                                          
Get-SPProduct                                                                 
Get-SPProfileServiceApplicationSecurity                                       
Get-SPSearchService                                                           
Get-SPSearchServiceInstance                                                   
Get-SPSecureStoreApplication                                                  
Get-SPSecurityTokenServiceConfig                                              
Get-SPServer                                                                  
Get-SPServiceApplication                                                      
Get-SPServiceApplicationEndpoint                                              
Get-SPServiceApplicationPool                                                  
Get-SPServiceApplicationProxy                                                 
Get-SPServiceApplicationProxyGroup                                            
Get-SPServiceApplicationSecurity                                              
Get-SPServiceContext                                                          
Get-SPServiceHostConfig                                                       
Get-SPServiceInstance                                                         
Get-SPSessionStateService                                                     
Get-SPShellAdmin                                                              
Get-SPSite                                                                    
Get-SPSiteAdministration                                                      
Get-SPSiteSubscription                                                        
Get-SPSiteSubscriptionConfig                                                  
Get-SPSiteSubscriptionEdiscoveryHub                                           
Get-SPSiteSubscriptionEdiscoverySearchScope                                   
Get-SPSiteSubscriptionFeaturePack                                             
Get-SPSiteSubscriptionMetadataConfig                                          
Get-SPSolution                                                                
Get-SPStateServiceApplication                                                 
Get-SPStateServiceApplicationProxy                                            
Get-SPStateServiceDatabase                                                    
Get-SPTaxonomySession                                                         
Get-SPTimerJob                                                                
Get-SPTopologyServiceApplication                                              
Get-SPTopologyServiceApplicationProxy                                         
Get-SPTrustedIdentityTokenIssuer                                              
Get-SPTrustedRootAuthority                                                    
Get-SPTrustedServiceTokenIssuer                                               
Get-SPUsageApplication                                                        
Get-SPUsageDefinition                                                         
Get-SPUsageService                                                            
Get-SPUser                                                                    
Get-SPUserSolution                                                            
Get-SPWeb                                                                     
Get-SPWebAnalyticsServiceApplication                                          
Get-SPWebAnalyticsServiceApplicationProxy                                     
Get-SPWebApplication                                                          
Get-SPWebApplicationHttpThrottlingMonitor                                     
Get-SPWebPartPack                                                             
Get-SPWebTemplate                                                             
Get-SPWorkflowConfig                                                          
Grant-SPBusinessDataCatalogMetadataObject                                     
Grant-SPObjectSecurity                                                        
Import-SPBusinessDataCatalogDotNetAssembly                                    
Import-SPBusinessDataCatalogModel                                             
Import-SPEnterpriseSearchTopology                                             
Import-SPInfoPathAdministrationFiles                                          
Import-SPMetadataWebServicePartitionData                                      
Import-SPSiteSubscriptionBusinessDataCatalogConfig                            
Import-SPSiteSubscriptionSettings                                             
Import-SPWeb                                                                  
Initialize-SPResourceSecurity                                                 
Initialize-SPStateServiceDatabase                                             
Install-SPApplicationContent                                                  
Install-SPDataConnectionFile                                                  
Install-SPFeature                                                             
Install-SPHelpCollection                                                      
Install-SPService                                                             
Install-SPSolution                                                            
Install-SPUserSolution                                                        
Install-SPWebPartPack                                                         
Install-SPWebTemplate                                                         
Merge-SPLogFile                                                               
Mount-SPContentDatabase                                                       
Mount-SPStateServiceDatabase                                                  
Move-SPBlobStorageLocation                                                    
Move-SPProfileManagedMetadataProperty                                         
Move-SPSite                                                                   
Move-SPUser                                                                   
New-SPAlternateURL                                                            
New-SPAuthenticationProvider                                                  
New-SPBusinessDataCatalogServiceApplication                                   
New-SPBusinessDataCatalogServiceApplicationProxy                              
New-SPCentralAdministration                                                   
New-SPClaimProvider                                                           
New-SPClaimsPrincipal                                                         
New-SPClaimTypeMapping                                                        
New-SPConfigurationDatabase                                                   
New-SPContentDatabase                                                         
New-SPContentDeploymentJob                                                    
New-SPContentDeploymentPath                                                   
New-SPEnterpriseSearchCrawlComponent                                          
New-SPEnterpriseSearchCrawlContentSource                                      
New-SPEnterpriseSearchCrawlCustomConnector                                    
New-SPEnterpriseSearchCrawlDatabase                                           
New-SPEnterpriseSearchCrawlExtension                                          
New-SPEnterpriseSearchCrawlMapping                                            
New-SPEnterpriseSearchCrawlRule                                               
New-SPEnterpriseSearchCrawlTopology                                           
New-SPEnterpriseSearchLanguageResourcePhrase                                  
New-SPEnterpriseSearchMetadataCategory                                        
New-SPEnterpriseSearchMetadataCrawledProperty                                 
New-SPEnterpriseSearchMetadataManagedProperty                                 
New-SPEnterpriseSearchMetadataMapping                                         
New-SPEnterpriseSearchPropertyDatabase                                        
New-SPEnterpriseSearchQueryAuthority                                          
New-SPEnterpriseSearchQueryComponent                                          
New-SPEnterpriseSearchQueryDemoted                                            
New-SPEnterpriseSearchQueryKeyword                                            
New-SPEnterpriseSearchQueryScope                                              
New-SPEnterpriseSearchQueryScopeRule                                          
New-SPEnterpriseSearchQueryTopology                                           
New-SPEnterpriseSearchRankingModel                                            
New-SPEnterpriseSearchSecurityTrimmer                                         
New-SPEnterpriseSearchServiceApplication                                      
New-SPEnterpriseSearchServiceApplicationProxy                                 
New-SPEnterpriseSearchSiteHitRule                                             
New-SPLogFile                                                                 
New-SPManagedAccount                                                          
New-SPManagedPath                                                             
New-SPMetadataServiceApplication                                              
New-SPMetadataServiceApplicationProxy                                         
New-SPPerformancePointServiceApplication                                      
New-SPPerformancePointServiceApplicationProxy                                 
New-SPPerformancePointServiceApplicationTrustedLocation                       
New-SPProfileServiceApplication                                               
New-SPProfileServiceApplicationProxy                                          
New-SPSecureStoreApplication                                                  
New-SPSecureStoreApplicationField                                             
New-SPSecureStoreServiceApplication                                           
New-SPSecureStoreServiceApplicationProxy                                      
New-SPSecureStoreTargetApplication                                            
New-SPServiceApplicationPool                                                  
New-SPServiceApplicationProxyGroup                                            
New-SPSite                                                                    
New-SPSiteSubscription                                                        
New-SPSiteSubscriptionFeaturePack                                             
New-SPStateServiceApplication                                                 
New-SPStateServiceApplicationProxy                                            
New-SPStateServiceDatabase                                                    
New-SPSubscriptionSettingsServiceApplication                                  
New-SPSubscriptionSettingsServiceApplicationProxy                             
New-SPTrustedIdentityTokenIssuer                                              
New-SPTrustedRootAuthority                                                    
New-SPTrustedServiceTokenIssuer                                               
New-SPUsageApplication                                                        
New-SPUsageLogFile                                                            
New-SPUser                                                                    
New-SPWeb                                                                     
New-SPWebAnalyticsServiceApplication                                          
New-SPWebAnalyticsServiceApplicationProxy                                     
New-SPWebApplication                                                          
New-SPWebApplicationExtension                                                 
New-SPWordConversionServiceApplication                                        
Ping-SPEnterpriseSearchContentService                                         
Publish-SPServiceApplication                                                  
Receive-SPServiceApplicationConnectionInfo                                    
Remove-SPAlternateURL                                                         
Remove-SPBusinessDataCatalogModel                                             
Remove-SPClaimProvider                                                        
Remove-SPClaimTypeMapping                                                     
Remove-SPConfigurationDatabase                                                
Remove-SPContentDatabase                                                      
Remove-SPContentDeploymentJob                                                 
Remove-SPContentDeploymentPath                                                
Remove-SPDiagnosticsPerformanceCounter                                        
Remove-SPEnterpriseSearchCrawlComponent                                       
Remove-SPEnterpriseSearchCrawlContentSource                                   
Remove-SPEnterpriseSearchCrawlCustomConnector                                 
Remove-SPEnterpriseSearchCrawlDatabase                                        
Remove-SPEnterpriseSearchCrawlExtension                                       
Remove-SPEnterpriseSearchCrawlMapping                                         
Remove-SPEnterpriseSearchCrawlRule                                            
Remove-SPEnterpriseSearchCrawlTopology                                        
Remove-SPEnterpriseSearchLanguageResourcePhrase                               
Remove-SPEnterpriseSearchMetadataCategory                                     
Remove-SPEnterpriseSearchMetadataManagedProperty                              
Remove-SPEnterpriseSearchMetadataMapping                                      
Remove-SPEnterpriseSearchPropertyDatabase                                     
Remove-SPEnterpriseSearchQueryAuthority                                       
Remove-SPEnterpriseSearchQueryComponent                                       
Remove-SPEnterpriseSearchQueryDemoted                                         
Remove-SPEnterpriseSearchQueryKeyword                                         
Remove-SPEnterpriseSearchQueryScope                                           
Remove-SPEnterpriseSearchQueryScopeRule                                       
Remove-SPEnterpriseSearchQueryTopology                                        
Remove-SPEnterpriseSearchRankingModel                                         
Remove-SPEnterpriseSearchSecurityTrimmer                                      
Remove-SPEnterpriseSearchServiceApplication                                   
Remove-SPEnterpriseSearchServiceApplicationProxy                              
Remove-SPEnterpriseSearchSiteHitRule                                          
Remove-SPInfoPathUserAgent                                                    
Remove-SPManagedAccount                                                       
Remove-SPManagedPath                                                          
Remove-SPPerformancePointServiceApplication                                   
Remove-SPPerformancePointServiceApplicationProxy                              
Remove-SPPerformancePointServiceApplicationTrustedLocation                    
Remove-SPPluggableSecurityTrimmer                                             
Remove-SPSecureStoreApplication                                               
Remove-SPServiceApplication                                                   
Remove-SPServiceApplicationPool                                               
Remove-SPServiceApplicationProxy                                              
Remove-SPServiceApplicationProxyGroup                                         
Remove-SPServiceApplicationProxyGroupMember                                   
Remove-SPShellAdmin                                                           
Remove-SPSite                                                                 
Remove-SPSiteSubscription                                                     
Remove-SPSiteSubscriptionBusinessDataCatalogConfig                            
Remove-SPSiteSubscriptionFeaturePack                                          
Remove-SPSiteSubscriptionFeaturePackMember                                    
Remove-SPSiteSubscriptionMetadataConfig                                       
Remove-SPSiteSubscriptionProfileConfig                                        
Remove-SPSiteSubscriptionSettings                                             
Remove-SPSocialItemByDate                                                     
Remove-SPSolution                                                             
Remove-SPSolutionDeploymentLock                                               
Remove-SPStateServiceDatabase                                                 
Remove-SPTrustedIdentityTokenIssuer                                           
Remove-SPTrustedRootAuthority                                                 
Remove-SPTrustedServiceTokenIssuer                                            
Remove-SPUsageApplication                                                     
Remove-SPUser                                                                 
Remove-SPUserSolution                                                         
Remove-SPWeb                                                                  
Remove-SPWebApplication                                                       
Remove-SPWordConversionServiceJobHistory                                      
Rename-SPServer                                                               
Repair-SPManagedAccountDeployment                                             
Restart-SPEnterpriseSearchQueryComponent                                      
Restore-SPEnterpriseSearchServiceApplication                                  
Restore-SPFarm                                                                
Restore-SPSite                                                                
Resume-SPEnterpriseSearchServiceApplication                                   
Resume-SPStateServiceDatabase                                                 
Revoke-SPBusinessDataCatalogMetadataObject                                    
Revoke-SPObjectSecurity                                                       
Set-SPAlternateURL                                                            
Set-SPBrowserCustomerExperienceImprovementProgram                             
Set-SPBusinessDataCatalogMetadataObject                                       
Set-SPBusinessDataCatalogServiceApplication                                   
Set-SPBusinessDataCatalogThrottleConfig                                       
Set-SPCentralAdministration                                                   
Set-SPClaimProvider                                                           
Set-SPContentDatabase                                                         
Set-SPContentDeploymentJob                                                    
Set-SPContentDeploymentPath                                                   
Set-SPCustomLayoutsPage                                                       
Set-SPDataConnectionFile                                                      
Set-SPDesignerSettings                                                        
Set-SPDiagnosticConfig                                                        
Set-SPDiagnosticsProvider                                                     
Set-SPEnterpriseSearchAdministrationComponent                                 
Set-SPEnterpriseSearchCrawlContentSource                                      
Set-SPEnterpriseSearchCrawlDatabase                                           
Set-SPEnterpriseSearchCrawlRule                                               
Set-SPEnterpriseSearchCrawlTopology                                           
Set-SPEnterpriseSearchIndexPartition                                          
Set-SPEnterpriseSearchMetadataCategory                                        
Set-SPEnterpriseSearchMetadataCrawledProperty                                 
Set-SPEnterpriseSearchMetadataManagedProperty                                 
Set-SPEnterpriseSearchMetadataMapping                                         
Set-SPEnterpriseSearchPropertyDatabase                                        
Set-SPEnterpriseSearchQueryAuthority                                          
Set-SPEnterpriseSearchQueryComponent                                          
Set-SPEnterpriseSearchQueryKeyword                                            
Set-SPEnterpriseSearchQueryScope                                              
Set-SPEnterpriseSearchQueryScopeRule                                          
Set-SPEnterpriseSearchQueryTopology                                           
Set-SPEnterpriseSearchRankingModel                                            
Set-SPEnterpriseSearchService                                                 
Set-SPEnterpriseSearchServiceApplication                                      
Set-SPEnterpriseSearchServiceApplicationProxy                                 
Set-SPEnterpriseSearchServiceInstance                                         
Set-SPFarmConfig                                                              
Set-SPInfoPathFormsService                                                    
Set-SPInfoPathFormTemplate                                                    
Set-SPInfoPathWebServiceProxy                                                 
Set-SPLogLevel                                                                
Set-SPManagedAccount                                                          
Set-SPMetadataServiceApplication                                              
Set-SPMetadataServiceApplicationProxy                                         
Set-SPMobileMessagingAccount                                                  
Set-SPPassPhrase                                                              
Set-SPPerformancePointSecureDataValues                                        
Set-SPPerformancePointServiceApplication                                      
Set-SPProfileServiceApplication                                               
Set-SPProfileServiceApplicationProxy                                          
Set-SPProfileServiceApplicationSecurity                                       
Set-SPSearchService                                                           
Set-SPSearchServiceInstance                                                   
Set-SPSecureStoreApplication                                                  
Set-SPSecureStoreDefaultProvider                                              
Set-SPSecureStoreServiceApplication                                           
Set-SPSecurityTokenServiceConfig                                              
Set-SPServiceApplication                                                      
Set-SPServiceApplicationEndpoint                                              
Set-SPServiceApplicationPool                                                  
Set-SPServiceApplicationSecurity                                              
Set-SPServiceHostConfig                                                       
Set-SPSessionStateService                                                     
Set-SPSite                                                                    
Set-SPSiteAdministration                                                      
Set-SPSiteSubscriptionConfig                                                  
Set-SPSiteSubscriptionEdiscoveryHub                                           
Set-SPSiteSubscriptionMetadataConfig                                          
Set-SPSiteSubscriptionProfileConfig                                           
Set-SPStateServiceApplication                                                 
Set-SPStateServiceApplicationProxy                                            
Set-SPStateServiceDatabase                                                    
Set-SPSubscriptionSettingsServiceApplication                                  
Set-SPTimerJob                                                                
Set-SPTopologyServiceApplication                                              
Set-SPTopologyServiceApplicationProxy                                         
Set-SPTrustedIdentityTokenIssuer                                              
Set-SPTrustedRootAuthority                                                    
Set-SPTrustedServiceTokenIssuer                                               
Set-SPUsageApplication                                                        
Set-SPUsageDefinition                                                         
Set-SPUsageService                                                            
Set-SPUser                                                                    
Set-SPWeb                                                                     
Set-SPWebAnalyticsServiceApplication                                          
Set-SPWebAnalyticsServiceApplicationProxy                                     
Set-SPWebApplication                                                          
Set-SPWebApplicationHttpThrottlingMonitor                                     
Set-SPWebTemplate                                                             
Set-SPWordConversionServiceApplication                                        
Set-SPWorkflowConfig                                                          
Start-SPAdminJob                                                              
Start-SPAssignment                                                            
Start-SPContentDeploymentJob                                                  
Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance                   
Start-SPEnterpriseSearchServiceInstance                                       
Start-SPInfoPathFormTemplate                                                  
Start-SPServiceInstance                                                       
Start-SPTimerJob                                                              
Stop-SPAssignment                                                             
Stop-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance                    
Stop-SPEnterpriseSearchServiceInstance                                        
Stop-SPInfoPathFormTemplate                                                   
Stop-SPServiceInstance                                                        
Suspend-SPEnterpriseSearchServiceApplication                                  
Suspend-SPStateServiceDatabase                                                
Test-SPContentDatabase                                                        
Test-SPInfoPathFormTemplate                                                   
Uninstall-SPDataConnectionFile                                                
Uninstall-SPFeature                                                           
Uninstall-SPHelpCollection                                                    
Uninstall-SPSolution                                                          
Uninstall-SPUserSolution                                                      
Uninstall-SPWebPartPack                                                       
Uninstall-SPWebTemplate                                                       
Unpublish-SPServiceApplication                                                
Update-SPFarmEncryptionKey                                                    
Update-SPInfoPathAdminFileUrl                                                 
Update-SPInfoPathFormTemplate                                                 
Update-SPInfoPathUserFileUrl                                                  
Update-SPProfilePhotoStore                                                    
Update-SPSecureStoreApplicationServerKey                                      
Update-SPSecureStoreCredentialMapping                                         
Update-SPSecureStoreGroupCredentialMapping                                    
Update-SPSecureStoreMasterKey                                                 
Update-SPSolution                                                             
Update-SPUserSolution                                                         
Upgrade-SPContentDatabase                                                     
Upgrade-SPEnterpriseSearchServiceApplication                                  
Upgrade-SPSingleSignOnDatabase