Category Archives: sharepoint 2010

SharePoint search result not found from specific document library

Advertisements
Advertisements

SharePoint search result not found from specific document library

I came across a situation where user is trying to search documents selecting the option "search in same site" instead of "all sites" from  search box and getting no result where as can find documents from other library with in same site. SharePoint search result not found from specific document library

Why such happens ?

The first point comes to mind for search error is  content not crawled, indexing not done for this situation.

Yes , its true but we need to think why  ?

As per my investigation I found the setting of the library as below

Draft-items-are-not-crawled-in-SharePoint

By default SharePoint only crawls major versions of files and draft items are only viewable by their creators. SharePoint is behaving as expected out of box.Draft items are not crawled in SharePoint

Resolution :

This behavior can be altered in Document Library Settings -> Versioning Settings -> Draft Item Security

Select the option "Any user who can read items".

This will allow all users to see draft items including the crawling account.

* Else you need to select "Create major versions" option or can publish the documents as major versions if want to get those documents in search result as per client wish.

https://support.microsoft.com/en-us/help/2304855/draft-items-are-not-crawled-in-sharepoint

Advertisements
Advertisements
Advertisements
SharePoint shortcut URL and hidden list 1920X1080

SharePoint shortcut URL and hidden list

Advertisements
Advertisements

SharePoint shortcut URL and hidden list

Users and Permissions:
People and Groups: _layouts/people.aspx
Site Collection Admins: _layouts/mngsiteadmin.aspx
Advanced Permissions: _layouts/user.aspx
Master Pages: _Layouts/ChangeSiteMasterPage.aspx
Look and Feel:
Quick Launch settings page: /_layouts/quiklnch.aspx
Title, Desc, and Icon: _layouts/prjsetng.aspx
Navigation: _layouts/AreaNavigationSettings.aspx
Page Layout and Ste Templates: _Layouts/AreaTemplateSettings.aspx
Welcome Page: _Layouts/AreaWelcomePage.aspx
Tree View: _layouts/navoptions.aspx
Top Nav Bar: _layouts/topnav.aspx
Site Theme: _layouts/themeweb.aspx
Reset to Site Definition: _layouts/reghost.aspx
Searchable Columns: _Layouts/NoCrawlSettings.aspx
Site Content Types: _layouts/mngctype.aspx
Galleries
Site Columns: _layouts/mngfield.aspx
Site Templates: _catalogs/wt/Forms/Common.aspx
List Templates: _catalogs/lt/Forms/AllItems.aspx
Filter toolbar for Lists and libraries: ?Filter=1
Web Parts: _catalogs/wp/Forms/AllItems.aspx
Workflows: _layouts/wrkmng.aspx
Workflow history hidden list: /lists/Workflow History
Master Pages and Page Layouts: _catalogs/masterpage/Forms/AllItems.aspx
Regoinal Settings: _layouts/regionalsetng.aspx
Site Administration
Recreate default site sp groups: _layouts/15/permsetup.aspx
recycle bin: _layouts/RecycleBin.aspx
Site Libraries and Lists: _layouts/mcontent.aspx
Site Usage Report: _layouts/usageDetails.aspx
User Alerts: _layouts/sitesubs.aspx
RSS: _layouts/siterss.aspx
Search Visibility: _layouts/srchvis.aspx
Sites and Workspaces: _layouts/mngsubwebs.aspx
Site Features: _layouts/ManageFeatures.aspx
Delete This Site: _layouts/deleteweb.aspx
Site Output Cache: _Layouts/areacachesettings.aspx
Content and Structure: _Layouts/sitemanager.aspx
Content and Structure Logs: _Layouts/SiteManager.aspx?lro=all
Search Settings: _layouts/enhancedSearch.aspx
Site Collection Administration
Search Scopes: _layouts/viewscopes.aspx?mode=site
Search Keywords: _layouts/listkeywords.aspx
Recycle Bin: _layouts/AdminRecycleBin.aspx
Site Collection Features: _layouts/ManageFeatures.aspx?Scope=Site
Site Hierachy: _layouts/vsubwebs.aspx
Site hierarchy page (lists of sub sites): /_layouts/1033/vsubwebs.aspx
Portal Site Connection: _layouts/portal.aspx
Site Collection Audit Settings: _layouts/AuditSettings.aspx
Site Collection Policies: _layouts/Policylist.aspx
Site Collection Cache Profiles: Cache%20Profiles/AllItems.aspx
Site Collection Output Cache: _Layouts/sitecachesettings.aspx
Site Collection Object Cache: _Layouts/objectcachesettings.aspx
Variations: _Layouts/VariationSettings.aspx
Variation Labels: _Layouts/VariationLabels.aspx
Translatable Columns: _Layouts/TranslatableSettings.aspx
Variation Logs: _Layouts/VariationLogs.aspx
Site Settings: _layouts/settings.aspx
Delete user from Site collection (on-premises): /_layouts/15/people.aspx?MembershipGroupId=0

Load document tab initial
?InitialTabId=Ribbon.Document

Delete user from Site collection (on-premises):
/_layouts/15/people.aspx?MembershipGroupId=0

Display list in grid view. ‘True’ is case sensitive:
?ShowInGrid=True

Sandboxed Solution Gallery:
/_catalogs/solutions/Forms/AllItems.aspx

Filter toolbar for Lists and libraries:
?Filter=1

Site usage page:
/_layouts/usage.aspx

View all site content page (Site content):
/_layouts/viewlsts.aspx

Get the version of the SharePoint server (Patch level):
/_vti_pvt/Service.cnf

Web Part Maintenance Page:
?Contents=1

Show Page in Dialog View:
?isdlg=1

Application page for registering SharePoint apps
/_layouts/15/appregnew.aspx

Save Site as a template
/_layouts/savetmpl.aspx

Sign in as a different user
/_layouts/closeConnection.aspx?loginasanotheruser=true

Enable SharePoint designer
/_layouts/SharePointDesignerSettings.aspx

Quick Deploy List
Quick%20Deploy%20Items/AllItems.aspx

Open Page in Edit Mode
?ToolPaneView=2

Taxonomy Hidden List (MMS)
Lists/TaxonomyHiddenList/AllItems.aspx

User Information List:
_catalogs/users
_catalogs/users/simple.aspx

Force displaying the user profile in the site collection:
/_layouts/userdisp.aspx?id={UserID}&Force=True

Site hierarchy page (lists of sub sites)
/_layouts/vsubwebs.aspx
/_layouts/1033/vsubwebs.aspx

Add Web Parts Pane: ?ToolPaneView=2 : Add to the end of the page URL; will only work if the page is already checked out
Create: [area]/_layouts/spscreate.aspx
Create: /_layouts/create.aspx

Create list in a different portal area :

/_layouts/new.aspx?NewPageFilename=YourTemplateName.stp&ListTemplate=100&
ListBaseType=0

When you save a template in a portal area and try to create a new list in a different portal area, the template will not show on the Create page. Use this URL to force it to show.

Documents and Lists: /_layouts/viewlsts.aspx

List Template Gallery: /_catalogs/lt

Manage Audiences: /_layouts/Audience_Main.aspx

Manage Cross Site Groups: /_layouts/mygrps.aspx

Manage List Template Gallery: /_catalogs/lt/Forms/AllItems.aspx

Manage My Alerts: /_layouts/MySubs.aspx

Manage People: /_layouts/people.aspx

Manage Site Collection Administrators: /_layouts/mngsiteadmin.aspx

Manage Site Collection Users:
/_layouts/siteusrs.aspx : To access you must be an admin on the server or a site collection admin for the site.

Manage Site Groups: /_layouts/role.aspx

Manage Site Template Gallery: /_catalogs/wt/Forms/AllItems.aspx

Manage Site Template Gallery: /_catalogs/wt/Forms/Common.aspx

Manage Sites and Workspaces: /_layouts/mngsubwebs.aspx

Manage User Alerts: /_layouts/AlertsAdmin.aspx

Manage User Alerts: /_layouts/SiteSubs.aspx

Manage User Permissions: /_layouts/user.aspx

Manage Web Part Gallery: /_catalogs/wp/Forms/AllItems.aspx

Master Page Gallery: /_catalogs/masterpage : Also includes Page Layouts

Modify Navigation: /_layouts/AreaNavigationSettings.aspx

Recycle Bin: /_layouts/AdminRecycleBin.aspx

Save as site template: /_layouts/savetmpl.aspx

Site Column Gallery: /_layouts/mngfield.aspx

Site Content and Structure Manager: /_layouts/sitemanager.aspx

Site Content Types: /_layouts/mngctype.aspx

Site Settings: /_layouts/settings.aspx

Site Settings: /_layouts/default.aspx

Site Template Gallery: /_catalogs/wt

Site Theme: /_layouts/themeweb.aspx

Site usage details: /_layouts/UsageDetails.aspx

Site Usage Summary: /_layouts/SpUsageWeb.aspx

Site Usage Summary: /_layouts/Usage.aspx

Sites Registry: /SiteDirectory/Lists/Sites/Summary.aspx

Top-level Site Administration: /_layouts/webadmin.aspx

User Information: /_layouts/userinfo.aspx

Web Part Gallery: /_catalogs/wp

Web Part Page Maintenance: ?contents=1 : Add to the end of the page URL

Basic powershell cmdlet sharepoint 1920x1080

Basic powershell cmdlet sharepoint

Advertisements
Advertisements

Basic powershell cmdlet sharepoint

Below are the very basic powershell cmdlet for sharepoint which would be very helpful.

Get-Command -Noun SP*
Get-Help Get-SPSite
Get-Help Get-SPSite -Examples
PS C:\Users\de.prasad.adm> Get-Command -Noun SPSite

CommandType Name ModuleName


Backup-SPSite Microsoft.SharePoint.PowerShell
Copy-SPSite Microsoft.SharePoint.PowerShell
Get-SPSite Microsoft.SharePoint.PowerShell
Move-SPSite Microsoft.SharePoint.PowerShell
New-SPSite Microsoft.SharePoint.PowerShell
Remove-SPSite Microsoft.SharePoint.PowerShell
Repair-SPSite Microsoft.SharePoint.PowerShell
Restore-SPSite Microsoft.SharePoint.PowerShell
Set-SPSite Microsoft.SharePoint.PowerShell
Test-SPSite Microsoft.SharePoint.PowerShell
Upgrade-SPSite Microsoft.SharePoint.PowerShell
PS C:\Users\de.prasad.adm> Get-Command -Noun SPWeb

