Articles about European Sharepoint Hosting Service
SharePoint 2013 Hosting – HostForLIFE.eu :: How to List Items Count in SharePoint 2013 with PowerShell?
Today, let me explain you how to list items count in SharePoint 2013 with PowerShell. First step, make a SharePoint List name it “Continent” as you can see on the below picture:
Next step, Open the PowerShell ISE as administrator.
After changing site url an your list name, write the following code:
cls
add-pssnapin microsoft.sharepoint.powershell
$URL=”http://moss13:1111/”
$ListName=”Continents”
$SPWeb=Get-SPWeb $URL
$SPList=$SPWeb.Lists[$ListName]
$listitems = $SPList.Items.Count
Write-Host “Items in list: ” $listitems
And here is the output:
Hope it helps!
SharePoint 2013 Hosting Recommendation
HostForLIFE.eu’s SharePoint 2013 Hosting solution offers a comprehensive feature set that is easy-to-use for new users, yet powerful enough for the most demanding web developer expert. Hosted SharePoint Foundation 2013 is the premiere web-based collaboration and productivity enhancement tool on the market today. With SharePoint 2013 Foundation, you can quickly access and manage documents and information anytime, anywhere though a Web browser in a secure and user friendly way. SharePoint hosting services start at only at €9.99/mo, allowing you to take advantage of the robust feature set for a small business price. HostForLIFE.eu offers a variety of hosted SharePoint Foundation 2013 plans as well as dedicated SharePoint 2013 Foundation options.
Print article | This entry was posted by Peter on August 19, 2015 at 4:22 am, and is filed under Other Related Post. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |