Showing results for April 2018 - Scripting Blog [archived]

Apr 24, 2018
0
0

Doing More With Functions: Comment-Based Help

Kory Thacher
Kory Thacher

I just wanted to throw together a post highlighting how cool and easy it is to add help data to your own Functions and scripts. The help data gets added via comments. For functions the help data can go in three places: For scripts we just put it at the top of your script before you type the param() statement, or at the bottom, ...

korytKory Thacher
Apr 10, 2018
0
0

Inserting new elements into XML files

Kory Thacher
Kory Thacher

The Goal: Insert nodes into a specific place in XML config files The Motivation: I had a coworker a while back working with App Fabric. He needed to insert a particular chunk of XML into a specific spot inside of the config file. This had to be done on a bunch of different machines, but the kicker was that the config files might look different ...

korytKory Thacher

Feedback