Which tool to use to debug powershell that carry sharepoint 2010 cmdlets

me24hour
me24hour used Ask the Experts™
on
Hi,
Which tool to use to debug powershell that carry sharepoint 2010 cmdlets ?
What are the steps involved in doing this ?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016
Commented:
powershell ise
Visual Studio 2010
powergui

to name a few

Author

Commented:
my understanding is that we cannot use powershell ise because it would not recognize commands like 'Get-Spweb'
what are the steps involved in debugging using visual studio 2010. ?
which process to attach ?

thanks for your help
Top Expert 2016

Commented:
You have to import the modules
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Author

Commented:
I installed the Power GUI on my laptop.
i am also able to put the breakpoints. Now, my understanding is that when the breakpoint hits it should bring up the cmd prompt. Is that right ?
Actually, i am kind of newbie in powershell, so, would you mind to be little more descriptive in your reply.

thanks for all your help and support !!
Top Expert 2016

Commented:
no what it does is allow you to look at the variables and you can check other areas of the system.

Author

Commented:
Out of the 3 tools you mentioned, which tool should server better in which situation ?
Or, should i just stick with one ?
Top Expert 2016

Commented:
I like powergui myself, as my Visual Studio takes forever to load

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial