.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

PowerShell Code Command in Squadron - SharePoint tool

Posted By:Jean Paul       Posted Date: December 30, 2013    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

Observing the SharePoint Administrators, I found that they need a tool for examining problems with site/list/item objects & a PowerShell code to fix the problem.
 

Observing the SharePoint Administrators, I found that they need a tool for examining problems with site/list/item objects & a PowerShell code to fix the problem.

As we already integrated Explorer with Properties in Squadron, I thought of easing their second step of using PowerShell code.

clip_image002

Squadron is a Free SharePoint Administration tool available at www.sharepointcto.com.

clip_image004

What does PowerShell Code button do?

You can see the PowerShell Code button in the Explorer add-in.

clip_image006

The command is only available for:

1. Site Collection

2. Site

3. List

4. List Item

On clicking the command (button) you will get the PowerShell Code to point to the item.

For example, I am selecting the Site Collection object & clicking the button.

clip_image008

You can see the code in above screen. The code can be directly pasted to a PowerShell Editor for execution or debugging.

You need to enter your custom code after the last line of generated code :) The generator helps in saving time skipping the plumbing work.

You can even launch PowerShell & PowerShell ISE using the buttons displayed.

Generate List Item Code

Both List & Library are internally Lists for SharePoint. So the list items & documents are the same List Item. You can select the item as shown below.

clip_image010

Click the PowerShell Code button to generate code.

clip_image012

You can launch the PowerShell ISE and paste the code there..

clip_image014

This concludes our article on PowerShell code command in Explorer add-in.

References

http://bit.ly/10uiVpB

Summary

In this article we have explored a possible useful Add-in command option of Squadron. Please let me know about more functionality you need in Squadron.


 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend