Avatar of me24hour
me24hour
Flag for United States of America asked on

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

Hi,
Which tool to use to debug powershell that carry sharepoint 2010 cmdlets ?
What are the steps involved in doing this ?
Microsoft DevelopmentMicrosoft ApplicationsMicrosoft SharePoint

Avatar of undefined
Last Comment
David Johnson, CD

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
David Johnson, CD

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
me24hour

ASKER
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
David Johnson, CD

You have to import the modules
me24hour

ASKER
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 !!
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
David Johnson, CD

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

ASKER
Out of the 3 tools you mentioned, which tool should server better in which situation ?
Or, should i just stick with one ?
David Johnson, CD

I like powergui myself, as my Visual Studio takes forever to load
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.