Wednesday, April 28, 2010
Domain Certificate Authority Signing InfoPath 2007 Forms
First, certificates work because there are a set of trusted root certificate authorities. Their responsibility is to issue certificates. The organizations running the trusted root certificate authorities are responsible for only issuing certificates where the certificate matches the organization requesting the certificate. They make no judgment about whether the person is good or bad – only that they are who they say they are. The service that you pay for when you purchase a certificate from a trusted root certificate authority is that they have verified your identity.
Microsoft Windows has a list of trusted root certificate authorities – but when a computer is in a domain, it automatically trusts the Enterprise Certificate Authority for the domain. The Enterprise certificate authority is an instance of certificate services which comes with Windows Server operating systems. It allows an administrator to issue certificates. There are several templates for the kinds of certificates to be issued. The most common one is for a web server – an SSL certificate – but there are others as well.
Certificate Services has a template for code signing certificates. If you put everything together you realize that when all of your computers are a member of a domain you can request and get granted a code signing certificate that’s valid for anyone using the certificate in the domain.
Here’s how to do it…
Install Certificate Services
If you don’t have an Enterprise Certificate Authority in your domain, go to a server and …
1) Click Start- Control Panel-Add/Remove Programs
2) Click Windows Components
3) Click the checkmark to the left of Certificate Services
4) Click Next
5) Follow the wizard to create an Enterprise Certificate Authority.
Note: There are special precautions for protecting enterprise certificate authorities including creating sub-authorities, and taking the certificate authority offline. If your organization is large, you should review the risks and guidelines for creating certificate authorities and manage security appropriately. In smaller organizations it’s generally acceptable to create an enterprise CA and issue certificates from it.
Create a Copy of the Code Signing Template
The default out of box code signing certificate doesn’t allow the certificate’s private key to be exported. This means that only the user to which the certificate is issued can use it. Generally you don’t want to have developers to have enough permission to request the certificate themselves. If you want to be able to move the certificate from user to another you’ll need to make a copy of the Code Signing certificate and change it so it can have exportable keys. We’re going to show you how to do this. If you follow these steps choose your duplicated code signing certificate in the following steps.
1) Click Start-Run and enter certtmpl.msc.
2) Right click the Code Signing template and select Duplicate.
3) Enter a name for the new Template. For instance, add your organization name in front.
4) Click the Request Handling tab.
5) Click the Allow private key to be exported.
6) Click OK.
You now have your own code signing template that can be exported.
Enable the Code Signing Template
By default the code signing certificate template isn’t available to be issued from your certificate authority. To do that you need to enable the template which you can do by following these steps…
1) Click Start-Administrative Tools-Certification Authority
2) Expand the server that you installed certificate services on
3) Click the Certificate Templates folder.
4) Right click the Certificate Templates folder, select New, Certificate Template to Issue.
5) Click Code Signing and click the OK button.
Now you can issue Code Signing Certificates
Issue the Certificate
Now that everything is in place you can issue the certificate. Follow these steps to do that…
1) Open a web browser and navigate to http://server/certsrv where server is the name of the server which you installed certificate services.
2) Click the Request a certificate link
3) Click the advanced certificate request link
4) Click the Create and submit a request to this CA link
5) In the certificate template drop down box select Code Signing.
6) Enter a friendly name for the certificate in the friendly name textbox at the end of the page.
7) Click Submit. You may be prompted that the web site is requesting a certificate, click Yes.
8) Click the Install Certificate link. Again you may be warned that you’re getting a certificate, click Yes.
You now have a certificate in your certificates store. If you’ve not been doing this as the developer (and you probably haven’t), you’ll need to export the certificate and import it into the developer’s account. You’ll only be able to do this if you created your own code signing template.
Exporting the Certificate
Here’s what you need to do to export the certificate:
1) Click Start-Run enter certmgr.msc
2) Expand the Personal Folder
3) Expand the Certificates folder
4) Locate the certificate that indicates that its intended purposes is Code Signing.
5) Right click on that item and select All Tasks-Export
6) Click Next
7) Click Yes, export the private key.
8) Click Next.
9) Click Next
10) Enter a password and confirm password.
11) Click Next
12) Enter a file name for the exported file
13) Click Next
14) Click Finish
You’ve exported the certificate.
Importing the Certificate
If you’ve exported the certificate you can move that over to the user or machine that will be signing the code and follow these steps to import the certificate.
1) Double click the file to start the Certificate Import Wizard.
2) Click Next
3) Click Next
4) Enter the password you entered when you exported the file.
5) Click Mark the key as exportable.
6) Click Next
7) Click Next
8) Click Finish
9) Click OK.
You’ve now imported the certificate file.
Configure InfoPath to Use the Certificate
The final step in this journey is to tell InfoPath to use the certificate. Do that by following these steps…
1) Open an InfoPath form in design view.
2) Click Tools-Form Options
3) In the category pane, click Security and Trust
4) Click Sign this form template
5) Click the Select Certificate button
6) Select the certificate that you just issued.
7) Click OK.
8) Click OK.
OK, you’re done. That’s all you need to do in order to get a code signing certificate that will sign InfoPath forms that the users of the organization will recognize.
Thursday, January 7, 2010
MOSS 2007 VS SharePoint 2010
Name: Microsoft Office SharePoint Server 2007
Description:
Helps organizations gain better control and insight over their content, streamline their business processes, and access and share information.
Mostly on-premise
Features:
Portal : Share content based on user’s profile
Collaboration : Allows Teams to work together
Content : Create and manage documents, records, and Web content
Search : Quickly and easily find people, expertise, and content in business applications
Business Intelligence : Make informed business decisions
Business Process & Forms: Design business forms that are accessible directly in a Web browser and integrate them with databases or other business applications.
Hardware: Supports 32 and 64 bit platform
Office Clients provided some out-of-box integration
No client APIs for integration with LOB apps
Browser: Single browser support
Services: Excel Services
SharePoint 2010
Name:
Description:
Business Collaboration platform for enterprise and web
Deployed on-premise or as hosted service
Features:
Sites : Share information seamlessly with employees, partners & customers
Communities : Empower people to work together
Content : Manage content lifecycle from creation to disposition
Search : Find Information and People anywhere
Insights : Make informed business decisions
Composites : Rapidly create dynamic business solutions
Hardware: Supports only 64 bit platform for SharePoint and SQL Server
Smart client – SharePoint workspace with all features
Client APIs will be available
Browser: Multi browser support – IE, Firefox, Safari.
Services: Excel & Visio Services
SharePoint 2010 cmdlets
SPAccessServiceApplication
• Get-SPAccessServiceApplication – Gets an {Access Service} application object.
• New-SPAccessServiceApplication
• Set-SPAccessServiceApplication – Sets a global property for an {Access Services} application.
SPAdminJob
• Start-SPAdminJob – Immediately starts any waiting administrative job on the local computer.
SPAlternateURL
• Get-SPAlternateURL – Return all alternate URLs that match a given criteria.
• New-SPAlternateUrl – Creates a new public or internal URL for the specified Web application zone or resource.
• Remove-SPAlternateUrl – Completely deletes the specified alternate URL.
• Set-SPAlternateUrl – Configures the specified alternate URL.
SPApplicationContent
• Install-SPApplicationContent
SPAssignment
• Start-SPAssignment – Initiates a new assignment store.
• Stop-SPAssignment – Disposes of objects in the provided Assignment Collection.
SPBackupHistory
• Get-SPBackupHistory
SPBlobStorageLocation
• Move-SPBlobStorageLocation
SPBrowserCustomerExperienceImprovementProgram
• Get-SPBrowserCustomerExperienceImprovementProgram
• Set-SPBrowserCustomerExperienceImprovementProgram
SPBusinessDataCatalogAclToChildren
• Copy-SPBusinessDataCatalogAclToChildren
SPBusinessDataCatalogEntity
• Disable-SPBusinessDataCatalogEntity
• Enable-SPBusinessDataCatalogEntity
SPBusinessDataCatalogMetadataObject
• Get-SPBusinessDataCatalogMetadataObject
• Grant-SPBusinessDataCatalogMetadataObject
• Revoke-SPBusinessDataCatalogMetadataObject
• Set-SPBusinessDataCatalogMetadataObject
SPBusinessDataCatalogModel
• Export-SPBusinessDataCatalogModel
• Import-SPBusinessDataCatalogModel
• Remove-SPBusinessDataCatalogModel
SPBusinessDataCatalogPartition
• Remove-SPBusinessDataCatalogPartition
SPBusinessDataCatalogPartitionData
• Clear-SPBusinessDataCatalogPartitionData
• Export-SPBusinessDataCatalogPartitionData
• Import-SPBusinessDataCatalogPartitionData
SPBusinessDataCatalogServiceApplication
• New-SPBusinessDataCatalogServiceApplication
• Set-SPBusinessDataCatalogServiceApplication
SPBusinessDataCatalogServiceApplicationProxy
• New-SPBusinessDataCatalogServiceApplicationProxy
SPBusinessDataCatalogThrottleConfig
• Get-SPBusinessDataCatalogThrottleConfig
• Remove-SPBusinessDataCatalogThrottleConfig
• Set-SPBusinessDataCatalogThrottleConfig
SPCentralAdministration
• New-SPCentralAdministration – Creates a new Central Administration Web application.
• Set-SPCentralAdministration
SPCertificate
• Get-SPCertificate
• New-SPCertificate
• Remove-SPCertificate
SPCertificateStore
• Get-SPCertificateStore
SPClaimMapping
• Add-SPClaimMapping
• New-SPClaimMapping
• Remove-SPClaimMapping
SPClaimProviderManager
• Get-SPClaimProviderManager
SPClaimsObject
• New-SPClaimsObject
SPClaimsPrincipal
• New-SPClaimsPrincipal
SPConfigurationDatabase
• Backup-SPConfigurationDatabase – Performs a configuration only backup.
• Connect-SPConfigurationDatabase – Connects the computer to an existing configuration database.
• Disconnect-SPConfigurationDatabase
• New-SPConfigurationDatabase – Creates a new configuration database.
• Remove-SPConfigurationDatabase – Permanently removes the specified configuration database.
SPContentDatabase
• Check-SPContentDatabase
• Dismount-SPContentDatabase
• Get-SPContentDatabase
• Initialize-SPContentDatabase
• Mount-SPContentDatabase
• New-SPContentDatabase
• Remove-SPContentDatabase
• Set-SPContentDatabase
• Upgrade-SPContentDatabase
SPContentDeploymentJob
• Get-SPContentDeploymentJob
• New-SPContentDeploymentJob
• Remove-SPContentDeploymentJob
• Set-SPContentDeploymentJob
• Start-SPContentDeploymentJob
SPContentDeploymentPath
• Get-SPContentDeploymentPath
• New-SPContentDeploymentPath
• Remove-SPContentDeploymentPath
• Set-SPContentDeploymentPath
SPCustomLayoutsPage
• Get-SPCustomLayoutsPage
• Set-SPCustomLayoutsPage
SPDatabase
• Get-SPDatabase – Retrieves all properties of a database.
SPDataConnectionFile
• Get-SPDataConnectionFile – Returns a data connection file or a collection of data connection files.
• Install-SPDataConnectionFile – Installs the provided data connection file.
• Set-SPDataConnectionFile – Sets properties of a data connection file.
• Uninstall-SPDataConnectionFile – Removes a data connection file.
SPDataConnectionFileDependent
• Get-SPDataConnectionFileDependent – Returns administrator deployed form templates on the server dependent on a Universal Data Connection (UDC).
SPDesignerSettings
• Get-SPDesignerSettings
• Set-SPDesignerSettings
SPDiagnosticConfig
• Get-SPDiagnosticConfig
• Set-SPDiagnosticConfig
SPDiagnosticsProvider
• Get-SPDiagnosticsProvider
• Set-SPDiagnosticsProvider
SPediscoveryHub
• Set-SPediscoveryHub
SPEdiscoveryHubSearchScope
• Get-SPEdiscoveryHubSearchScope
SPediscoveryHubSite
• Get-SPediscoveryHubSite
SPEnterpriseSearchAdministrationComponent
• Get-SPEnterpriseSearchAdministrationComponent – Returns the administration component for a shared search application.
• Set-SPEnterpriseSearchAdministrationComponent – Sets properties of an administration component for a shared search application.
SPEnterpriseSearchCrawlComponent
• Get-SPEnterpriseSearchCrawlComponent – Returns a crawl component for a shared search application.
• New-SPEnterpriseSearchCrawlComponent – Creates a crawl component for a shared search application.
• Remove-SPEnterpriseSearchCrawlComponent – Deletes a crawl component from a shared search application.
SPEnterpriseSearchCrawlContentSource
• Get-SPEnterpriseSearchCrawlContentSource – Returns a crawl content source.
• New-SPEnterpriseSearchCrawlContentSource – Creates a new crawl content source for a shared search application.
• Remove-SPEnterpriseSearchCrawlContentSource – Deletes a specified crawl content source from a search application.
• Set-SPEnterpriseSearchCrawlContentSource – Sets the properties of a crawl content source for a shared search application.
SPEnterpriseSearchCrawlCustomConnector
• Get-SPEnterpriseSearchCrawlCustomConnector
• New-SPEnterpriseSearchCrawlCustomConnector
• Remove-SPEnterpriseSearchCrawlCustomConnector
SPEnterpriseSearchCrawlDatabase
• Get-SPEnterpriseSearchCrawlDatabase – Returns a crawl store.
• New-SPEnterpriseSearchCrawlDatabase – Adds a crawl store to a shared search application.
• Remove-SPEnterpriseSearchCrawlDatabase – Deletes a content crawl store.
• Set-SPEnterpriseSearchCrawlDatabase
SPEnterpriseSearchCrawlExtension
• Get-SPEnterpriseSearchCrawlExtension – Returns the extension rule for the extension collection.
• New-SPEnterpriseSearchCrawlExtension – Adds an extension rule to a shared search application.
• Remove-SPEnterpriseSearchCrawlExtension – Removes a file name extension from the list of files that can be crawled.
SPEnterpriseSearchCrawlMapping
• Get-SPEnterpriseSearchCrawlMapping – Returns a crawl mapping for the search application.
• New-SPEnterpriseSearchCrawlMapping – Creates a crawl mapping rule for a shared search application.
• Remove-SPEnterpriseSearchCrawlMapping – Deletes a crawl mapping.
SPEnterpriseSearchCrawlRule
• Get-SPEnterpriseSearchCrawlRule – Output an CrawlRule Object.
• New-SPEnterpriseSearchCrawlRule – Output an CrawlRule Object.
• Remove-SPEnterpriseSearchCrawlRule – Output an CrawlRule Object.
• Set-SPEnterpriseSearchCrawlRule – Output an CrawlRule Object.
SPEnterpriseSearchCrawlTopology
• Get-SPEnterpriseSearchCrawlTopology – Returns a crawl topology.
• New-SPEnterpriseSearchCrawlTopology – Adds a crawl topology to a shared search application.
• Remove-SPEnterpriseSearchCrawlTopology – Deletes a crawl topology.
• Set-SPEnterpriseSearchCrawlTopology – Sets the properties of a crawl topology on a shared search application.
SPEnterpriseSearchExtendedClickThroughExtractorJobDefinition
• Get-SPEnterpriseSearchExtendedClickThroughExtractorJobDefinition
SPEnterpriseSearchExtendedConnectorProperty
• Get-SPEnterpriseSearchExtendedConnectorProperty
• Set-SPEnterpriseSearchExtendedConnectorProperty
SPEnterpriseSearchExtendedQueryProperty
• Get-SPEnterpriseSearchExtendedQueryProperty
• Set-SPEnterpriseSearchExtendedQueryProperty
SPEnterpriseSearchIndexPartition
• Get-SPEnterpriseSearchIndexPartition – Returns an index partition for a query topology.
• Set-SPEnterpriseSearchIndexPartition – Sets properties of an index partition for a query topology.
SPEnterpriseSearchLanguageResourcePhrase
• Get-SPEnterpriseSearchLanguageResourcePhrase – Returns a language resource phrase.
• New-SPEnterpriseSearchLanguageResourcePhrase – Adds a language resource phrase to a shared search application.
• Remove-SPEnterpriseSearchLanguageResourcePhrase – Deletes a language resource phrase from a shared search application.
SPEnterpriseSearchManagerService
• Get-SPEnterpriseSearchManagerService – Returns the search manager service.
SPEnterpriseSearchManagerServiceInstance
• Get-SPEnterpriseSearchManagerServiceInstance – Returns the service manager service instance.
• Start-SPEnterpriseSearchManagerServiceInstance – Starts an instance of a search manager service.
• Stop-SPEnterpriseSearchManagerServiceInstance – Stops an instance of a search manager service.
SPEnterpriseSearchManagerServiceProxy
• Get-SPEnterpriseSearchManagerServiceProxy – Returns the search manager service proxy.
SPEnterpriseSearchMetadataCategory
• Get-SPEnterpriseSearchMetadataCategory – Returns a crawled property category.
• New-SPEnterpriseSearchMetadataCategory – Adds a crawled property category to a shared search application.
• Remove-SPEnterpriseSearchMetadataCategory – Deletes a crawled property category.
• Set-SPEnterpriseSearchMetadataCategory – Sets properties of a crawled property category for a shared search application.
SPEnterpriseSearchMetadataCrawledProperty
• Get-SPEnterpriseSearchMetadataCrawledProperty – Returns a crawled property.
• New-SPEnterpriseSearchMetadataCrawledProperty – Adds a crawled property category to a shared search application.
• Set-SPEnterpriseSearchMetadataCrawledProperty – Sets the properties of a metadata crawled property for a shared search application.
SPEnterpriseSearchMetadataManagedProperty
• Get-SPEnterpriseSearchMetadataManagedProperty – Returns a managed property.
• New-SPEnterpriseSearchMetadataManagedProperty – Adds a managed property to a shared search application.
• Remove-SPEnterpriseSearchMetadataManagedProperty – Deletes a metadata managed property.
• Set-SPEnterpriseSearchMetadataManagedProperty – Sets the properties of a metadata managed property.
SPEnterpriseSearchMetadataMapping
• Get-SPEnterpriseSearchMetadataMapping – Returns the current state of a managed property mapping.
• New-SPEnterpriseSearchMetadataMapping – Adds a managed property mapping to a shared search application.
• Remove-SPEnterpriseSearchMetadataMapping – Deletes a metadata mapping from a managed property.
• Set-SPEnterpriseSearchMetadataMapping – Sets the properties of a managed property mapping for a shared search application.
SPEnterpriseSearchPropertyDatabase
• Get-SPEnterpriseSearchPropertyDatabase – Returns a property store.
• New-SPEnterpriseSearchPropertyDatabase – Adds a new property store to a shared search application.
• Remove-SPEnterpriseSearchPropertyDatabase – Deletes a property store.
• Set-SPEnterpriseSearchPropertyDatabase
SPEnterpriseSearchQueryAuthority
• Get-SPEnterpriseSearchQueryAuthority – Returns an authoritative page.
• New-SPEnterpriseSearchQueryAuthority – Adds an authoritative page to a shared search application.
• Remove-SPEnterpriseSearchQueryAuthority – Deletes an authoritative page.
• Set-SPEnterpriseSearchQueryAuthority – Sets the properties of an authoritative page for a shared search application.
SPEnterpriseSearchQueryComponent
• Get-SPEnterpriseSearchQueryComponent – Returns a query component.
• New-SPEnterpriseSearchQueryComponent – Adds a query component to a query topology.
• Remove-SPEnterpriseSearchQueryComponent – Deletes a query component.
• Restart-SPEnterpriseSearchQueryComponent
• Set-SPEnterpriseSearchQueryComponent
SPEnterpriseSearchQueryDemoted
• Get-SPEnterpriseSearchQueryDemoted – Returns a demoted site rule.
• New-SPEnterpriseSearchQueryDemoted – Adds a demoted site rule to a shared search application.
• Remove-SPEnterpriseSearchQueryDemoted – Deletes a demoted site rule.
SPEnterpriseSearchQueryKeyword
• Get-SPEnterpriseSearchQueryKeyword – Returns a keyword term.
• New-SPEnterpriseSearchQueryKeyword – Adds a keyword term to a shared search application.
• Remove-SPEnterpriseSearchQueryKeyword – Deletes a query keyword.
• Set-SPEnterpriseSearchQueryKeyword – Sets the properties of a keyword term for a shared search application.
SPEnterpriseSearchQueryScope
• Get-SPEnterpriseSearchQueryScope – Returns a query results scope.
• New-SPEnterpriseSearchQueryScope – Adds a query results scope to a shared search application.
• Remove-SPEnterpriseSearchQueryScope – Deletes a query scope.
• Set-SPEnterpriseSearchQueryScope – Sets the properties of a query results scope for a shared search application.
SPEnterpriseSearchQueryScopeRule
• Get-SPEnterpriseSearchQueryScopeRule – Returns a shared scope rule.
• New-SPEnterpriseSearchQueryScopeRule – Adds a shared scope rule to a query scope.
• Remove-SPEnterpriseSearchQueryScopeRule – Deletes query results scope rules.
• Set-SPEnterpriseSearchQueryScopeRule – Sets the properties of a shared scope rule for a query scope.
SPEnterpriseSearchQuerySuggestionCandidates
• Get-SPEnterpriseSearchQuerySuggestionCandidates
SPEnterpriseSearchQueryTopology
• Get-SPEnterpriseSearchQueryTopology – Returns a query topology.
• New-SPEnterpriseSearchQueryTopology – Adds a query topology to a shared search application.
• Remove-SPEnterpriseSearchQueryTopology – Deletes a query topology.
• Set-SPEnterpriseSearchQueryTopology – Sets the properties of a query topology for a shared search application.
SPEnterpriseSearchRankingModel
• Get-SPEnterpriseSearchRankingModel – Returns a ranking model.
• New-SPEnterpriseSearchRankingModel – Adds a ranking model to a shared search application.
• Remove-SPEnterpriseSearchRankingModel – Deletes a ranking model.
• Set-SPEnterpriseSearchRankingModel – Sets the properties of a ranking model for a shared search application.
SPEnterpriseSearchSecurityTrimmer
• Get-SPEnterpriseSearchSecurityTrimmer – Returns a custom security trimmer.
• New-SPEnterpriseSearchSecurityTrimmer – Adds a custom security trimmer to a shared search application.
• Remove-SPEnterpriseSearchSecurityTrimmer – Deletes a custom security trimmer.
SPEnterpriseSearchService
• Get-SPEnterpriseSearchService – Returns the search service for the farm.
• Set-SPEnterpriseSearchService – Sets the properties of a search service for a farm.
SPEnterpriseSearchServiceApplication
• Get-SPEnterpriseSearchServiceApplication – Returns the search service application for a farm.
• New-SPEnterpriseSearchServiceApplication – Adds a search service application to a farm.
• Remove-SPEnterpriseSearchServiceApplication – Deletes a search service application.
• Restore-SPEnterpriseSearchServiceApplication
• Set-SPEnterpriseSearchServiceApplication – Sets the properties of a search service application for a farm.
• Upgrade-SPEnterpriseSearchServiceApplication
SPEnterpriseSearchServiceApplicationProxy
• Get-SPEnterpriseSearchServiceApplicationProxy – Returns the search service application proxy.
• New-SPEnterpriseSearchServiceApplicationProxy – Adds a site hit rule for a search application.
• Remove-SPEnterpriseSearchServiceApplicationProxy – Deletes a search service application proxy.
• Set-SPEnterpriseSearchServiceApplicationProxy – Sets properties of a search service application proxy.
SPEnterpriseSearchServiceInstance
• Get-SPEnterpriseSearchServiceInstance – Returns the search service instance for a farm.
• Set-SPEnterpriseSearchServiceInstance – Sets the properties of a search service instance.
• Start-SPEnterpriseSearchServiceInstance – Starts an instance of a search service.
• Stop-SPEnterpriseSearchServiceInstance – Stops an instance of a search service.
SPEnterpriseSearchSiteHitRule
• Get-SPEnterpriseSearchSiteHitRule – Returns shared site hit rule.
• New-SPEnterpriseSearchSiteHitRule – Output an SiteHitRule Object.
• Remove-SPEnterpriseSearchSiteHitRule – Output an SiteHitRule Object.
SPEnterpriseSearchTopology
• Export-SPEnterpriseSearchTopology – Saves an existing search topology.
• Import-SPEnterpriseSearchTopology – Imports and activates a topology from an XML file.
SPExcelBlockedFileType
• Get-SPExcelBlockedFileType
• New-SPExcelBlockedFileType
• Remove-SPExcelBlockedFileType
SPExcelDataConnectionLibrary
• Get-SPExcelDataConnectionLibrary
• New-SPExcelDataConnectionLibrary
• Remove-SPExcelDataConnectionLibrary
• Set-SPExcelDataConnectionLibrary
SPExcelDataProvider
• Get-SPExcelDataProvider
• New-SPExcelDataProvider
• Remove-SPExcelDataProvider
• Set-SPExcelDataProvider
SPExcelFileLocation
• Get-SPExcelFileLocation
• New-SPExcelFileLocation
• Remove-SPExcelFileLocation
• Set-SPExcelFileLocation
SPExcelServiceApplication
• Get-SPExcelServiceApplication – Gets an {Excel Service} application object.
• New-SPExcelServiceApplication -
• Set-SPExcelServiceApplication – Sets a global property for an {Excel Services} application.
SPExcelUserDefinedFunction
• Get-SPExcelUserDefinedFunction
• New-SPExcelUserDefinedFunction
• Remove-SPExcelUserDefinedFunction
• Set-SPExcelUserDefinedFunction
SPFarm
• Backup-SPFarm – Creates a backup of an individual database, Web application, or the entire farm.
• Get-SPFarm – Returns the local SharePoint farm.
• Restore-SPFarm
SPFarmConfig
• Get-SPFarmConfig
• Set-SPFarmConfig
SPFarmEncryptionKey
• Update-SPFarmEncryptionKey – Changes the farm encryption key to a new value and re-encrypts all data currently encrypted with the current farm encryption key with the new one.
SPFeature
• Disable-SPFeature – Disables an installed feature at a given scope.
• Enable-SPFeature – Enables an installed feature at the given scope.
• Get-SPFeature – Returns the features based on a give scope.
• Install-SPFeature – Install a feature using the Feature.xml file.
• Uninstall-SPFeature – Uninstalls an installed feature definition.
SPFeatureSet
• Get-SPFeatureSet
• New-SPFeatureSet
• Remove-SPFeatureSet
SPFeatureSetMember
• Add-SPFeatureSetMember
• Remove-SPFeatureSetMember
SPHelpCollection
• Get-SPHelpCollection
• Install-SPHelpCollection – Install the provided help collection files.
• Uninstall-SPHelpCollection
SPIdentityProvider
• Get-SPIdentityProvider
• New-SPIdentityProvider
• Remove-SPIdentityProvider
• Set-SPIdentityProvider
SPIisWebServiceApplicationPool
• Get-SPIisWebServiceApplicationPool – Returns the specified Internet Information Services (IIS) Application pool.
• New-SPIisWebServiceApplicationPool – Creates a new Web service application pool.
• Remove-SPIisWebServiceApplicationPool – Completely deletes the specified Web service application pool.
• Set-SPIisWebServiceApplicationPool – Changes the account used for the Identity of the specified application pool.
SPIisWebServiceSettings
• Get-SPIisWebServiceSettings – Returns the common Web Service settings.
• Set-SPIisWebServiceSettings – Configures one or more common settings for all Web services.
SPInfoPathAdministrationFiles
• Export-SPInfoPathAdministrationFiles – Saves form templates on the SharePoint Central Administration Web site and UDCX files to a CAB file.
• Import-SPInfoPathAdministrationFiles – Imports form templates and UDCX files located on the SharePoint Central Administration Web site.
SPInfoPathFormsService
• Get-SPInfoPathFormsService – Returns the forms service settings in the farm.
• Set-SPInfoPathFormsService – Sets paramaters for the InfoPath Forms Services.
SPInfoPathFormTemplate
• Disable-SPInfoPathFormTemplate – Deactivate a form template from the specified site collection.
• Enable-SPInfoPathFormTemplate – Activates a form template in the specified site collection.
• Get-SPInfoPathFormTemplate – Returns an InfoPath form template.
• Install-SPInfoPathFormTemplate – Installs an InfoPath form template on a farm.
• Set-SPInfoPathFormTemplate – Sets properties of an InfoPath form template.
• Start-SPInfoPathFormTemplate – Unquieces an InfoPath form template on a farm after an upgrade.
• Stop-SPInfoPathFormTemplate – Disables an InfoPath form template on a farm before an upgrade.
• Test-SPInfoPathFormTemplate – Validates that a form template can be browser-enabled.
• Uninstall-SPInfoPathFormTemplate – Removes a form template from a farm.
• Update-SPInfoPathFormTemplate – Upgrades all forms templates on the farm.
SPInfoPathUrl
• Update-SPInfoPathUrl – Executes InfoPath XSN/UDC fix-up on SharePoint Services.
SPInfoPathUserAgent
• Add-SPInfoPathUserAgent – Adds a user agent to a farm.
• Get-SPInfoPathUserAgent – Returns a user agent or all the currently defined user agents for the farm.
• Remove-SPInfoPathUserAgent – Removes a user agent.
SPInfoPathWebServiceProxy
• Get-SPInfoPathWebServiceProxy – Returns the Web proxy settings for the Web application.
• Set-SPInfoPathWebServiceProxy – Sets parameters for an existing SharePoint Web service application.
SPLogEvent
• Get-SPLogEvent
SPLogFile
• Merge-SPLogFile
• New-SPLogFile
SPLogLevel
• Clear-SPLogLevel
• Get-SPLogLevel
• Set-SPLogLevel
SPManagedAccount
• Get-SPManagedAccount – Retrieves accounts registered in configuration database.
• New-SPManagedAccount – Registers a new managed account.
• Remove-SPManagedAccount – Removes a managed account from the farm.
• Set-SPManagedAccount – Configures the managed account.
SPManagedPath
• Get-SPManagedPath – Returns all managed paths that match the given criteria.
• New-SPManagedPath – Creates a new managed path for the given Web application for all host header site collections.
• Remove-SPManagedPath – Deletes the specified managed path from the specified host header or Web application.
SPMetadataServiceApplication
• Get-SPMetadataServiceApplication – Get a MetadataWebServiceApplication instance
• New-SPMetadataServiceApplication – Create a Metadata Shared Service Application
• Set-SPMetadataServiceApplication – Set properties on a Metadata Shared Service Application
SPMetadataServiceApplicationProxy
• Get-SPMetadataServiceApplicationProxy – Get a MetadataWebServiceApplicationProxy instance
• New-SPMetadataServiceApplicationProxy – Create proxy for remote or local Metadata shared service application
• Set-SPMetadataServiceApplicationProxy – Update metadata proxy settings
SPMetadataWebServicePartitionData
• Clear-SPMetadataWebServicePartitionData
• Export-SPMetadataWebServicePartitionData
• Import-SPMetadataWebServicePartitionData
SPMobileMessagingAccount
• Get-SPMobileMessagingAccount – Retrieves mobile messaging accounts for the specified Web application.
• Set-SPMobileMessagingAccount – Configures the specified mobile messaging account.
SPObaSolutionPackage
• New-SPObaSolutionPackage
SPObjectSecurity
• Get-SPObjectSecurity – Returns the security information for the specified service application.
SPParentFarmTrust
• Get-SPParentFarmTrust
• New-SPParentFarmTrust
• Remove-SPParentFarmTrust
• Set-SPParentFarmTrust
SPPassPhrase
• Set-SPPassPhrase – Sets the Passphrase to a new value.
SPProcessAccount
• Get-SPProcessAccount
SPProduct
• Get-SPProduct – Returns a list of the SharePoint related products installed in the farm and the versions of all updates installed for each of them.
SPProfileServiceApplication
• New-SPProfileServiceApplication
• Set-SPProfileServiceApplication
SPProfileServiceApplicationProxy
• New-SPProfileServiceApplicationProxy
• Set-SPProfileServiceApplicationProxy
SPProfileServiceApplicationTenant
• Add-SPProfileServiceApplicationTenant
• Export-SPProfileServiceApplicationTenant
• Import-SPProfileServiceApplicationTenant
• Remove-SPProfileServiceApplicationTenant
• Set-SPProfileServiceApplicationTenant
SPResourceSecurity
• Initialize-SPResourceSecurity
SPSearchService
• Get-SPSearchService – Returns a search service.
• Set-SPSearchService – Sets properties of a search service.
SPSearchServiceInstance
• Get-SPSearchServiceInstance – Returns an instance of a search service.
• Set-SPSearchServiceInstance – Sets properties of a search service instance.
SPSecureStoreApplication
• Get-SPSecureStoreApplication
• New-SPSecureStoreApplication
• Remove-SPSecureStoreApplication
• Set-SPSecureStoreApplication
SPSecureStoreApplicationField
• New-SPSecureStoreApplicationField
SPSecureStoreApplicationServerKey
• Update-SPSecureStoreApplicationServerKey
SPSecureStoreCredentialMapping
• Clear-SPSecureStoreCredentialMapping
• Update-SPSecureStoreCredentialMapping
SPSecureStoreGroupCredentialMapping
• Update-SPSecureStoreGroupCredentialMapping
SPSecureStoreMasterKey
• Update-SPSecureStoreMasterKey
SPSecureStoreServiceApplication
• New-SPSecureStoreServiceApplication
• Set-SPSecureStoreServiceApplication
SPSecureStoreServiceApplicationProxy
• New-SPSecureStoreServiceApplicationProxy
SPSecureStoreTargetApplication
• New-SPSecureStoreTargetApplication
SPSecurityTokenService
• Get-SPSecurityTokenService
SPServer
• Get-SPServer – Returns the server(s) in the farm that match the given identity.
• Rename-SPServer – Renames a server that is currently connected to the farm.
SPServiceApplication
• Get-SPServiceApplication – Return the specified service application.
• Grant-SPServiceApplication – Grants a user account access to the Service Application.
• Publish-SPServiceApplication – Share the specified local Service Application outside the farm.
• Remove-SPServiceApplication – Deletes the specified service application on the local server.
• Revoke-SPServiceApplication – Revokes a user’s access to a service application.
• Set-SPServiceApplication
• Unpublish-SPServiceApplication – Stop sharing the specified service application outside the farm.
SPServiceApplicationProxy
• Get-SPServiceApplicationProxy – Returns an instance of the specified Service Application Proxy.
• Remove-SPServiceApplicationProxy – Delete the specified service application proxy.
SPServiceApplicationProxyGroup
• Get-SPServiceApplicationProxyGroup – Returns the proxy group for the specified service application.
• New-SPServiceApplicationProxyGroup – Creates a new service application proxy group.
• Remove-SPServiceApplicationProxyGroup – Completely deletes the specified service application proxy group.
SPServiceApplicationProxyGroupMember
• Add-SPServiceApplicationProxyGroupMember – Adds a member to the service application proxy group.
• Remove-SPServiceApplicationProxyGroupMember – Removes one or more proxies from the specified service application proxy group.
SPServiceContext
• Get-SPServiceContext
SPServiceEndpoint
• Get-SPServiceEndpoint
• Set-SPServiceEndpoint
SPServiceInstance
• Get-SPServiceInstance – Returns the services instance for a specific server or the farm.
• Start-SPServiceInstance – Starts the Service Instance for a Service on a specific server or the farm.
• Stop-SPServiceInstance – Stops the Service Instance for a Service.
SPSessionStateService
• Disable-SPSessionStateService
• Enable-SPSessionStateService
• Get-SPSessionStateService
• Set-SPSessionStateService
SPSharedServiceApplicationInfo
• Receive-SPSharedServiceApplicationInfo
SPSingleSignOn
• Disable-SPSingleSignOn – Disables the SharePoint Single Sign On service
SPSingleSignOnDatabase
• Upgrade-SPSingleSignOnDatabase – Upgrades the SSO 12 data to a Secure Store database
SPSite
• Backup-SPSite – Performs a backup of a site collection.
• Get-SPSite – Returns all site collections that match the given criteria.
• New-SPSite – Creates a new site collection at the specified URL.
• Remove-SPSite – Completely deletes an existing site collection and all sub-sites.
• Restore-SPSite – Restores a site collection.
• Set-SPSite – Configures the specified sites.
SPSiteAdministration
• Get-SPSiteAdministration – Returns a site administration object which allows a farm administrator to view certain information about site collections they may not have access to.
• Set-SPSiteAdministration – Allows farm administrators to configure any site collection.
SPSiteSubscription
• Get-SPSiteSubscription – Returns the site subscription for the given URL or all site subscriptions in the local farm.
• New-SPSiteSubscription – Creates a new site subscription.
• Remove-SPSiteSubscription – Removes a site subscription along with all contained site collections and settings.
SPSiteSubscriptionConfig
• Get-SPSiteSubscriptionConfig
• Set-SPSiteSubscriptionConfig
SPSiteSubscriptionMetadataConfig
• Get-SPSiteSubscriptionMetadataConfig
• Remove-SPSiteSubscriptionMetadataConfig
• Set-SPSiteSubscriptionMetadataConfig
SPSiteSubscriptionSettings
• Export-SPSiteSubscriptionSettings
• Import-SPSiteSubscriptionSettings
• Remove-SPSiteSubscriptionSettings
SPSolution
• Add-SPSolution
• Get-SPSolution
• Install-SPSolution
• Remove-SPSolution
• Uninstall-SPSolution
• Update-SPSolution
SPSolutionDeploymentLock
• Remove-SPSolutionDeploymentLock
SPStateServiceApplication
• Get-SPStateServiceApplication
• New-SPStateServiceApplication
• Set-SPStateServiceApplication
SPStateServiceApplicationProxy
• Get-SPStateServiceApplicationProxy
• New-SPStateServiceApplicationProxy
• Set-SPStateServiceApplicationProxy
SPStateServiceDatabase
• Dismount-SPStateServiceDatabase
• Get-SPStateServiceDatabase
• Initialize-SPStateServiceDatabase
• Mount-SPStateServiceDatabase
• New-SPStateServiceDatabase
• Remove-SPStateServiceDatabase
• Resume-SPStateServiceDatabase
• Set-SPStateServiceDatabase
• Suspend-SPStateServiceDatabase
SPSubscriptionSettingsServiceApplication
• New-SPSubscriptionSettingsServiceApplication
• Set-SPSubscriptionSettingsServiceApplication
SPSubscriptionSettingsServiceApplicationProxy
• New-SPSubscriptionSettingsServiceApplicationProxy
SPTaxonomySession
• Get-SPTaxonomySession – Get a TaxonomySession instance
SPTimerJob
• Disable-SPTimerJob
• Enable-SPTimerJob
• Get-SPTimerJob
• Set-SPTimerJob
• Start-SPTimerJob
SPTopologyWebServiceApplication
• Get-SPTopologyWebServiceApplication
• Set-SPTopologyWebServiceApplication
SPTopologyWebServiceProxy
• Get-SPTopologyWebServiceProxy
• Set-SPTopologyWebServiceProxy
SPUsageApplication
• Get-SPUsageApplication
• New-SPUsageApplication
• Remove-SPUsageApplication
• Set-SPUsageApplication
SPUsageDefinition
• Get-SPUsageDefinition
• Set-SPUsageDefinition
SPUsageLogFile
• New-SPUsageLogFile
SPUsageService
• Get-SPUsageService
• Set-SPUsageService
SPUser
• Get-SPUser – Returns the user(s) that match a given search criteria.
• Move-SPUser – Migrates a user account in .
• New-SPUser – Adds an existing user to a site with the designated permissions.
• Remove-SPUser – Removes a user from a web site.
• Set-SPUser – Configures properties on an existing user.
SPUserProfilePhotoStore
• Update-SPUserProfilePhotoStore
SPUserSolution
• Add-SPUserSolution
• Get-SPUserSolution
• Install-SPUserSolution
• Remove-SPUserSolution
• Uninstall-SPUserSolution
• Update-SPUserSolution
SPVisioExternalData
• Get-SPVisioExternalData – Returns the settings for external data connections for a Visio Service application.
• Set-SPVisioExternalData
SPVisioPerformance
• Get-SPVisioPerformance – Returns the Visio Graphics Services settings for the performance of a Visio Service application.
• Set-SPVisioPerformance – Sets performance properties for a Visio Services application.
SPVisioSafeDataProvider
• Get-SPVisioSafeDataProvider – Returns the settings of a safe data provider for a Visio Services application.
• New-SPVisioSafeDataProvider – Adds a new data provider to a Visio Services application.
• Remove-SPVisioSafeDataProvider – Removes a data provider from a Visio Services application.
• Set-SPVisioSafeDataProvider – Specifies a description of a safe data provider for a Visio Services application.
SPVisioServiceApplication
• Get-SPVisioServiceApplication – Returns properties of a Visio Services application or a collection of Visio Services applications.
• New-SPVisioServiceApplication – Adds a new Visio Services application to a farm.
• Remove-SPVisioServiceApplication – Removes a Visio Services application from a farm.
• Set-SPVisioServiceApplication – Sets the ServiceApplicationPool property of a Visio Services application.
SPVisioServiceApplicationProxy
• Get-SPVisioServiceApplicationProxy – Returns properties of a Visio Services application proxy or a collection of Visio Services application proxies.
• New-SPVisioServiceApplicationProxy – Adds a new Visio Services application proxy to a farm.
• Remove-SPVisioServiceApplicationProxy – Removes a Visio Services application proxy from a farm.
SPWeb
• Export-SPWeb – Exports a site collection, Web application, list, or library.
• Get-SPWeb – Returns all sub-sites that match the given criteria.
• Import-SPWeb – Imports a site collection, Web application, list, or library.
• New-SPWeb – Creates a new sub-site under any existing site collection.
• Remove-SPWeb – Completely deletes the specified Web.
• Set-SPWeb – Configures the specified sub-site.
SPWebAnalyticsServiceApplication
• Get-SPWebAnalyticsServiceApplication – Returns the settings for a Web Analytics Service application.
• New-SPWebAnalyticsServiceApplication – Adds a new Web Analytics Service application to the farm.
• Set-SPWebAnalyticsServiceApplication – Sets properties of a Web Analytics Service application.
SPWebAnalyticsServiceApplicationProxy
• New-SPWebAnalyticsServiceApplicationProxy – Adds a new Web Analytics Service application proxy to the farm.
SPWebApplication
• Get-SPWebApplication – Returns all Web applications that match the given criteria.
• New-SPWebApplication – Creates a new Web application within the local farm.
• Remove-SPWebApplication – Deletes the specified Web application.
• Set-SPWebApplication – Configure the specified Web application.
SPWebApplicationExtension
• New-SPWebApplicationExtension – Creates a new zone instance for the Web application.
SPWebApplicationHttpThrottling
• Disable-SPWebApplicationHttpThrottling
• Enable-SPWebApplicationHttpThrottling
SPWebApplicationHttpThrottlingMonitor
• Set-SPWebApplicationHttpThrottlingMonitor
SPWebApplicationHttpThrottlingMonitors
• Get-SPWebApplicationHttpThrottlingMonitors
SPWebApplicationSiginRedirectUrl
• Set-SPWebApplicationSiginRedirectUrl
SPWebPartPack
• Get-SPWebPartPack – Return the Web part packages installed for the specified scope.
• Install-SPWebPartPack – Installs the specified Web part package to the specified location.
• Uninstall-SPWebPartPack – Uninstall the specified Web part package.
SPWebTemplate
• Get-SPWebTemplate – Displays all globally installed site templates that match the given identity.
• Install-SPWebTemplate – Installs the given site template.
• Set-SPWebTemplate – Changes the title and description of an installed site template.
• Uninstall-SPWebTemplate – Uninstall the given site template.
SPWordConversionServiceApplication
• New-SPWordConversionServiceApplication – Creates a new service application.
• Set-SPWordConversionServiceApplication – Sets parameters on a service application.
SPWordConversionServiceApplicationProxy
• New-SPWordConversionServiceApplicationProxy – Creates a new service application proxy.
SPWorkflowConfig
• Get-SPWorkflowConfig – Returns workflow settings for the specified Web application.
• Set-SPWorkflowConfig – Configures the workflow settings for the specified Web application.
SharePoint 2010 : What’s new in SharePoint 2010
SharePoint 2010 will be the next version of SharePoint 2007 scheduled to be release next year.
It’s coming out with lot of really excitement and asked for features which will help enterprises to extract more value out of their SharePoint installations.
On of the big change is happening on branding side. The very popular branding called ‘MOSS’ associated with SharePoint 2007 will no more be used for SharePoint 2010. The product will be called as ‘Microsoft SharePoint 2010’ instead of ‘Microsoft Office SharePoint Server 2010’.
Here are some of the major enhancements coming up:
End Users
1. Office Client Ribbon interface for in-place editing of SharePoint content on web.
2. Silverlight web parts and finer control on site Themes.
3. Multiple Browser support – Internet Explorer, Firefox & Safari
4. Business Connectivity Services (BCS) as the evolution of BDC. These services can now be consumed from Office client apps also.
5. SharePoint Workspace (formerly called Groove): a smart client for SharePoint. Supports online, offline and Synchronization of data.
Technology Users
1. Streamlined Central Administration with Ribbon interface.
2. SharePoint best practices analyzer: Rule based engine for monitoring and self-healing.
3. Resource Throttling controls: For large lists, a finer control on how many records can be displayed. This can be controlled per type of users and during particular time span of a day.
4. Visual Studio 2010 SharePoint Tools: Designer for creating Web Parts visually and Business Connectivity Services Entities
5. Client Object Model(OM): Client side libraries which can be used by custom clients to interact with SharePoint data. These can be called from JavaScript, .NET or Silverlight apps.
Thursday, May 14, 2009
WSS3.0 Workflow History Deleted After 60 Days
I have 1 workaround and 3 solutions:
Workaround:
============
If you will ok with Workflow history option then please use this systex after your site name for finding all the deleted workflows:
/lists/Workflow%20History/AllItems.aspx
Example:
===========
http://xyz.com/sites/abc/lists/Workflow%20History/AllItems.aspx
Solution:
========
1. Disable the Workflow Auto Cleanup timer job completely
2. We can include a specific xml tag in workflow feature.xml file that controls the number of days retained for the workflow history (max days = 9999)
3. Run a job nightly to force all the workflow history retention settings to a certain number of days (max days = 9999)
But it may be possible that youwill face some performance issues if you make these changes.
Tuesday, May 12, 2009
Configure Sharepoint 3.0 on "Active Directory Account Creation Mode"
This document is intended to help those that need to configureSharepoint 3.0 on "Active Directory Account Creation Mode". It is basedon real experience but it may not guarantee success on all cases.
1. Initially Follow the procedure described on the following MicrosoftTechNet Article (Install Windows SharePoint Services 3.0 for a serverfarm environment)http://technet2.microsoft.com/windowsserver/WSS/en/library/700c3d60-f394-4ca9-a6d8-b597fc3c31b1033.mspx?mfr=true
2. Before running "SharePoint Products and Technologies ConfigurationWizard" Prepare the Domain Controller.3. Now it's necessary to follow part of the process described onSharepoint 2.0 Documentation.http://www.microsoft.com/resources/documentation/wss/2/all/adminguide/en-us/stsc05.mspx?mfr=true<http://www.microsoft.com/resources/documentation/wss/2/all/adminguide/en-us/stsc05.mspx?mfr=true>
- Create an organizational unit (OU) for the user accounts
- Delegate permissions to the organizational unit
- Stop there; these are theonly steps necessary!!!
4. Start "SharePoint Products and Technologies Configuration Wizard".Follow the Farm Installation instructionsa. When you arrive at: "Completing the Sharepoint Products andTechnologies Configuration Wizard", select Advanced.b. On Advanced Settings Page select "Enable Active Directory AccountCreation Mode" and enter the Domain name and the organizational UnitCreated before (Sharepoint_ou for example).
5. Now you can go back to the Server Farm installation documentand continue the configuration steps.
6. After creating a "New Sharepoint Application" remember to usethe command "iisreset /noforce" so that you leave your environment readyfor the next step.
7. Now you may click on the link "Create site Collection" and theresult should be an ERROR: "The Page cannot be displayed because yourserver's current configuration does not support it. To perform thistask, use the command line operations in Stsadmin.exe." and that is agood sign... Now you have to execute the following command:
C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\WEB SERVEREXTENSIONS\12\BIN>STSADM -O CREATESITE -URL HTTP://servername
- Substitute Servername, e-mail, WindowsDomain and WindowsAccountaccording with your implementation.
- It's important to notice that this command will effectively send ane-mail, so you should already have configured the SMTP Server on the"Operations/Outgoing E-mail Settings" Page.
8. That's it!!!! You should have a working Sharepoint instance on"Active Directory Creation Mode".
Issues with Survey in Sharepoint
========
The number of total responses count is different than tabulated response.
Cause:
========
After further technical investigation, I found that when a user responds to a survey, it is necessary for him to click on Finish at the end of the survey to complete the response.
If a user does not click on Finish, the response is not completed, but the incomplete response is saved anyway:
The number of responses is updated in the view Overview of the survey
In addition, the response does not appear in the view Graphical Summary of the survey.
In the view All Responses of the survey, the response is visible only to the user who began to respond. Others users only see the completed responses.
Solution:
=========
Only the user who began to response can solve this issue. Other users (including users with "Full Control" permissions, the owners of the TeamPlace and even the administrators of the TeamPlace servers) cannot solve it as they can't show the incomplete responses.
This user has to go the view All Responses of the survey, to find the response that is not completed, and to select Edit Response in the drop-down menu.
Then the user has to complete the response and to click on Finish at the end of the survey.
This is a by design behavior.
MOSS 2007 SP2 issues
There are no issues when you update clean environment, but for customized application there are few things you should be aware about.
Error 1:
=======
[SPDatabaseGbwSequence] [ERROR] Upgrade object too new (build version = 12.0.0.6341, schema version = 2.0.0.0). Current server (build version = 12.0.0.4518, schema version = 3.0.1.0).
When installed SP2 and run Configuration Wizard
This error tells you nothing what relates to the actual problem. You could think that you installed any hotfixes that changed your database schema or content database might be not in right state. I had the same thoughts but this didn't help at all.
The root of the problem lies in other side.
Cause:
======
Investigating this issue I found that free SharePoint template from Microsoft cause you such issue, especially GroupBoard. If you have this template installed - that's the problem, because it interacts with the database schema and doesn't allow SharePoint SP2 to be installed.
Solution:
========
Uninstall GroupBoard template
Install SharePoint SP2
Install GroupBoard template.
Error 2:
========
“Feature '20477d83-8bdb-414e-964b-080637f7d99b' is not installed in this farm, and can not be added to this scope.”
If you get an error during the psconfig phase and you find this entry in the update.log file
“Feature '20477d83-8bdb-414e-964b-080637f7d99b' is not installed in this farm, and can not be added to this scope.”
Cause:
========
A timer Job is missing.
Resolution:
===========
You need to install this feature to be able to proceed with the update.stsadm -o installfeature -name PublishingTimerJobs
Tuesday, April 28, 2009
Installation of Certificate Server on Windows Server 2003 enterprise
Here are some easy steps for Installation of Certificate Server on Windows Server 2003 enterprise
- Click Start, point to Control Panel, and then click Add or Remove Programs.
- In Add or Remove Programs, click Add/Remove Windows Components.
- In the Windows Components Wizard, under Components, select Certificate Services.
- Read the warning about domain membership, and then click yes.
- Click Next.
- On the CA Type page, click Enterprise root CA, and then click next.
- On the CA Identifying Information page, in the Common name for this CA box, type Server Name (CERT-CA1), and then click next.
- On the Certificate Database Settings page, accept the defaults in the Certificate database box and the Certificate database log box, and then click next.
- When prompted to stop Internet Information Services, click yes.
- When asked if you want to enable Active Server Pages (ASP), click yes.
- After the wizard completes the installation, click Finish.
Office 2003 documents Open in Read-Only Mode
If you like, you can paste the following into a command box:
SharePoint Content Database Tables
Here are some importent tables of SharePoint Content Database
- Features Table that holds information about all the activated features for each site collection or site.
- Sites Table that holds information about all the site collections for this content database.
- Webs Table that holds information about all the specific sites (webs) in each site collection.
- UserInfo Table that holds information about all the users for each site collection.
- Groups Table that holds information about all the SharePoint groups in each site collection.
- Roles Table that holds information about all the SharePoint roles (permission levels) for each site.
- AllLists Table that holds information about lists for each site.
- GroupMembership Table that holds information about all the SharePoint group members.
- AllUserData Table that holds information about all the list items for each list.
- AllDocs Table that holds information about all the documents (and all list items) for each document library and list.
- RoleAssignment Table that holds information about all the users or SharePoint groups that are assigned to roles.
- SchedSubscriptions Table that holds information about all the scheduled subscriptions (alerts) for each user.
- ImmedSubscriptions Table that holds information about all the immediate subscriptions (alerts) for each user.
Configuring Usage Analysis Processing using stsadm
stsadm -o setproperty
-propertyname usageprocessingenabled
-propertyvalue {Yes | No}
stsadm -o setproperty
-propertyname job-usage-analysis
-propertyvalue {Yes | No}
I then ran the following two commands to configure UAP:
stsadm -o setproperty -pn job-usage-analysis -pv "daily between 08:00 and 09:00" To configure the time that the process runs.
stsadm -o setproperty -pn usageprocessingenabled -pv "Yes” To enable Usage Analysis Processing.
However when I browsed to Central Administration – Operations – Usage analysis processing the following was displayed
If you look closely you can see that the time has been set correctly but it hasn’t enabled usage analysis processing. As you can see this is grayed out meaning that Enable logging must be selected before it can be enabled – but how do I enable logging? After much investigation I eventually found out (from a colleague- thanks Kirk) that the following stsadm can be used to enable this.
stsadm -o setproperty -pn loggingenabled -pv "Yes”To put this all together I need to run the commands in this order to achieve my objective:
• stsadm -o setproperty -pn loggingenabled -pv "Yes”
• stsadm -o setproperty -pn job-usage-analysis -pv "daily between 08:00 and 09:00"
• stsadm –o setproperty -pn usageprocessingenabled -pv "Yes”
Enterprise Content Management (ECM)
Blogs
==============
blogs.msdn.com/ecm/
blogs.msdn.com/ecm/archive/2006/06/09/624520.aspx
blogs.msdn.com/sharepoint/archive/2008/01/03/new-beta-extranet-collaboration-toolkit.aspx
blogs.msdn.com/.../30/announcing-the-first-release-of-the-microsoft-sharepoint-administration-toolkit.aspx
Sites
==============
office.microsoft.com/en-us/sharepointserver/HA101747881033.aspx
office.microsoft.com/en-us/sharepointserver/HA102063591033.aspx
msdn.microsoft.com/en-us/library/aa830818.aspx
YouTube
==============
www.youtube.com/watch?v=8zT4NsSSa6g
Other resources
===============
www.andrewconnell.com/blog/articles/MossWcmResources.aspx
www.microsoft.com/downloads/details.aspx?FamilyID=6D94E307-67D9-41AC-B2D6-0074D6286FA9
www.1stafftraining.com/b2b/outlines/1Staff_50003.pdf
Monday, February 16, 2009
PRESCAN KB Articles
Description of a new command-line operation that you can use to repair content databases in Windows SharePoint Services 2.0 and SharePoint Portal Server 2003
http://support.microsoft.com/kb/918744
You receive an error message when you run the pre-upgrade scan tool (Prescan.exe) to scan Windows SharePoint Services 2.0 sites before you upgrade to Windows SharePoint Services 3.0
http://support.microsoft.com/kb/937291/en-us
Description of a new command-line operation that you can use to repair content databases in Windows SharePoint Services 2.0 and SharePoint Portal Server 2003
http://support.microsoft.com/kb/918744/en-us
Error message when you try to upgrade Windows SharePoint Services 2.0 to Windows SharePoint Services 3.0: "Upgrade has encountered one or more lists that were not updated by Prescan.exe and must exit"
http://support.microsoft.com/kb/923904/en-us
Problem: migrate frontend of wss2 to moss2007
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2605512&SiteID=1
Connecting SQL SSEE to SQL Management Studio
Actual place where the database is Stored.
C:\WINDOWS\SYSMSI\SSEE\MSSQL.2005\MSSQL\Data
You can See the databases in SQL by Downloading Microsoft SQL Server Management Studio Express from the below link
https://www.microsoft.com/downloads/details.aspx?familyid=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en
After you install this application Copy & paste
\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
On the Authentication Window Under server name. & you will be able to See all the databases
Install Application Template(.WSP) in WSS 3.0 & MOSS 2007
Windows SharePoint Services 3.0 Application Template: Application Template Core
Download URL: http://www.microsoft.com/downloads/details.aspx?familyid=C1039E13-94DA-4D7D-8CAE-3B96FA5A4045&displaylang=en
To Download All Templates
URL: http://www.microsoft.com/downloads/details.aspx?familyid=5807B5EF-57A1-47CB-8666-78C1363F127D&displaylang=en
Pull the core file, ApplicationTemplateCore.wsp, from the extracted distribution in C:\PROGRAM FILES \common files\microsoft shared\web server extensions\12\bin
Installing the core:
Go to C:\PROGRAM FILES\common files\microsoft shared\web server extensions\12\bin and run these 3 commands
1) stsadm -o addsolution -filename ApplicationTemplateCore.wsp
2) stsadm -o deploysolution -name ApplicationTemplateCore.wsp -allowgacdeployment
3) stsadm -o copyappbincontent
Removing the core:
1) stsadm -o retractsolution -name ApplicationTemplateCore.wsp
2) stsadm -o deletesolution -name ApplicationTemplateCore.wsp
To Install All WSP Files in one single Script, please create a .bat file (Install.bat) and paste these codes in that
for %%f in (*.wsp) do stsadm.exe -o addsolution -filename %%f
for %%f in (*.wsp) do stsadm.exe -o deploysolution -allowgacdeployment -immediate -name %%f
stsadm -o copyappbincontent
Save the batch file in C:\PROGRAM FILES\common files\microsoft shared\web server extensions\12\ and copy all .WSP file on the same location.
Then Run the Install.Bat file and enjoy :)
PSConfig.exe (Command Line operations) for Configuration
The PSConfig.exe command line tool is used to configure the product after setup has completed. The default location of the tool: c:\program files\common files\microsoft shared\web server extensions\12\bin.
To create a new server farm or connect to an existing server farm the following steps will need to be run in the following order:
1. Create the ConfigDB:
PSConfig.exe -cmd configdb -create -server
-dbuser
-user
-addomain
-admincontentdatabase
Note that if you wish to connect to an existing configuration database and join the server to an existing server farm you will need to perform the ConfigDB command with the -connect parameter
2. Install all HelpCollections
psconfig.exe -cmd helpcollections installall
3. Perform resource security enforcement
psconfig.exe -cmd secureresources
4. Register the services in the server farm
psconfig.exe -cmd services -install
Note that before you can provision we will need to start and configure the Search service via the STSADM.exe command (more information about STSADM.exe later on):
Start the Windows SharePoint Services Search:
stsadm -o spsearch -action start -farmserviceaccount Redmond\user -farmservicepassword MyPassword
Start the Office SharePoint Server Search service:
stsadm -o osearch -action start -role IndexQuery -farmserviceaccount Redmond\user -farmservicepassword MyPassword -farmcontactemail user@ms.com
psconfig.exe -cmd services –provision
5. Register all features
psconfig.exe -cmd installfeatures
6. Provision the SharePoint Central Administration Web application
psconfig.exe -cmd adminvs -provision -port
7. Install shared application data
psconfig.exe -cmd applicationcontent –install
Wednesday, January 7, 2009
How to install SharePoint Server 2007
There are several things that you must do before you even insert the SharePoint 2007 CD they are:
• Install Windows 2003 R2 with the latest service pack (2 at time of writing) and all of the latest Windows Updates.
NOTE: Please do not use NewSID to change the SID of the machine if you are using a copy of another VM, this breaks things in SharePoint. My advice is to build Windows from fresh or to use Sysprep if you are using a copy of a VM.
• Join your machine to a domain or create a domain by running DCPromo.exe from the Start > Run dialog.
• Install the .net frameworks v3.0 and v2.0 from Windows Update. You can also download the full redistributable packages if your server is not online.
• Install Windows 'Application Server' from Add/Remove Programs in Control Panel with default settings
• Prepare a service account in your active directory domain to use for all Sharepoint services.
NOTE: Do not use the main domain\administrator account. This causes a problem if ever you wish to install Project Server 2007 on the same machine.
• Give your service account local administrator rights and logon as this account throughout the entire installation process.
• Install SQL 2005 (and latest service pack) with typical settings.
• Assign your service account to the 'Security Administrators' and 'Database Creators' server roles in SQL server (You will need to use SQL Server Management Studio).
Base SharePoint Server Install
You are now ready to install SharePoint 2007 itself, follow these steps:
• Login as your service account
• Insert your CD (or attach your ISO image) and run setup.exe if it does not autorun.
NOTE: If you get an error about web service extensions here, ensure that 'ASP.net V2.0.50727' web service extension is allowed in IIS. If it is not in the list, perform a 'repair' on .net 3.0 framework using add/remove programs and then the web service extension will appear in the list. This is caused when IIS is installed after the .net framework
• Enter your CD key and accept the license agreement.
• Choose 'Advanced' on the installation type dialog.
NOTE: The definition of 'Advanced' means that you are using full SQL server (which may or may not be on the same machine). If you had selected 'Basic' then it would have installed the cut down version of SQL (MSDE).
• Select 'Complete' on the Server Type screen and click 'Install Now'. The setup will now commence and you'll get a blue progress bar.
• Once installed you will get a screen with a check box that reads "Run the SharePoint products and Technologies Wizard now". Ensure this is ticked and click 'Close'.
• After a short pause, you'll get a 'Welcome' screen. Click 'Next'.
• You will get a warning that the wizard is about to reset several services, click 'Yes'.
• You'll be asked about the farm configuration, select to 'No, I want to create a new server farm'.
• Provide the database server (your server name) and your account details (account in the domain\user format). Leave the database name as the default. Click 'Next'.
• Leave the authentication mode as 'NTLM', set a specific port number is desired (not required) and click 'Next'.
NOTE: In a production environment, you would most likely use Kerberos where possible (if your infrastructure supports it).
• You'll get a summary screen; click 'Next' to kick-off the process.
NOTE: If it fails here, it is most likely that you do not SQL setup correctly. Ensure your service account is in the right groups. Please also note that this section can take a very long time, especially step 2 (up to 45 minutes).
• You'll get a success screen at the end, click 'Finish'.
• The wizard will attempt to load the central administration window. You may need to login here, use your service account. You may also get prompted to add the site to your trusted sites; go ahead and do that.
NOTE: This authentication prompt is caused by the secure version of IE on Windows 2003 Server. You can turn if off by modifying the security settings in IE.
Services on Server Configuration
The first bit of configuration to do is set your server to host all services. You do not strictly have to enable all of these services, but I find it helps if you are using the machine to test / investigate functionality.
• When the Central Administration screen appears, go to 'Operations' tab, then 'Services on Server'.
• Start the 'Document Conversions Load Balancer Service'.
• Start the 'Document Conversions Launcher Service', you'll have to choose the 'Load Balancer Server'; there should only be one option. If there are no options, ensure that the 'Document Conversions Load Balancer Service' has been started.
• Start the 'Excel Calculation Services'.
• Start the 'Office SharePoint Servers Search' service, observing the following guidelines:
o Tick both Query and Indexing check boxes
o Specify a contact email address (this can be any address)
o Enter your service account in the 'Farm Search Service Account' section
o Accept all other defaults and click 'Start'
• Leave all remaining services in their default configuration
Web Application Setup
The next stage is to create the 3 web applications that will be required to host the basic set of sites for a typical deployment, these are:
• Shared Service Provider Administration Site (Recommended to be called 'SSPAdmin')
• My Site Host (Recommended to be called 'MySite')
• The Main Intranet (or 'Portal') Site (Recommended to be called 'Intranet')
It is much simpler if all of these sites are on port 80 in IIS; this means that you do not have to remember to enter the ports all of the time. However having all three sites on port 80 means that each needs their own Host Header (required by IIS to differentiate between sites on the same port). The simplest way to do this is to create new 'Host (A)' records in DNS for each of your three sites. These should point to the IP address of your server; to do this follows these steps:
• Open the DNS Management tool from Administration Tools on your domain controller
• Navigate to your DNS zone
• Create new 'Host (A)' record
• Enter the Host header (i.e. 'SSPAdmin', 'MySite' or 'Intranet') for the site and the IP address of your server
• Click 'Add Host' and repeat for each of the three sites
Now the DNS entries are configured, we can create the three web applications in SharePoint; follow these steps for all three of your web applications (i.e. 'SSPAdmin', 'MySite' or 'Intranet'):
• In Central Administration, go to the 'Application Management' tab
• Click 'Create or Extend Web Application' and then click 'Create a new Web Application'
• Fill out the new web application screen observing the following points:
o Change the New IIS Site description to read something like 'SharePoint – 80 -
o Ensure the 'Port' is set to 80
o Set the 'Host Header' to match the DNS record you created (i.e. 'SSPAdmin', 'MySite' or 'Intranet')
o Change the 'Application Pool Name' to match the 'New IIS Site Description'
o Enter your service account for the Application Pool account settings
o Change the 'Database Name' to read something like 'WSS_Content_
o Leave all other settings on default and click 'OK'
• Repeat for all three web applications (i.e. 'SSPAdmin', 'MySite' or 'Intranet')
Shared Service Provider Setup
The next stage is to create the Shared Service Provider (SSP). The SSP is required in order to provide several key services such as Search or My Site. To configure the SSP, follow these steps:
• In Central Administration, go to the 'Application Management' tab
• In the 'Office SharePoint Server Shared Services' section, click 'Create or Configure This Farms' Shared Services'
• Click 'New SSP'
• Fill out the 'New Shared Services Provider' screen observing the following guidelines:
o For the 'SSP Administration Site' web application (the first one you get asked for), choose the web application that you created earlier (suggested name was 'SharePoint – 80 - SSPAdmin')
o For the 'My Site Location' web application (the second one you get asked for), choose the web application you created earlier (suggested name was 'SharePoint – 80 - MySite')
o Enter your service account for the 'SSP Service Credentials'
o Leave all other settings on default and click 'OK'
• The creation of an SSP can take some time (up to 1 hour on a virtual machine). When it is finished you will see a 'Success!' screen, Click OK.
Collaboration Portal Site Collection Setup
The next stage is to create a collaboration portal which is one of the more feature-filled site types and represents a typical intranet environment. To do this, follow these steps:
• In Central Administration, go to the 'Application Management' tab
• In the 'SharePoint Site Management' section, choose 'Create Site Collection'
• Fill out the 'Create Site Collection' observing the following guidelines:
o Ensure you have selected the 'Intranet' web application you created earlier (suggested name was 'Intranet')
o Give your site a title ('Intranet' is suggested)
o In the 'Template Selection' section, choose 'Collaboration Portal' from 'Publishing' tab
o Enter you service account for the 'Primary Site Collection Administrator'
o Leave all other settings on default and click 'OK'
• When the 'Top-Level Site Successfully Created' message appears you have created the site, simply click the link that is provided (something like http://intranet)
Configure Indexing
The final step of the process is to configure indexing so that you have some search results. Though this step is optional, it is recommended as it will enable you to use the powerful search capabilities of SharePoint. To configure the index, follow these steps:
• In Central Administration, click the 'SharedServices1' link on the left-side navigation (or whatever you name your SSP)
• When the SSP Administration site appears, click on 'Search Settings' in the 'Search' section
• On the 'Configure Search Settings' page, click 'Content Sources and Crawl Schedules'
• Edit the 'Local office SharePoint Server Sites' content source by hovering your mouse over it and choosing 'Edit'
• Fill out the 'Edit Content Source' observing the following guidelines:
o Set a full crawl schedule to be at least once a day
o Set a incremental crawl schedule for every 10 minutes
o Tick the 'Start Full Crawl of this Content Source' tick-box
o Click 'OK'
• A crawl will now start. Initial crawls normally take up to 10 minutes.
The process is now complete. User should be able to access the main collaboration portal from http://intranet (or whatever you called the DNS record).
Tuesday, January 6, 2009
How to find the versions of SharePoint
MOSS 2007* or WSS 3.0 Cumulative update (KB956056 & KB956057) 12.0.0.6327
MOSS 2007* or WSS 3.0 Infrastructure Update (KB951695 & KB951297) 12.0.0.6318
MOSS 2007* or WSS 3.0 post-SP1 hotfix (KB948945) 12.0.0.6303
MOSS 2007* or WSS 3.0 post-SP1 hotfix (KB941274) 12.0.0.6301MOSS 2007* or WSS 3.0 post-SP1 hotfix (KB941422) 12.0.0.6300
MOSS 2007* or WSS 3.0 SP1 12.0.0.6219
MOSS 2007* or WSS 3.0 October public update 12.0.0.6039
MOSS 2007* or WSS 3.0 August 24, 2007 hotfix package 12.0.0.6036
MOSS 2007* or WSS 3.0 RTM 12.0.0.4518
MOSS 2007* or WSS 3.0 Beta 2 TR: 12.0.0.4407
MOSS 2007* or WSS 3.0 Beta 2: 12.0.0.4017
Office 12 (PDC image - pre-beta): 12.0.0.3111 (This version of Office does not have a support link in the Add/Remove programs dialog box).
*To confirm that a particular service pack is install on SharePoint Server you must either check the version numbers of specific dlls as specified in the related Microsoft Knowledge Based article or select the Show Updates check box in Add and Remove Programs.
WSS 2.0 SP3 6.0.2.8165
WSS 2.0 SP2 KB900929 + KB924881 6.0.2.8117
WSS 2.0 SP2 rollup KB900929 6.0.2.8000
WSS 2.0 SP2 6.0.2.6568
WSS 2.0 SP2 Beta = R2: 6.0.2.6551
WSS 2.0 SP1 + KB887981 6.0.2.6411
WSS 2.0 SP1: 6.0.2.6361
WSS 2.0 Unservice packed: 6.0.2.5530
To confirm that service packs are installed, especially with SharePoint Server 2007, go to Control Panel -> Add and Remove Programs
Select the product and then click: Click here for support. The versions will
be displayed as follows:
For WSS 3.0 & MOSS 2007
WSS 3.0 MOSS 2007
post-SP1 hotfix (KB948945) 12.0.6303.5000 12.0.6303.5000
SP1 12.0.6219.1000 12.0.6219.1000
RTM 12.0.4518.1016 12.0.4518.1016
Beta 2 TR 12.0.4407.1005 12.0.4407.1005
Beta 2 12.0.4017.1006 12.0.4017.1006
For WSS 2.0 & SPS 2003
WSS 2.0 SPS 2003
SP3 11.0.8173.0 11.0.8168.0
post SP2 rollup 11.0.8000.0 11.0.8126.2
SP2 11.0.7969.0 11.0.8126.0
R2 WSS SP2 beta 11.0.6551.0
SP1+KB887981 11.0.6411.0
With Service Pack 1 11.0.6361.0 11.0.6715.0
Unserviced pack 11.0.5608.0 11.0.5704.0
Note: If you have a version number starting with 10, then it is either SharePoint Team Services (SPTS) or SharePoint Portal 2001 (SPS 2001).
SPTS, 10.0.2627.01 is the version with no service packs. In the Administrative Tools menu, you will see a link to Microsoft SharePoint Administrator. This will display a web page, where you can see the version number of the virtual server(s), e.g., 5.0.2.2623. The ISAPI filter is fpexedll.dll.
For SPS 2001, 10.145.4629 is the version number with no service packs. There will be no ISAPI filter, and from the Administrative Tools menu you will see a link to SharePoint Portal Server Administrator which launches mmc snap-in.
Importing User pictures from Active Directory to MOSS 2007
So it’s actually a common practice for many companies to standardize on employee photos and disable everyone from uploading their glamour shots. To do this, first go to your Active Directory Management Console and hopefully you have the Exchange AD Management Plug in installed also.
You’ll know if you have it installed if you see all the tabs below:
1. Click on the Exchange Advanced Tab
2. Click Custom Attributes
3. Use one of those extension Attribute values to store any kind of link to your picture.
4. OK out of AD.
Now you want to go to your MOSS Central Admin and do the following:
5. Go to your Shared Services Provider
6. Under User Profiles and My Sites click on User profiles and properties
7. Click on View Profile Properties at the bottom of the page.
8. Edit the Picture Property
9. Select “Do not allow users to edit values for this property”
10. In the Property Import Mapping Section change the Data source field to map: to your corresponding extension Attribute# and hit OK.
Do a full user import and all the pictures should get populated into SharePoint!