<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alpesh Nakar - SharePoint Consultant&#039;s Blog &#187; SharePoint</title>
	<atom:link href="http://www.alpesh.nakars.com/blog/category/sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alpesh.nakars.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 05 Mar 2010 05:57:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='www.alpesh.nakars.com' port='80' path='/blog/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>PowerShell To Backup Site Collection</title>
		<link>http://www.alpesh.nakars.com/blog/powershell-to-backup-site-collection/</link>
		<comments>http://www.alpesh.nakars.com/blog/powershell-to-backup-site-collection/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 05:57:08 +0000</pubDate>
		<dc:creator>Alpesh</dc:creator>
				<category><![CDATA[SP2010]]></category>
		<category><![CDATA[SP2010.PowerShell]]></category>

		<guid isPermaLink="false">http://www.alpesh.nakars.com/blog/?p=1570</guid>
		<description><![CDATA[With Windows PowerShell you can now back up your SharePoint Site Collections either one off or using scripts that can be scheduled.
Although you can use the Central Administration to back up your site collection as a once off task, you get additional options using Windows PowerShell, such as using SQL Snapshots for backing up SharePoint [...]]]></description>
			<content:encoded><![CDATA[<p>With Windows PowerShell you can now back up your SharePoint Site Collections either one off or using scripts that can be scheduled.</p>
<p>Although you can use the Central Administration to back up your site collection as a once off task, you get additional options using Windows PowerShell, such as using SQL Snapshots for backing up SharePoint 2010 Site Collections.</p>
<p>Backup-SPSite <a href="http://server_name/sites/site_name">http://server_name/sites/site_name</a> -Path C:\Backup\site_name.bak</p>
<p>Get-SPSiteAdministration <a href="http://server_name/sites/site_name">http://server_name/sites/site_name</a> | Backup-SPSite -Path C:\Backup\site_name.bak</p>
<p>Backup-SPSite <a href="http://server_name/sites/site_name">http://server_name/sites/site_name</a> -Path C:\Backup\site_name.bak –UseSqlSnapshot</p>
<p>Note: You can use the UseSqlSnapshot parameter only if you are hosting your content database on SQL Server Enterprise Edition / SQL Server Developer Edition.</p>
<p>Windows PowerShell also gives you the flexibility of backing up several site collections using the thread parameter.</p>
<div class='subscribe'><h4>Enjoyed this article?</h4><p>Subscribe to our  <a href='http://go.alpesh.nakars.com/newsletter'>Free Newsletter</a> and never miss a byte!</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.alpesh.nakars.com/blog/powershell-to-backup-site-collection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell To Change SharePoint Diagnostic Log File Location</title>
		<link>http://www.alpesh.nakars.com/blog/powershell-to-change-sharepoint-diagnostic-log-file-location/</link>
		<comments>http://www.alpesh.nakars.com/blog/powershell-to-change-sharepoint-diagnostic-log-file-location/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 23:30:00 +0000</pubDate>
		<dc:creator>Alpesh</dc:creator>
				<category><![CDATA[SP2010]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SP2010.PowerShell]]></category>
		<category><![CDATA[SP2010.PowerShellScript]]></category>

		<guid isPermaLink="false">http://www.alpesh.nakars.com/blog/powershell-to-change-sharepoint-diagnostic-log-file-location/</guid>
		<description><![CDATA[The following PowerShell cmdlet will get all the diagnostic configuration values
Get-SPDiagnosticConfig

If you want to change the location of your diagnostic configuration log use the following PowerShell cmdlet
Set-SPDiagnosticConfig -LogLocation D:\SharePointLogs\
Enjoyed this article?Subscribe to our  Free Newsletter and never miss a byte!]]></description>
			<content:encoded><![CDATA[<p>The following PowerShell cmdlet will get all the diagnostic configuration values</p>
<p>Get-SPDiagnosticConfig</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image0012.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image001_thumb2.png" width="500" height="324" /></a></p>
<p>If you want to change the location of your diagnostic configuration log use the following PowerShell cmdlet</p>
<p>Set-SPDiagnosticConfig -LogLocation D:\SharePointLogs\</p>
<div class='subscribe'><h4>Enjoyed this article?</h4><p>Subscribe to our  <a href='http://go.alpesh.nakars.com/newsletter'>Free Newsletter</a> and never miss a byte!</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.alpesh.nakars.com/blog/powershell-to-change-sharepoint-diagnostic-log-file-location/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Aussie First Internet Facing Site on SharePoint 2010</title>
		<link>http://www.alpesh.nakars.com/blog/aussie-first-internet-facing-site-on-sharepoint-2010/</link>
		<comments>http://www.alpesh.nakars.com/blog/aussie-first-internet-facing-site-on-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 10:44:16 +0000</pubDate>
		<dc:creator>Alpesh</dc:creator>
				<category><![CDATA[Australia]]></category>
		<category><![CDATA[SP2010]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint2010]]></category>

		<guid isPermaLink="false">http://www.alpesh.nakars.com/blog/?p=1589</guid>
		<description><![CDATA[Last week or so, my good old mate, Ivan Brebner launched Digital Atmosphere public facing site on SharePoint 2010 Foundation (Beta)!
Congratulations to Ivan on this launch! I believe this is not only Aussie First but possibly the first SharePoint Consulting company (in Asia Pacific) to launch on SharePoint 2010 Foundation (Beta).
Check out the site which [...]]]></description>
			<content:encoded><![CDATA[<p>Last week or so, my good old mate, Ivan Brebner launched Digital Atmosphere public facing site on SharePoint 2010 Foundation (Beta)!</p>
<p>Congratulations to Ivan on this launch! I believe this is not only Aussie First but possibly the first SharePoint Consulting company (in Asia Pacific) to launch on SharePoint 2010 Foundation (Beta).</p>
<p>Check out the site which has been customised by Ivan himself and has a good mix of Silverlight as well!</p>
<p>Digital Atmosphere <a href="http://mysp.in/brebinator" target="_blank">http://mysp.in/brebinator </a></p>
<div class='subscribe'><h4>Enjoyed this article?</h4><p>Subscribe to our  <a href='http://go.alpesh.nakars.com/newsletter'>Free Newsletter</a> and never miss a byte!</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.alpesh.nakars.com/blog/aussie-first-internet-facing-site-on-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Beta and Exchange 2010 VHD Download</title>
		<link>http://www.alpesh.nakars.com/blog/sharepoint-2010-beta-and-exchange-2010-vhd-download/</link>
		<comments>http://www.alpesh.nakars.com/blog/sharepoint-2010-beta-and-exchange-2010-vhd-download/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 23:07:46 +0000</pubDate>
		<dc:creator>Alpesh</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Microsoft Virtual]]></category>
		<category><![CDATA[SP2010]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.alpesh.nakars.com/blog/sharepoint-2010-beta-and-exchange-2010-vhd-download/</guid>
		<description><![CDATA[Early this week (Monday), I had tweeted that SharePoint 2010 Beta and Exchange 2010 Download was available for Microsoft Partners – SDPS. If you are following me on http://twitter.com/alpesh you know about it! This download has now been made available for everyone.
To quote from the download page:
Overview
This download contains a two Virtual Machine set for [...]]]></description>
			<content:encoded><![CDATA[<p>Early this week (Monday), I had tweeted that SharePoint 2010 Beta and Exchange 2010 Download was available for Microsoft Partners – SDPS. If you are following me on <a href="http://twitter.com/alpesh">http://twitter.com/alpesh</a> you know about it! This download has now been made available for everyone.</p>
<p>To quote from the download page:</p>
<h6>Overview</h6>
<p><a name="Description"></a>This download contains a two Virtual Machine set for evaluating and demonstrating Office 2010 and SharePoint 2010. </p>
<p>Virtual machine “a” contains the following pre-configured software: </p>
<p>1. Windows Server 2008 SP2 Standard Edition x64, running as an Active Directory Domain Controller for the “CONTOSO.COM” domain with DNS and WINS </p>
<p>2. Microsoft SQL Server 2008 SP2 Enterprise Edition with Analysis, Notification, and Reporting Services </p>
<p>3. Microsoft Office Communication Server 2007 R2 </p>
<p>4. Visual Studio 2010 Beta 2 Ultimate Edition </p>
<p>5. Microsoft SharePoint Server 2010 Enterprise Edition Beta 2 </p>
<p>6. Microsoft Office Web Applications Beta 2 </p>
<p>7. FAST Search for SharePoint 2010 Beta 2 </p>
<p>8. Microsoft Project Server 2010 Beta 2 </p>
<p>9. Microsoft Office 2010 Beta 2 </p>
<p>10. Microsoft Office Communicator 2007 R2 </p>
<p>Virtual machine “b” contains the following pre-configured software: </p>
<p>1. Windows Server 2008 R2 Standard Evaluation Edition x64, joined to the “CONTOSO.COM” domain </p>
<p>2. Microsoft Exchange Server 2010 Active directory has been preconfigured over 200 “demo” users with metadata in an organizational structure. </p>
<p>All of these user profiles have been imported and indexed for search within SharePoint Server 2010, with “contoso\administrator” granted administrator permissions. </p>
<p>SharePoint Server 2010 has been configured in a “Complete” farm using Kerberos authentication and the default SQL Server 2008 instance for data, and has a site collection created using the Team Site template at http://intranet.contoso.com/ and a FAST Search Center at <a href="http://intranet.contoso.com/search/">http://intranet.contoso.com/search/</a>. </p>
<p>Performance Considerations </p>
<p>1. If possible, unpack and run the VM image on a separate, fast hard drive (7200 RPM or better) from the operating system of the host machine. If this is being done on a laptop, a second internal drive or external eSATA drive works best, though USB 2.0 (make sure it&#8217;s 2.0, 1.1 is too slow) or Firewire is acceptable. </p>
<p>For absolute best performance use a second internal SSD drive. </p>
<p>&#160;</p>
<h6>Instructions</h6>
<p>a. Start Hyper-V Manager from Control Panel -&gt; Administrative Tools </p>
<p>b. Confirm that the local host machine appears in the Hyper-V Manager list and select it if not already done </p>
<p>c. Under Actions, click Virtual Network Manager… </p>
<p>d. Confirm that you have created an Internal virtual network named “Internal”. Internal networks limit connectivity to only VMs and the host. </p>
<p>If a suitable not, create one now using the following steps: </p>
<blockquote><p>i. Click on Virtual Network Manager in the Actions pane </p>
<p>ii. Choose New virtual network in the Virtual Networks pane </p>
<p>iii. Choose Internal from the type list and click Add </p>
<p>iv. Enter a name of Internal and click OK v. Start menu -&gt; right-click Network –&gt; Properties</p>
<p>vi. Click Change adapter settings </p>
<p>vii. Find the adapter with a description of Internal, right-click and choose Properties</p>
<p>viii. Double-click on Internet Protocol Version 4 and enter the following values: 1. IP address: 192.168.150.6 2. Subnet mask: 255.255.255.0 3. Default gateway: (leave blank) 4. Preferred DNS server: 192.168.150.1 </p>
<p>ix. Click OK </p>
</blockquote>
<p>e. Close the Virtual Network Manager dialog. </p>
<p>a. Under Actions, click Import Virtual Machine… </p>
<p>b. Use the Browse button to select the folder where the virtual machine package was extracted. Do not check </p>
<p>c. Click Import and wait for the Import to complete – the import status will appear in the Operations column </p>
<p>d. Select the newly imported virtual machine and click Settings in the right pane of the Hyper-V Manager </p>
<p>e. Confirm (and correct if necessary) that the Network Adapter is connected to the Internal network from step 1d. </p>
<p>f. Close the virtual machine Settings dialog. </p>
<p>&#160;</p>
<p><strong>Download 2010 Information Worker Demonstration Virtual Machine (Beta)</strong></p>
<p><a title="http://mysp.in/t10betavhd" href="http://mysp.in/t10betavhd"><strong>http://mysp.in/t10betavhd</strong></a></p>
<div class='subscribe'><h4>Enjoyed this article?</h4><p>Subscribe to our  <a href='http://go.alpesh.nakars.com/newsletter'>Free Newsletter</a> and never miss a byte!</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.alpesh.nakars.com/blog/sharepoint-2010-beta-and-exchange-2010-vhd-download/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Help! Farm Admin cannot execute cmdlets in SP 2010 Management Shell</title>
		<link>http://www.alpesh.nakars.com/blog/powershell-to-give-farm-admin-shell-admin-access/</link>
		<comments>http://www.alpesh.nakars.com/blog/powershell-to-give-farm-admin-shell-admin-access/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 23:30:00 +0000</pubDate>
		<dc:creator>Alpesh</dc:creator>
				<category><![CDATA[SP2010]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SP2010.PowerShell]]></category>
		<category><![CDATA[SP2010.PowerShellScript]]></category>

		<guid isPermaLink="false">http://www.alpesh.nakars.com/blog/powershell-to-give-farm-admin-shell-admin-access/</guid>
		<description><![CDATA[In order to execute farm level cmdlets in SharePoint Management Shell you will need to be given Shell Admin access. Even if you are a farm administrator and you have not been given Shell Admin Access, then you won’t be able to execute farm administrative operation using PowerShell. There are lots of operations that you [...]]]></description>
			<content:encoded><![CDATA[<p>In order to execute farm level cmdlets in SharePoint Management Shell you will need to be given Shell Admin access. Even if you are a farm administrator and you have not been given Shell Admin Access, then you won’t be able to execute farm administrative operation using PowerShell. There are lots of operations that you cannot do via the Central Administration GUI and for which you will require Shell Admin Access.</p>
<h3>List who has SP Shell Admin Access</h3>
<p>Before you get started with addition, it would be good to check who has Shell Admin access using the following PowerShell cmdlet</p>
<p>get-spshelladmin</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image0011.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image001_thumb1.png" width="500" height="125" /></a></p>
<p>Let’s check who is in the farm administrator group for <a href="http://server">http://server</a></p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image0022.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image002_thumb2.png" width="500" height="382" /></a></p>
<p>Even though I am a farm administrator, I could not use SharePoint Management Shell to get a list of users who have SPShellAdmin access.</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image0032.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image003_thumb2.png" width="500" height="140" /></a></p>
<h3>Give user SP Shell Admin Access</h3>
<p>To add a user as Shell Admin, use the following PowerShell cmdlet (logged in as the account that has SPShellAdmin access)</p>
<p>Add-SPShellAdmin -username alpesh </p>
<p>Or simply type Add-SpShellAdmin and press enter. You will be prompted to enter the username! Then type get-spshelladmin to see if you have successfully added the user as SPShellAdmin</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image0042.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image004_thumb2.png" width="500" height="138" /></a></p>
<p>&#160;</p>
<h3>Remove SP Shell Admin Access for a user</h3>
<p>To remove a user as Shell Admin, use the following PowerShell cmdlet</p>
<p>Remove-SPShellAdmin –username alpesh </p>
<p>Or</p>
<p>Or simply type Remove-SPShellAdmin and press enter. You will be prompted to enter the username!</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image005.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image005" border="0" alt="clip_image005" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image005_thumb.png" width="500" height="133" /></a></p>
<div class='subscribe'><h4>Enjoyed this article?</h4><p>Subscribe to our  <a href='http://go.alpesh.nakars.com/newsletter'>Free Newsletter</a> and never miss a byte!</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.alpesh.nakars.com/blog/powershell-to-give-farm-admin-shell-admin-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell To List Site Template</title>
		<link>http://www.alpesh.nakars.com/blog/powershell-to-list-site-template/</link>
		<comments>http://www.alpesh.nakars.com/blog/powershell-to-list-site-template/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 23:30:00 +0000</pubDate>
		<dc:creator>Alpesh</dc:creator>
				<category><![CDATA[SP2010]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SP2010.PowerShell]]></category>
		<category><![CDATA[SP2010.PowerShellScript]]></category>

		<guid isPermaLink="false">http://www.alpesh.nakars.com/blog/powershell-to-list-site-template/</guid>
		<description><![CDATA[SharePoint 2010 Management Shell makes it easier to get a list of Site Templates installed in the farm and also creating sites using the names is straight forward.
To get a list of all globally installed site templates use the following PowerShell cmdlet
get-spwebtemplate 

To get the basic information about all the STS template, use the following [...]]]></description>
			<content:encoded><![CDATA[<p>SharePoint 2010 Management Shell makes it easier to get a list of Site Templates installed in the farm and also creating sites using the names is straight forward.</p>
<p>To get a list of all globally installed site templates use the following PowerShell cmdlet</p>
<p>get-spwebtemplate </p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image001.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image001_thumb.png" width="500" height="552" /></a></p>
<p>To get the basic information about all the STS template, use the following PowerShell cmdlet</p>
<p>get-spwebtemplate “STS*”</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image0021.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image002_thumb1.png" width="500" height="112" /></a></p>
<p>To get the basic information about all the SPS template, use the following PowerShell cmdlet</p>
<p>get-spwebtemplate “SPS*”</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image0031.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image003_thumb1.png" width="500" height="193" /></a></p>
<div class='subscribe'><h4>Enjoyed this article?</h4><p>Subscribe to our  <a href='http://go.alpesh.nakars.com/newsletter'>Free Newsletter</a> and never miss a byte!</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.alpesh.nakars.com/blog/powershell-to-list-site-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell To List Service Applications</title>
		<link>http://www.alpesh.nakars.com/blog/powershell-to-list-service-applications/</link>
		<comments>http://www.alpesh.nakars.com/blog/powershell-to-list-service-applications/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 23:30:00 +0000</pubDate>
		<dc:creator>Alpesh</dc:creator>
				<category><![CDATA[SP2010]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SP2010.PowerShell]]></category>
		<category><![CDATA[SP2010.PowerShellScript]]></category>

		<guid isPermaLink="false">http://www.alpesh.nakars.com/blog/powershell-to-list-service-applications/</guid>
		<description><![CDATA[Service Applications is one of the newest additions in SharePoint 2010 arsenal of features. As again you can manage Service Applications via the SharePoint 2010 Management Shell. In the illustration under, you will see how we can get a list of Service Applications deployed.
Get-SPServiceApplication cmdlet lists all service applications in a farm with their Display [...]]]></description>
			<content:encoded><![CDATA[<p>Service Applications is one of the newest additions in SharePoint 2010 arsenal of features. As again you can manage Service Applications via the SharePoint 2010 Management Shell. In the illustration under, you will see how we can get a list of Service Applications deployed.</p>
<p>Get-SPServiceApplication cmdlet lists all service applications in a farm with their Display Name, TypeName and ID</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image0021.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image002_thumb1.jpg" width="475" height="201" /></a></p>
<p>Now type the same command piped with Select Id, Name to get these results</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image004.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image004_thumb.jpg" width="481" height="201" /></a></p>
<div class='subscribe'><h4>Enjoyed this article?</h4><p>Subscribe to our  <a href='http://go.alpesh.nakars.com/newsletter'>Free Newsletter</a> and never miss a byte!</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.alpesh.nakars.com/blog/powershell-to-list-service-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell To List Feature Definitions</title>
		<link>http://www.alpesh.nakars.com/blog/powershell-to-list-feature-definitions/</link>
		<comments>http://www.alpesh.nakars.com/blog/powershell-to-list-feature-definitions/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 23:05:00 +0000</pubDate>
		<dc:creator>Alpesh</dc:creator>
				<category><![CDATA[SP2010]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SP2010.PowerShell]]></category>
		<category><![CDATA[SP2010.PowerShellScript]]></category>

		<guid isPermaLink="false">http://www.alpesh.nakars.com/blog/powershell-to-list-feature-definitions/</guid>
		<description><![CDATA[Get-spfeature gets the SharePoint features based on a given scope.
This cmdlet behaves differently at each scope, getting the enabled Features at each level. There are 4 levels of scope
· Farm
· WebApplication
· Site (Site Collection)
· Web (Site)
get-spfeature -farm (gets all the enabled Feature in the farm)
get-spfeature -webapplication http://server (gets all enabled the Features in the Web [...]]]></description>
			<content:encoded><![CDATA[<p>Get-spfeature gets the SharePoint features based on a given scope.</p>
<p>This cmdlet behaves differently at each scope, getting the enabled Features at each level. There are 4 levels of scope</p>
<p>· Farm</p>
<p>· WebApplication</p>
<p>· Site (Site Collection)</p>
<p>· Web (Site)</p>
<p>get-spfeature -farm (gets all the enabled Feature in the farm)</p>
<p>get-spfeature -webapplication http://server (gets all enabled the Features in the Web application)</p>
<p>get-spfeature -site http://server/sites/IT (gets all the enabled Features on the site collection)</p>
<p>get-spfeature -site -sandboxed (gets all installed the Feature definitions on the site)</p>
<p>get-spfeature -web (gets all the enabled Features in the Web)</p>
<p>If no scope is provided, all installed Features are returned.</p>
<p>get-spfeature (gets all the installed Feature definitions in the farm)</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image002.jpg"><img style="display: inline; border-width: 0px;" title="clip_image002" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="500" height="498" /></a></p>
<p>The list will scroll by so use any of the following commands</p>
<p>get-spfeature | more (using more command stops the list from scrolling to end)</p>
<p>get-spfeature |select displayname, scope (using select displayname, scope will remove the id column)</p>
<p>get-spfeature | sort scope | select displayname, scope | more (sort scope command will sort the feature based on their scope)</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image003.png"><img style="display: inline; border-width: 0px;" title="clip_image003" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image003_thumb.png" border="0" alt="clip_image003" width="500" height="549" /></a></p>
<p>get-spfeature -Limit ALL | Where-Object {$_.Scope -eq &#8220;SITE&#8221;}</p>
<p>This will get a list of all installed &#8220;SITE&#8221; scoped Feature. Replace Site with Web or Farm to see the list</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image0041.png"><img style="display: inline; border-width: 0px;" title="clip_image004" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image004_thumb1.png" border="0" alt="clip_image004" width="500" height="292" /></a></p>
<div class='subscribe'><h4>Enjoyed this article?</h4><p>Subscribe to our  <a href='http://go.alpesh.nakars.com/newsletter'>Free Newsletter</a> and never miss a byte!</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.alpesh.nakars.com/blog/powershell-to-list-feature-definitions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell To Delete Site Collection</title>
		<link>http://www.alpesh.nakars.com/blog/powershell-to-delete-site-collection/</link>
		<comments>http://www.alpesh.nakars.com/blog/powershell-to-delete-site-collection/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 23:00:00 +0000</pubDate>
		<dc:creator>Alpesh</dc:creator>
				<category><![CDATA[SP2010]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SP2010.PowerShell]]></category>
		<category><![CDATA[SP2010.PowerShellScript]]></category>

		<guid isPermaLink="false">http://www.alpesh.nakars.com/blog/powershell-to-delete-site-collection/</guid>
		<description><![CDATA[It’s easy to create a site collection using PowerShell as seen in an earlier post. Now let’s see how easy it is to delete a site collection using PowerShell cmdlet. It’s any day efficient way to create and delete site collections using PowerShell then use Central Administration GUI.
For the purpose of testing we will
· Create [...]]]></description>
			<content:encoded><![CDATA[<p>It’s easy to <a href="http://www.alpesh.nakars.com/blog/powershell-to-create-a-new-site-collection/" target="_blank">create a site collection using PowerShell</a> as seen in an earlier post. Now let’s see how easy it is to delete a site collection using PowerShell cmdlet. It’s any day efficient way to create and delete site collections using PowerShell then use Central Administration GUI.</p>
<p>For the purpose of testing we will</p>
<p>· Create a site collection named 2Delete using a site template STS#0</p>
<p>· Delete a site collection named 2Delete</p>
<ol>
<li>New site collection created using SharePoint 2010 Management Shell.      <br /><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image002.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image002_thumb.png" width="500" height="93" /></a> </li>
<li>Site collection created. as per confirmation. Delete site collection using SharePoint 2010 Management Shell.      <br /><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image004.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image004_thumb.png" width="500" height="132" /></a> </li>
<li>Press ENTER.      <br /><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image006.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image006_thumb.png" width="500" height="192" /></a> </li>
<li>Site collection deleted.      <br /><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image008.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image008" border="0" alt="clip_image008" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2010/01/clip_image008_thumb.png" width="500" height="201" /></a> </li>
</ol>
<div class='subscribe'><h4>Enjoyed this article?</h4><p>Subscribe to our  <a href='http://go.alpesh.nakars.com/newsletter'>Free Newsletter</a> and never miss a byte!</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.alpesh.nakars.com/blog/powershell-to-delete-site-collection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell To Add Secondary Site Collection Admin</title>
		<link>http://www.alpesh.nakars.com/blog/powershell-to-add-secondary-site-collection-admin/</link>
		<comments>http://www.alpesh.nakars.com/blog/powershell-to-add-secondary-site-collection-admin/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 14:03:00 +0000</pubDate>
		<dc:creator>Alpesh</dc:creator>
				<category><![CDATA[SP2010]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SP2010.Admin]]></category>
		<category><![CDATA[SP2010.PowerShell]]></category>
		<category><![CDATA[SP2010.PowerShellScript]]></category>

		<guid isPermaLink="false">http://www.alpesh.nakars.com/blog/powershell-to-add-secondary-site-collection-admin/</guid>
		<description><![CDATA[Situation: You want to add secondary site collection administrator 
Old Method: Go to Central Admin… or use stsadm
Smart Method: Use PowerShell
How?
Launch your Administrator: SharePoint 2010 Management Shell
Type
Set-SPSite –Identity http://server –SecondaryOwnerAlias justsharepoint\alpesh
&#160;
 
This will add secondary site collection administrator. Soon will show you how you can add secondary site collection administrator for all site collections in [...]]]></description>
			<content:encoded><![CDATA[<p>Situation: You want to add secondary site collection administrator </p>
<p>Old Method: Go to Central Admin… or use stsadm</p>
<p>Smart Method: Use PowerShell</p>
<p>How?</p>
<p>Launch your Administrator: SharePoint 2010 Management Shell</p>
<p>Type</p>
<p>Set-SPSite –Identity <a href="http://server">http://server</a> –SecondaryOwnerAlias justsharepoint\alpesh</p>
<p>&#160;</p>
<p><a href="http://www.alpesh.nakars.com/blog/wp-content/uploads/2009/12/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.alpesh.nakars.com/blog/wp-content/uploads/2009/12/image_thumb2.png" width="500" height="52" /></a> </p>
<p>This will add secondary site collection administrator. Soon will show you how you can add secondary site collection administrator for all site collections in a managed path! </p>
<div class='subscribe'><h4>Enjoyed this article?</h4><p>Subscribe to our  <a href='http://go.alpesh.nakars.com/newsletter'>Free Newsletter</a> and never miss a byte!</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.alpesh.nakars.com/blog/powershell-to-add-secondary-site-collection-admin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>