Tag Info

New answers tagged

0

This line will return the size of all the site collection in MB: Get-SPSite | select url, @{label="Size in MB";Expression={$_.usage.storage/1MB}} | Sort-Object -Descending -Property "Size in MB" | Format-Table –AutoSize If you want the size of a specific site collection add the url after the Get-SPSite command: Get-SPSite ...


1

You can get the Hash Code of the site collection using following: $s = Get-SPSite -Identity siteurl $s.GetHashCode()


0

While Restoring you can activate PowerShell switch -verbose. This will provide on screen information about what is actually happening during the Restore Process. Restore-SPSite -Identity <SiteCollectionURL> -Path <Backup file> [-DatabaseServer <DatabaseServerName>] [-DatabaseName <ContentDatabaseName>] [-HostHeader <Host ...


1

There is no easy way unless you find some utility function where you pass an object which will use Reflection to extract all properties Good old way is to Get-SPSite 'http://sitecollectionurl' That can give you an SPSite Object. Now you can choose the properties of your interest and put it into a text file using Out-File 'FileName.Txt' - Append Final ...


0

Resolving 500 Internal Server Error [ Source ] Go to Central Administration and see if you access. Go to IIS Manager and check you application pools are all running. If not, start your application pools. To see if they are running click on Application Pool folder and you should see the list on the right-side under state should be "running" or "stopped". ...


1

I don't believe you can automatically select the option without altering master pages somewhere, but you can do it either with web services & workflow or server side code. Here's an example of someone doing it on StackExchange using c#, but in short it's using this sort of format: SPWeb newWeb = siteCollection.Add(“/” + siteUrl, siteName, “site ...


-1

Which site collection features are available out of the box in a site collection will depend upon which site template you chose when creating the initial site collection as well as which service applications have an association to the web application hosting the site collection. So there's no one simple list, the exact features depend on the context of your ...


0

You can try below powershell, it will give you all OOTB feature scoped to Farm, web App, Site and Web. script create a csv and then you can filter it as per your need. $lcid=1033 $delimiter = "*" Get-SPFeature -Limit ALL | % { Get-SPFeature -Identity $_ | % { $_.DisplayName + $delimiter + $_.GetTitle($lcid) +$delimiter +$_.Scope + $delimiter + $_.Id + ...


0

You can use PowerShell to get list of Installed features. Get-SPFeature -Limit ALL | Where-Object {$_.Scope -eq "SITE"} I believe this will return features irrespective its activated or deactivated.


0

For this PowerShell script I have created a function called AddGroupToSite, allowing you to assign a SharePoint group (must already be created in the site collection) to a site along with a permission level by specifying one line of script. This first section sets up the SPWeb object and the function: $web = Get-SPWeb "http://portal" function ...


1

According to SharePointOnlineCredentials class from SharePoint Online Client Components SDK the expiry date for authentication cookie (SPOIDCRL) should be set to 1 hour The following example demonstrates how to provide SPOIDCRL HTTP header in order to perform request authentication in SharePoint Online/Office 365: var request = ...


2

This happens automatically for you when an account is marked as disabled or deleted. Ownership transfers to the users manager to access any business critical content. If a the user does not have a manager, then it can be transferred to a service account. Kirk Evans has detailed it in this post, it is for 2010 but the same thing is in place for 2013.


0

You should rely on Web Analytics Report. From Site Actions -> Site Settings -> Site Web Analytics Reports This report will give you Page View count etc. You can then use this values to determine if a site has 0 page view count and act up on those. http://blogs.msdn.com/b/ecm/archive/2010/03/21/introducing-web-analytics-in-sharepoint-2010.aspx



Top 50 recent answers are included