pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
989 stars 662 forks source link

Add GetWebparts.cs example #2776

Closed ToddKlindt closed 4 years ago

ToddKlindt commented 4 years ago

Before creating a pull request, make sure that you have read the contribution file located at

https://github.com/pnp/PnP-PowerShell/blob/dev/CONTRIBUTING.md

Type

What is in this Pull Request ?

I added a 3rd example. I also added the expected output. I'm not sure if that's okay or not. Is there a reference guide for how to format CmdletExample segments? Like how to deal with multiple lines, stuff like that? I couldn't find anything.

KoenZomers commented 4 years ago

Thanks again @ToddKlindt! The multi-line syntax looks good. So far we haven't included any sample output in samples. @erwinvanhunen, what do you think? Okay to start doing this?

ToddKlindt commented 4 years ago

Thanks again @ToddKlindt! The multi-line syntax looks good. So far we haven't included any sample output in samples. @erwinvanhunen, what do you think? Okay to start doing this?

Yay! I didn't screw one up. :) I know I appreciate seeing the expected results when I'm looking at examples, but I understand if that's not consistent with the existing examples and you want to keep them in line.

ToddKlindt commented 4 years ago

What's the status of this? I don't want to write any more help examples if I'm writing them wrong and I'll need to redo them.