How to get the template name in sharepoint using powershell

Advertisement
Sometimes in Production we want to know the template name for the current site we are using.
Using below Power Shell we can find the Template name easily.

$currentweb = Get-SPWeb  http://DotNetSharePoint:1234/sites/Sharepoint
write-host "Web Template:" $currentweb.WebTemplate " | Web Template ID:" $currentweb.WebTemplateId
$currentweb.Dispose()

OutPut:Web Template: STS | Web Template ID: 1 // For Team Site

Site Template ID with Name:
0 - GLOBAL (SetupPath=global) - "Global template"
1 - STS - "windows SharePoint Services Site", "Team Site", "Blank Site", "Document Workspace"
2 - MPS - "Basic Meeting Workspace", "Blank Meeting Workspace", "Decision Meeting Workspace", "Social Meeting Workspace", "Multipage Meeting Workspace"
3 - CENTRALADMIN - "Central Admin Site"
4 - WIKI - "Wiki Site"
7 - BDR - "Document Center"
9 - BLOG - "Blog"
20 - SPS (OBSOLETE) - "SharePoint Portal Server Site"
21 - SPSPERS - "SharePoint Portal Server Personal Space"
22 - SPSMSITE - "Personalization Site"
30 - SPSTOC (OBSOLETE) - "Contents area Template"
31 - SPSTOPIC (OBSOLETE) - "Topic area template"
32 - SPSNEWS (OBSOLETE) - "News area template"
33 - SPSNHOME (SubWebOnly) - "News Home template"
34 - SPSSITES - "Site Directory area template"
36 - SPSCOMMU (OBSOLETE) - "Community area template"
38 - SPSREPORTCENTER - "Report Center Site"
39 - CMSPUBLISHING (SetupPath=SiteTemplates\PUBLISHING) - "Publishing and Team Collaboration Site"
40 - OSRV (SetupPath=SiteTemplates\OSRV) - "Shared Services Administration Site"
47 - SPSPORTAL - "Corporate Intranet Site"
50 - SRCHCEN - "Search Center"
51 - PROFILES - "Profiles"
52 - BLANKINTERNETCONTAINER - "Internet Presence Web Site"
53 - BLANKINTERNET - "Publishing Site", "Press Releases Site", "Publishing Site"
54 - SPSMSITEHOST - "My Site Host"
90 - SRCHCENTERLITE (SetupPath=SiteTemplates\SRCHCENTERLITE) - "Search Center Lite"
6221 - PWA (SetupPath=SiteTemplates\PWA) - "Project Web Access Site"
6215 - PWS (SetupPath=SiteTemplates\PWS) - "Project Workspace"
14483 - OFFILE - "Records Repository", "Records Repository"

Reference Template ID's from  http://social.technet.microsoft.com/


Advertisements
SHARE

Unknown

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

22 comments:

  1. The family had developed their Canelo vs ggg live fight country's finest two amateur boxers, twins trained in self-defence by their elder brothers during a war-torn upbringing. Only one could represent Kazakhstan at the 2004 Olympics and their parents, disregarding the younger twin's superiority, chose the eldest solely based on age.

    Max Golovkin's boxing career ended with that decision. Aged 22, he was the best prospect in Kazakhstan and won every https://canelovsggglivefight.net tournament he entered - unless he stepped aside for his twin to share the limelight. That twin, Gennady, was now heading to the Olympics armed with just a handful of Max's in-ring ability.

    Karaganda, in local tongue, translates as "black city". The coal industry in Kazakhstan's fourth-largest city provided a humble Canelo vs ggg income for locals but, under Soviet rule, also meant the area was exploited for what little it was worth. A nearby military base meant the people of Karaganda had two choices for employment - the mines or the army.

    Is everyone in Karaganda bred tough? "Yes, absolutely," Gennady Golovkin exclusively told Sky Sports. "I like the people https://canelovsggg.wiki of Karaganda. People are smart, they are true people - not fake."His father was a miner but his two elder brothers joined the army.

    Vadim and Sergey taught their younger, twin brothers how to defend themselves with their fists - Gennady and Max became a handful buoyed by a fascination with late-night American boxing, idolising Sugar Canelo vs Golovkin Ray Robinson.Vadim and Sergey died in action in the early-1990s with no explanation offered for their disappearance. Gennady and Max, now the elder statesmen in the family, took their fighting skills to amateur boxing tournaments across Eastern Europe.

    "He was very good, he was much better than me," Gennady remembered of his twin. Some claim, considering Gennady had 350 https://canelovgolovkin.wiki amateur bouts and lost just five. Just before the Olympic Games he said 'okay, maybe you try first'," Gennady recalled. "I said 'no, I'll try second'." The 2004 Games in Athens provided the Golovkin twins with bigger worries than nearly one thousand combined previous opponents.

    ReplyDelete
  2. World Series 2018 Live Stream , The 2018 Major League Baseball season began on March 29, 2018. The regular season .
    The 2018 World Series is set to begin on October 23, and a potential Game 7 is scheduled for October 31. The 89th Major League Baseball All-Star

    ReplyDelete
  3. NBA 2K18 's meddlesome microtransactions caused an enormous mix for gamers, and clearly they're only the start. Amid the locker codes 2k18 ps4 Tuesday evening, CEO Strauss Zelnick stressed the significance of what he calls "repetitive buyer spending openings."

    The crude numbers paint an entirely discouraging picture for the individuals who were trusting 2K18's microtransactions may hurt the 2K brand and deals. Truth be told, the amusement has officially sold upwards of six million duplicates to retail. That is a 20 percent development over a year ago's post-dispatch details. To coordinate those numbers, day by day dynamic concurrents are likewise up 30 percent. While these honors are just precise as of Sept. 30, one thing is clear: NBA 2K18's present plan of action is certainly keeping gamers included.

    ReplyDelete
  4. The World Series 2018 Live Stream will be the championship series of Major League Baseball's 2018 season.
    The 114th edition of the World Series 2018 Live will be played between the American League champion versus the National League champion and will begin on Tuesday,
    October 23. A potential Game 7 is scheduled to be played on October 31.[2] The Series will be televised nationally by Fox. For the second year in a row,
    the World Series will be sponsored by YouTube TV https://worldserieshints.com/ and officially will be known as the 2018 World Series presented by YouTube TV.[3]

    ReplyDelete
  5. New this year, Breeders' Cup is giving an "Add to Calendar" highlight that enables fans to effortlessly include the entire Breeders' Cup Challenge and Championships NBC Sports TV timetable to their schedule. Breeders Cup 2018 Live Stream The logbook will naturally give communicate updates incorporating tune-in data and NBC and NBCSN station numbers particular to fans' areas and link suppliers. Snap here for more data and to add to your logbook.

    ReplyDelete
  6. The 150th Belmont Stakes will happen on Saturday, June 9, in the last leg of steed dashing's Triple Crown. Breeders Cup 2018 Live Stream

    For the third time since 2014, a horse will offer complete the top device of race wins, as Justify will enter the race on the back of triumphs at the Kentucky Derby and Preakness Stakes.

    ReplyDelete
  7. Dashing Victoria's Melbourne Cup 2018 central handicapper Greg Carpenter has chosen not to give the worldwide guest a punishment for the $7.3 million Melbourne Cup (3200m).
    Best Solution will endeavor turn into the twelfth pony to guarantee the Caulfield-Melbourne Cups twofold around the same time, and first since Ethereal in 2001.

    ReplyDelete
  8. In the event that you were planning to go to the CFL Awards on the Thursday of Grey Cup Live Stream weekend, you're stuck between a rock and a hard place. The honors, the Saturday morning Spirit of Edmonton Breakfast and the Sunday indoor rear end party highlighting nation star Aaron Pritchett are sold out.

    ReplyDelete