Archives For Power Shell


SharePoint 2013: Create 2000 Domain Accounts with Profile Photos for a Development Environment

Table of Contents

It can be important to have a development environment that is as close to a production environment as possible. Having realistic development (or staging) environment helps business users visualise what an end product (or solution) will look like when deployed.

The following PowerShell (and accompanying name files) demonstrates creating 2000 unique Active Directory domain accounts, including setting different locations, departments, phone numbers and gender (male or female). Each domain account has a photo uploaded to Active Directory. Finally, SharePoint User Profile synchronization is configured, to import the users and their photos


How I can view SharePoint 2010 template names using Power Shell?
which is the right SharePoint  2010 template to use for my farm?

To find out SharePoint 2010 template names

1. Open your SharePoint 2010 Management Shell
2. Type in Get-SPWebTemplate

SharePoint 2010 template

Name                 Title                                    LocaleId   Custom
----                 -----                                    --------   ------
GLOBAL#0             Global template                          1033       False
STS#0                Team Site                                1033       False
STS#1                Blank Site                               1033       False
STS#2                Document Workspace                       1033       False
MPS#0                Basic Meeting Workspace                  1033       False
MPS#1                Blank Meeting Workspace                  1033       False
MPS#2                Decision Meeting Workspace               1033       False
MPS#3                Social Meeting Workspace                 1033       False
MPS#4                Multipage Meeting Workspace              1033       False
CENTRALADMIN#0       Central Admin Site                       1033       False
WIKI#0               Wiki Site                                1033       False
BLOG#0               Blog                                     1033       False
SGS#0                Group Work Site                          1033       False
TENANTADMIN#0        Tenant Admin Site                        1033       False
ACCSRV#0             Access Services Site                     1033       False
ACCSRV#1             Assets Web Database                      1033       False
ACCSRV#3             Charitable Contributions Web Database    1033       False
ACCSRV#4             Contacts Web Database                    1033       False
ACCSRV#6             Issues Web Database                      1033       False
ACCSRV#5             Projects Web Database                    1033       False
BDR#0                Document Center                          1033       False
OFFILE#0             (obsolete) Records Center                1033       False
OFFILE#1             Records Center                           1033       False
OSRV#0               Shared Services Administration Site      1033       False
PPSMASite#0          PerformancePoint                         1033       False
BICenterSite#0       Business Intelligence Center             1033       False
SPS#0                SharePoint Portal Server Site            1033       False
SPSPERS#0            SharePoint Portal Server Personal Space  1033       False
SPSMSITE#0           Personalization Site                     1033       False
SPSTOC#0             Contents area Template                   1033       False
SPSTOPIC#0           Topic area template                      1033       False
SPSNEWS#0            News Site                                1033       False
CMSPUBLISHING#0      Publishing Site                          1033       False
BLANKINTERNET#0      Publishing Site                          1033       False
BLANKINTERNET#1      Press Releases Site                      1033       False
BLANKINTERNET#2      Publishing Site with Workflow            1033       False
SPSNHOME#0           News Site                                1033       False
SPSSITES#0           Site Directory                           1033       False
SPSCOMMU#0           Community area template                  1033       False
SPSREPORTCENTER#0    Report Center                            1033       False
SPSPORTAL#0          Collaboration Portal                     1033       False
SRCHCEN#0            Enterprise Search Center                 1033       False
PROFILES#0           Profiles                                 1033       False
BLANKINTERNETCONT... Publishing Portal                        1033       False
SPSMSITEHOST#0       My Site Host                             1033       False
ENTERWIKI#0          Enterprise Wiki                          1033       False
SRCHCENTERLITE#0     Basic Search Center                      1033       False
SRCHCENTERLITE#1     Basic Search Center                      1033       False
SRCHCENTERFAST#0     FAST Search Center                       1033       False
visprus#0            Visio Process Repository                 1033       False