Kwizcom Forms

GridView in PowerShell in SharePoint

powershell out gridview


When I try to validate all the service applications associated in a FARM using PowerShell I am not able to read the output as it is beyond the windows size.

SharePoint deveopment training course

PowerShell Command to list all the service application details in a FARM:


powershell sharepoint 2013
powershell sharepoint 2013

Solution:  using ” | gridView” in PowerShell

In PowerShell, we have an option to redirect the output to GridView using ” | gridview” as shown below:

powershell gridview
powershell gridview

Advantages in using GridView

  1. When we use GridView it will redirect the output to Grid View which is very easy to read through the output
  2. You can add the filters on the output data
  3. You can sort the data then and there
  4. Easily add new criteria on the output data
powershell out gridview
powershell out gridview

Hope this helps, happy development in SharePoint !!!

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)


About Krishna Vandanapu

I am Krishna.Vandanapu a SharePoint architect working in IT from last 13+ years, I worked in SharePoint 2007, 2010, 2013, 2016 and Office 365. I have extensive hands on experience in customizing SharePoint sites from end to end. Expertise in SharePoint migration tools like Sharegate, Doc Ave and Metalogix. Migrated SharePoint sites from SharePoint 2007 to 2010 and 2010 to 2013 several times seamlessly. Implementing CSOM with Microsoft best practices. Spent quality time in configuring SharePoint application services like User Profile, Search, Managed Meta data services etc. Now exploring SharePoint Framework and SharePoint 2019

View all posts by Krishna Vandanapu →