CommandType Name ModuleName


Export-SPWeb Microsoft.SharePoint.PowerShell
Get-SPWeb Microsoft.SharePoint.PowerShell
Import-SPWeb Microsoft.SharePoint.PowerShell
New-SPWeb Microsoft.SharePoint.PowerShell
Remove-SPWeb Microsoft.SharePoint.PowerShell
Set-SPWeb Microsoft.SharePoint.PowerShell
PS C:\Users\de.prasad.adm> Get-Command -Noun SPWebApplication

CommandType Name ModuleName


Convert-SPWebApplication Microsoft.SharePoint.PowerShell
Get-SPWebApplication Microsoft.SharePoint.PowerShell
New-SPWebApplication Microsoft.SharePoint.PowerShell
Remove-SPWebApplication Microsoft.SharePoint.PowerShell
Set-SPWebApplication Microsoft.SharePoint.PowerShell
PS C:\Users\de.prasad.adm> Get-Command -Noun SPServiceApplication

CommandType Name ModuleName


Get-SPServiceApplication Microsoft.SharePoint.PowerShell
Publish-SPServiceApplication Microsoft.SharePoint.PowerShell
Remove-SPServiceApplication Microsoft.SharePoint.PowerShell
Set-SPServiceApplication Microsoft.SharePoint.PowerShell
Unpublish-SPServiceApplication Microsoft.SharePoint.PowerShell
PS C:\Users\de.prasad.adm> Get-Command -Noun SPServiceApplicationPool

CommandType Name ModuleName


Get-SPServiceApplicationPool Microsoft.SharePoint.PowerShell
Cmdlet New-SPServiceApplicationPool Microsoft.SharePoint.PowerShell
Cmdlet Remove-SPServiceApplicationPool Microsoft.SharePoint.PowerShell
Cmdlet Set-SPServiceApplicationPool Microsoft.SharePoint.PowerShell
PS C:\Users\de.prasad.adm> Get-Command -Noun SPContentDatabase

CommandType Name ModuleName


Cmdlet Dismount-SPContentDatabase Microsoft.SharePoint.PowerShell
Get-SPContentDatabase Microsoft.SharePoint.PowerShell
Cmdlet Mount-SPContentDatabase Microsoft.SharePoint.PowerShell
Cmdlet New-SPContentDatabase Microsoft.SharePoint.PowerShell
Cmdlet Remove-SPContentDatabase Microsoft.SharePoint.PowerShell
Cmdlet Set-SPContentDatabase Microsoft.SharePoint.PowerShell
Cmdlet Test-SPContentDatabase Microsoft.SharePoint.PowerShell
Cmdlet Upgrade-SPContentDatabase Microsoft.SharePoint.PowerShell
PS C:\Users\de.prasad.adm> Get-Command -Noun SPDatabase

CommandType Name ModuleName


Get-SPDatabase Microsoft.SharePoint.PowerShell
PS C:\Users\de.prasad.adm> Get-Command -Noun SPManagedAccount

CommandType Name ModuleName


Get-SPManagedAccount Microsoft.SharePoint.PowerShell
New-SPManagedAccount Microsoft.SharePoint.PowerShell
Remove-SPManagedAccount Microsoft.SharePoint.PowerShell
Set-SPManagedAccount Microsoft.SharePoint.PowerShell
PS C:\Users\de.prasad.adm> Get-Command -Noun STimerJob
PS C:\Users\de.prasad.adm> Get-Command -Noun SPTimerJob

CommandType Name ModuleName


Disable-SPTimerJob Microsoft.SharePoint.PowerShell
Enable-SPTimerJob Microsoft.SharePoint.PowerShell
Get-SPTimerJob Microsoft.SharePoint.PowerShell
Set-SPTimerJob Microsoft.SharePoint.PowerShell
Start-SPTimerJob Microsoft.SharePoint.PowerShell
PS C:\Users\de.prasad.adm> Get-Command -Noun SPUser

CommandType Name ModuleName


Get-SPUser Microsoft.SharePoint.PowerShell
Move-SPUser Microsoft.SharePoint.PowerShell
New-SPUser Microsoft.SharePoint.PowerShell
Remove-SPUser Microsoft.SharePoint.PowerShell
Set-SPUser Microsoft.SharePoint.PowerShell
PS C:\Users\de.prasad.adm> Get-Command -Noun WebApplication

CommandType Name ModuleName


ConvertTo-WebApplication WebAdministration
Get-WebApplication WebAdministration
New-WebApplication WebAdministration
Remove-WebApplication WebAdministration
PS C:\Users\de.prasad.adm> Get-Command -Noun SPProcessAccount

CommandType Name ModuleName


Get-SPProcessAccount Microsoft.SharePoint.PowerShell

PS C:\Users\de.prasad.adm> Get-Command -Verb Get

Get-PfxCertificate Microsoft.PowerShell.Security
Get-PfxData PKI
Get-Process Microsoft.PowerShell.Management
Get-PSBreakpoint Microsoft.PowerShell.Utility
Get-PSCallStack Microsoft.PowerShell.Utility
Get-PSDrive Microsoft.PowerShell.Management
Get-PSProvider Microsoft.PowerShell.Management
Get-PSSession Microsoft.PowerShell.Core
Get-PSSessionConfiguration Microsoft.PowerShell.Core
Get-PSSnapin Microsoft.PowerShell.Core
Get-Random Microsoft.PowerShell.Utility
Get-ScheduledJob PSScheduledJob
Get-ScheduledJobOption PSScheduledJob
Get-SecureBootPolicy SecureBoot
Get-SecureBootUEFI SecureBoot
Get-Service Microsoft.PowerShell.Management
Get-SPAccessServiceApplication Microsoft.SharePoint.PowerShell
Get-SPAccessServicesApplication Microsoft.SharePoint.PowerShell
Get-SPAccessServicesDatabase Microsoft.SharePoint.PowerShell
Get-SPAccessServicesDatabaseServer Microsoft.SharePoint.PowerShell
Get-SPAccessServicesDatabaseServerGroup Microsoft.SharePoint.PowerShell
Get-SPAccessServicesDatabaseServerGroupMapping Microsoft.SharePoint.PowerShell
Get-SPAlternateURL Microsoft.SharePoint.PowerShell
Get-SPAppAcquisitionConfiguration Microsoft.SharePoint.PowerShell
Get-SPAppAutoProvisionConnection Microsoft.SharePoint.PowerShell
Get-SPAppDeniedEndpointList Microsoft.SharePoint.PowerShell
Get-SPAppDisablingConfiguration Microsoft.SharePoint.PowerShell
Get-SPAppDomain Microsoft.SharePoint.PowerShell
Get-SPAppHostingQuotaConfiguration Microsoft.SharePoint.PowerShell
Get-SPAppInstance Microsoft.SharePoint.PowerShell
Get-SPAppPrincipal Microsoft.SharePoint.PowerShell
Get-SPAppScaleProfile Microsoft.SharePoint.PowerShell
Get-SPAppSiteSubscriptionName Microsoft.SharePoint.PowerShell
Get-SPAppStateSyncLastRunTime Microsoft.SharePoint.PowerShell
Get-SPAppStateUpdateInterval Microsoft.SharePoint.PowerShell
Get-SPAppStoreConfiguration Microsoft.SharePoint.PowerShell
Get-SPAuthenticationProvider Microsoft.SharePoint.PowerShell
Get-SPAuthenticationRealm Microsoft.SharePoint.PowerShell
Get-SPBackupHistory Microsoft.SharePoint.PowerShell
Get-SPBingMapsBlock Microsoft.SharePoint.PowerShell
Get-SPBingMapsKey Microsoft.SharePoint.PowerShell
Get-SPBrowserCustomerExperienceImprovementProgram Microsoft.SharePoint.PowerShell
Get-SPBusinessDataCatalogEntityNotificationWeb Microsoft.SharePoint.PowerShell
Get-SPBusinessDataCatalogMetadataObject Microsoft.SharePoint.PowerShell
Get-SPBusinessDataCatalogThrottleConfig Microsoft.SharePoint.PowerShell
Get-SPCertificateAuthority Microsoft.SharePoint.PowerShell
Get-SPClaimProvider Microsoft.SharePoint.PowerShell
Get-SPClaimProviderManager Microsoft.SharePoint.PowerShell
Get-SPClaimTypeEncoding Microsoft.SharePoint.PowerShell
Get-SPContentDatabase Microsoft.SharePoint.PowerShell
Get-SPContentDeploymentJob Microsoft.SharePoint.PowerShell
Get-SPContentDeploymentPath Microsoft.SharePoint.PowerShell
Get-SPCustomLayoutsPage Microsoft.SharePoint.PowerShell
Get-SPDatabase Microsoft.SharePoint.PowerShell
Get-SPDataConnectionFile Microsoft.SharePoint.PowerShell
Get-SPDataConnectionFileDependent Microsoft.SharePoint.PowerShell
Get-SPDeletedSite Microsoft.SharePoint.PowerShell
Get-SPDesignerSettings Microsoft.SharePoint.PowerShell
Get-SPDiagnosticConfig Microsoft.SharePoint.PowerShell
Get-SPDiagnosticsPerformanceCounter Microsoft.SharePoint.PowerShell
Get-SPDiagnosticsProvider Microsoft.SharePoint.PowerShell
Get-SPDistributedCacheClientSetting Microsoft.SharePoint.PowerShell
Get-SPEduServiceSetting Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchAdministrationComponent Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchComponent Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchContentEnrichmentConfigur... Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchCrawlContentSource Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchCrawlCustomConnector Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchCrawlDatabase Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchCrawlExtension Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchCrawlLogReadPermission Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchCrawlMapping Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchCrawlRule Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchFileFormat Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchHostController Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchLanguageResourcePhrase Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchLinguisticComponentsStatus Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchLinksDatabase Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchMetadataCategory Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchMetadataCrawledProperty Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchMetadataManagedProperty Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchMetadataMapping Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchOwner Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchPropertyRule Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchPropertyRuleCollection Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchQueryAndSiteSettingsService Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchQueryAndSiteSettingsServi... Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchQueryAndSiteSettingsServi... Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchQueryAuthority Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchQueryDemoted Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchQueryKeyword Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchQueryScope Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchQueryScopeRule Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchQuerySpellingCorrection Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchQuerySuggestionCandidates Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchRankingModel Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchResultItemType Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchResultSource Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchSecurityTrimmer Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchService Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchServiceApplication Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchServiceApplicationBackupS... Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchServiceApplicationProxy Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchServiceInstance Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchSiteHitRule Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchStatus Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchTopology Microsoft.SharePoint.PowerShell
Get-SPEnterpriseSearchVssDataPath Microsoft.SharePoint.PowerShell
Get-SPExcelBIServer Microsoft.SharePoint.PowerShell
Get-SPExcelBlockedFileType Microsoft.SharePoint.PowerShell
Get-SPExcelDataConnectionLibrary Microsoft.SharePoint.PowerShell
Get-SPExcelDataProvider Microsoft.SharePoint.PowerShell
Get-SPExcelFileLocation Microsoft.SharePoint.PowerShell
Get-SPExcelServiceApplication Microsoft.SharePoint.PowerShell
Get-SPExcelUserDefinedFunction Microsoft.SharePoint.PowerShell
Get-SPFarm Microsoft.SharePoint.PowerShell
Get-SPFarmConfig Microsoft.SharePoint.PowerShell
Get-SPFeature Microsoft.SharePoint.PowerShell
Get-SPHealthAnalysisRule Microsoft.SharePoint.PowerShell
Get-SPHelpCollection Microsoft.SharePoint.PowerShell
Get-SPInfoPathFormsService Microsoft.SharePoint.PowerShell
Get-SPInfoPathFormTemplate Microsoft.SharePoint.PowerShell
Get-SPInfoPathUserAgent Microsoft.SharePoint.PowerShell
Get-SPInfoPathWebServiceProxy Microsoft.SharePoint.PowerShell
Get-SPInternalAppStateSyncLastRunTime Microsoft.SharePoint.PowerShell
Get-SPInternalAppStateUpdateInterval Microsoft.SharePoint.PowerShell
Get-SPIRMSettings Microsoft.SharePoint.PowerShell
Get-SPLogEvent Microsoft.SharePoint.PowerShell
Get-SPLogLevel Microsoft.SharePoint.PowerShell
Get-SPManagedAccount Microsoft.SharePoint.PowerShell
Get-SPManagedPath Microsoft.SharePoint.PowerShell
Get-SPMetadataServiceApplication Microsoft.SharePoint.PowerShell
Get-SPMetadataServiceApplicationProxy Microsoft.SharePoint.PowerShell
Get-SPMobileMessagingAccount Microsoft.SharePoint.PowerShell
Get-SPODataConnectionSetting Microsoft.SharePoint.PowerShell
Get-SPODataConnectionSettingMetadata Microsoft.SharePoint.PowerShell
Get-SPOfficeStoreAppsDefaultActivation Microsoft.SharePoint.PowerShell
Get-SPPendingUpgradeActions Microsoft.SharePoint.PowerShell
Get-SPPerformancePointServiceApplication Microsoft.SharePoint.PowerShell
Get-SPPerformancePointServiceApplicationTrusted... Microsoft.SharePoint.PowerShell
Get-SPPluggableSecurityTrimmer Microsoft.SharePoint.PowerShell
Get-SPProcessAccount Microsoft.SharePoint.PowerShell
Get-SPProduct Microsoft.SharePoint.PowerShell
Get-SPProfileLeader Microsoft.SharePoint.PowerShell
Get-SPProfileServiceApplicationSecurity Microsoft.SharePoint.PowerShell
Get-SPProjectDatabaseQuota Microsoft.SharePoint.PowerShell
Get-SPProjectDatabaseState Microsoft.SharePoint.PowerShell
Get-SPProjectEnterpriseProjectTaskSync Microsoft.SharePoint.PowerShell
Get-SPProjectLogLevelManager Microsoft.SharePoint.PowerShell
Get-SPProjectOdataConfiguration Microsoft.SharePoint.PowerShell
Get-SPProjectPCSSettings Microsoft.SharePoint.PowerShell
Get-SPProjectPermissionMode Microsoft.SharePoint.PowerShell
Get-SPProjectQueueSettings Microsoft.SharePoint.PowerShell
Get-SPProjectWebInstance Microsoft.SharePoint.PowerShell
Get-SPRequestManagementSettings Microsoft.SharePoint.PowerShell
Get-SPRoutingMachineInfo Microsoft.SharePoint.PowerShell
Get-SPRoutingMachinePool Microsoft.SharePoint.PowerShell
Get-SPRoutingRule Microsoft.SharePoint.PowerShell
Get-SPRSDatabase Microsoft.SharePoint.PowerShell
Get-SPRSDatabaseCreationScript Microsoft.SharePoint.PowerShell
Get-SPRSDatabaseRightsScript Microsoft.SharePoint.PowerShell
Get-SPRSDatabaseUpgradeScript Microsoft.SharePoint.PowerShell
Get-SPRSExtension Microsoft.SharePoint.PowerShell
Get-SPRSProxyUrl Microsoft.SharePoint.PowerShell
Get-SPRSServiceApplication Microsoft.SharePoint.PowerShell
Get-SPRSServiceApplicationProxy Microsoft.SharePoint.PowerShell
Get-SPRSServiceApplicationServers Microsoft.SharePoint.PowerShell
Get-SPRSSite Microsoft.SharePoint.PowerShell
Get-SPScaleOutDatabase Microsoft.SharePoint.PowerShell
Get-SPScaleOutDatabaseDataState Microsoft.SharePoint.PowerShell
Get-SPScaleOutDatabaseInconsistency Microsoft.SharePoint.PowerShell
Get-SPScaleOutDatabaseLogEntry Microsoft.SharePoint.PowerShell
Get-SPSecureStoreApplication Microsoft.SharePoint.PowerShell
Get-SPSecureStoreSystemAccount Microsoft.SharePoint.PowerShell
Get-SPSecurityTokenServiceConfig Microsoft.SharePoint.PowerShell
Get-SPServer Microsoft.SharePoint.PowerShell
Get-SPServerScaleOutDatabase Microsoft.SharePoint.PowerShell
Get-SPServerScaleOutDatabaseDataState Microsoft.SharePoint.PowerShell
Get-SPServerScaleOutDatabaseInconsistency Microsoft.SharePoint.PowerShell
Get-SPServerScaleOutDatabaseLogEntry Microsoft.SharePoint.PowerShell
Get-SPServiceApplication Microsoft.SharePoint.PowerShell
Get-SPServiceApplicationEndpoint Microsoft.SharePoint.PowerShell
Get-SPServiceApplicationPool Microsoft.SharePoint.PowerShell
Get-SPServiceApplicationProxy Microsoft.SharePoint.PowerShell
Get-SPServiceApplicationProxyGroup Microsoft.SharePoint.PowerShell
Get-SPServiceApplicationSecurity Microsoft.SharePoint.PowerShell
Get-SPServiceContext Microsoft.SharePoint.PowerShell
Get-SPServiceHostConfig Microsoft.SharePoint.PowerShell
Get-SPServiceInstance Microsoft.SharePoint.PowerShell
Get-SPSessionStateService Microsoft.SharePoint.PowerShell
Get-SPShellAdmin Microsoft.SharePoint.PowerShell
Get-SPSite Microsoft.SharePoint.PowerShell
Get-SPSiteAdministration Microsoft.SharePoint.PowerShell
Get-SPSiteSubscription Microsoft.SharePoint.PowerShell
Get-SPSiteSubscriptionConfig Microsoft.SharePoint.PowerShell
Get-SPSiteSubscriptionEdiscoveryHub Microsoft.SharePoint.PowerShell
Get-SPSiteSubscriptionEdiscoverySearchScope Microsoft.SharePoint.PowerShell
Get-SPSiteSubscriptionFeaturePack Microsoft.SharePoint.PowerShell
Get-SPSiteSubscriptionIRMConfig Microsoft.SharePoint.PowerShell
Get-SPSiteSubscriptionMetadataConfig Microsoft.SharePoint.PowerShell
Get-SPSiteUpgradeSessionInfo Microsoft.SharePoint.PowerShell
Get-SPSiteURL Microsoft.SharePoint.PowerShell
Get-SPSolution Microsoft.SharePoint.PowerShell
Get-SPStateServiceApplication Microsoft.SharePoint.PowerShell
Get-SPStateServiceApplicationProxy Microsoft.SharePoint.PowerShell
Get-SPStateServiceDatabase Microsoft.SharePoint.PowerShell
Get-SPTaxonomySession Microsoft.SharePoint.PowerShell
Get-SPThrottlingRule Microsoft.SharePoint.PowerShell
Get-SPTimerJob Microsoft.SharePoint.PowerShell
Get-SPTopologyServiceApplication Microsoft.SharePoint.PowerShell
Get-SPTopologyServiceApplicationProxy Microsoft.SharePoint.PowerShell
Get-SPTranslationThrottlingSetting Microsoft.SharePoint.PowerShell
Get-SPTrustedIdentityTokenIssuer Microsoft.SharePoint.PowerShell
Get-SPTrustedRootAuthority Microsoft.SharePoint.PowerShell
Get-SPTrustedSecurityTokenIssuer Microsoft.SharePoint.PowerShell
Get-SPTrustedServiceTokenIssuer Microsoft.SharePoint.PowerShell
Get-SPUpgradeActions Microsoft.SharePoint.PowerShell
Get-SPUsageApplication Microsoft.SharePoint.PowerShell
Get-SPUsageDefinition Microsoft.SharePoint.PowerShell
Get-SPUsageService Microsoft.SharePoint.PowerShell
Get-SPUser Microsoft.SharePoint.PowerShell
Get-SPUserLicense Microsoft.SharePoint.PowerShell
Get-SPUserLicenseMapping Microsoft.SharePoint.PowerShell
Get-SPUserLicensing Microsoft.SharePoint.PowerShell
Get-SPUserSettingsProvider Microsoft.SharePoint.PowerShell
Get-SPUserSettingsProviderManager Microsoft.SharePoint.PowerShell
Get-SPUserSolution Microsoft.SharePoint.PowerShell
Get-SPVisioExternalData Microsoft.SharePoint.PowerShell
Get-SPVisioPerformance Microsoft.SharePoint.PowerShell
Get-SPVisioSafeDataProvider Microsoft.SharePoint.PowerShell
Get-SPVisioServiceApplication Microsoft.SharePoint.PowerShell
Get-SPVisioServiceApplicationProxy Microsoft.SharePoint.PowerShell
Get-SPWeb Microsoft.SharePoint.PowerShell
Get-SPWebApplication Microsoft.SharePoint.PowerShell
Get-SPWebApplicationAppDomain Microsoft.SharePoint.PowerShell
Get-SPWebApplicationHttpThrottlingMonitor Microsoft.SharePoint.PowerShell
Get-SPWebPartPack Microsoft.SharePoint.PowerShell
Get-SPWebTemplate Microsoft.SharePoint.PowerShell
Get-SPWOPIBinding Microsoft.SharePoint.PowerShell
Get-SPWOPISuppressionSetting Microsoft.SharePoint.PowerShell
Get-SPWOPIZone Microsoft.SharePoint.PowerShell
Get-SPWorkflowConfig Microsoft.SharePoint.PowerShell
Get-SPWorkflowServiceApplicationProxy Microsoft.SharePoint.PowerShell
Get-Tpm TrustedPlatformModule
Get-TpmEndorsementKeyInfo TrustedPlatformModule
Get-TpmSupportedFeature TrustedPlatformModule
Get-TraceSource Microsoft.PowerShell.Utility
Get-Transaction Microsoft.PowerShell.Management
Get-TroubleshootingPack TroubleshootingPack
Get-TypeData Microsoft.PowerShell.Utility
Get-UICulture Microsoft.PowerShell.Utility
Get-Unique Microsoft.PowerShell.Utility
Get-Variable Microsoft.PowerShell.Utility
Get-WebAppDomain WebAdministration
Get-WebApplication WebAdministration
Get-WebApplicationMonitoringStatus Microsoft.MonitoringAgent.Pow...
Get-WebAppPoolState WebAdministration
Get-WebBinding WebAdministration
Get-WebCentralCertProvider WebAdministration
Get-WebConfigFile WebAdministration
Get-WebConfiguration WebAdministration
Get-WebConfigurationBackup WebAdministration
Get-WebConfigurationLocation WebAdministration
Get-WebConfigurationLock WebAdministration
Get-WebConfigurationProperty WebAdministration
Get-WebFilePath WebAdministration
Get-WebGlobalModule WebAdministration
Get-WebHandler WebAdministration
Get-WebItemState WebAdministration
Get-WebManagedModule WebAdministration
Get-WebRequest WebAdministration
Get-Website WebAdministration
Get-WebsiteState WebAdministration
Get-WebURL WebAdministration
Get-WebVirtualDirectory WebAdministration
Get-WheaMemoryPolicy Whea
Get-WIMBootEntry Dism
Get-WinAcceptLanguageFromLanguageListOptOut International
Get-WinCultureFromLanguageListOptOut International
Get-WinDefaultInputMethodOverride International
Get-WindowsDriver Dism
Get-WindowsEdition Dism
Get-WindowsErrorReporting WindowsErrorReporting
Get-WindowsImage Dism
Get-WindowsImageContent Dism
Get-WindowsOptionalFeature Dism
Get-WindowsPackage Dism
Get-WindowsSearchSetting WindowsSearch
Get-WinEvent Microsoft.PowerShell.Diagnostics
Get-WinHomeLocation International
Get-WinLanguageBarOption International
Get-WinSystemLocale International
Get-WinUILanguageOverride International
Get-WinUserLanguageList International
Get-WmiObject Microsoft.PowerShell.Management
Get-WSManCredSSP Microsoft.WSMan.Management
Get-WSManInstance Microsoft.WSMan.Management

Advertisements
Advertisements
14 Hive directories default location SharePoint 2010

14 Hive directories default location SharePoint 2010

14 Hive directories default location SharePoint 2010

14 Hive directories default location SharePoint 2010 can be found below 

C:\Program Files\Common files\Microsoft Shared\Web Server Extensions\14
14hive

The 14 Hive - Folder Structure
The 14 Hive has a definite folder structure which holds the core SharePoint server files.

  • ADMISAPI:- It contains soap services for Central Administration. If this directory is altered, remote site creation and other methods exposed in the service will not function correctly.
  • Bin:- The directory contains all the core binary files, utilities which used by SharePoint Services.  command line tools such as STSADM.EXE also present in this folder.
  • Config:- This directory contains files used to extend IIS Web sites with SharePoint Server. If this directory or its contents are altered, Web application will not function correctly.
  • HCCab:- This directory has a set of cab files which has content information used by the SharePoint help system.
  • Help:- The folder contains html help file (.chm) used by the configuration wizard.
  • ISAPI:- This directory contains all the standard Web Services for SharePoint and resources and configuration files that the web services use.
  • Logs:- This is the folder where we can have all the SharePoint related logs will see. This is important when any problem or error occur in SharePoint you have to trace the logs files in this folder to get the error messages.
  • Resources:- This directory contains the core.resx file used for creating language packs for SharePoint.   by which different SharePoint sites with different languages and cultures can be create.
  • Template:- It contains the core web site functionality like the features, templates, configurations, resources of a web site.
  • UserCode:- This directory contains files used to support sandbox solution.
  • Web Clients:- This directory contains files related to Client Object Model.
  • Web Services:- This directory is the root directory where SharePoint back-end Web services are hosted, for example, Excel and Search.


Other Important SharePoint 2010 Directories
1) C:Inetpubwwwrootwss - This directory (or the corresponding directory under the Inetpub root on the server) is used as the default location for IIS Web sites.
2) C:ProgramFilesMicrosoft Office Servers14.0 - This directory is the installation location for SharePoint Server 2010 binaries and data. The directory can be changed during installation.
3) C:ProgramFilesMicrosoft Office Servers14.0WebServices - This directory is the root directory where SharePoint back-end Web services are hosted, for example, Excel and Search.
4) C:ProgramFilesMicrosoft Office Servers14.0Data - This directory is the root location where local data is stored, including search indexes.
5) C:ProgramFilesMicrosoft Office Servers14.0Logs – This directory is the location where the run-time diagnostic logging is generated.

Advertisements
Advertisements
Chart Web Part SharePoint 2010 1920x1080

Chart Web Part SharePoint 2010

Advertisements
Advertisements

Chart Web Part SharePoint 2010

One of the new additions to Microsoft's SharePoint Server 2010 platform is the Chart Web Part (CWP), which allows you to create static and dynamic charts for your site without a line a code. One of the complaints from MOSS 2007 was that users wanted to be able to drop a chart onto their site to create dashboard or display information from Excel documents, or provide metrics to other users in a graphical way.

So now that the Chart Web Part is available, let see how we can use it. To drop a Chart Web Part on your page, go to Site Actions > Edit Page. From there, click "Insert" from the Editing Tools menu. The "Chart Web Part" is available under the "Business Data" category, then you can click on the CWP option and add to a content area.

Chart_Web_Part1

Once added to the page, you will see "Data & Appearance" and "Advance Properties" options.

Chart_Web_Part2

There are a couple of ways you can go once you click the "Data & Appearance" link. You can change the way that the chart will display under "Customize Your Chart" or change the data connection the chart by selecting "Connect Chart to Data" link.

Chart_Web_Part3

The "Customize Your Chart" options will start with selecting the type of chart you'd like to have display your information. There are 2D and 3D chart types you can select and various sub-types of chart types to choose from.

Chart_Web_Part4

Chart_Web_Part8

Chart_Web_Part9

Then click "Finish" and you have a web part on your page, but now we need to decide which data to use now that we've make look the way we want. To change the data source, click "Connect Chart to Data" and we'll review the options available.

Chart_Web_Part10

We can connect to another web part that has information that we need, maybe from another SharePoint list. We can connect directly to a list, the Business Data Catalog that contains your business system's data or to Excel Services that has a spreadsheet you'd like to dynamically update in one location and pull into a dashboard. For this exercise, I will connect to a List, in this case, I'm going to select my "Help Desk Tickets" list.

Chart_Web_Part11

 

Here is the information that is going to be contained in my chart:

Chart_Web_Part4

I provide some information to enhance how the chart will display the data and by which fields the data could be grouped by.

Chart_Web_Part5

The final result looks like this:

Chart_Web_Part6

You can change some of the properties or styles to get the result you'd like, but you can see it's pretty easy to add a chart (or charts) to your site with a little configuration. We could look at Excel Services or BDC data in the future, but the concept is the same.

Advertisements
Advertisements
Get Database Size 1920x1080

Get Database Size for all SharePoint Data Bases using PowerShell

Get Database Size for all SharePoint Data Bases using PowerShell

Add-PSSnapin microsoft.sharepoint.powershell

$size = 0

foreach ($db in Get-SPContentDatabase)

{

$size = $size + $db.DiskSizeRequired

}

$cdbs = “{0:N2}” -f($size/1gb)

$ssa = Get-SPEnterpriseSearchServiceApplication

$topo = $ssa | Get-SPEnterpriseSearchTopology  -Active

$indexcomponent = (Get-SPEnterpriseSearchComponent -SearchTopology $topo | ?{$_.name -like “*index*”})[0]

$folder = $indexcomponent.RootDirectory

$indexsize = “{0:N2}” -f ((Get-ChildItem $folder -Recurse | Measure-Object -sum  Length).sum/1GB)

$dbs = Get-SPDatabase

cls

write-host “————————————————————————————–” -fore green

Get-Date

write-host “”

write-host “————————————————————————————–” -fore green

write-host “SUM: Content DB Size in GB: ” -NoNewline -fore White

write-host $cdbs -fore Yellow

write-host “————————————————————————————–” -fore green

write-host “Index Size (Localhost) on Disk in GB: “-NoNewline -fore white

write-host $indexsize -fore Yellow

write-host “————————————————————————————–” -fore green

$sum_all_dbs = 0

foreach ($db in $dbs)

{

write-host $db.name “DB Size in GB: ” -NoNewline -fore White

$dsr = “{0:N2}” -f ($db.DiskSizeRequired/1gb)

write-host $dsr  -fore Yellow

$sum_all_dbs=$sum_all_dbs+$db.DiskSizeRequired

}

write-host “————————————————————————————–” -fore green

write-host “SUM: Usage of all SharePoint DBs in GB: ” -NoNewline -fore White

$sum_all_dbs = “{0:N2}” -f ($sum_all_dbs/1gb)

write-host $sum_all_dbs -fore Yellow

write-host “————————————————————————————–” -fore green