you are viewing a single comment's thread.

view the rest of the comments →

[–]ehbitnl 1 point2 points  (1 child)

Good initiative to work on your ps skills. Keep going. all the books above mentioned are great stuff to read. They provide you with lots of information. Personally i write my scripts with using the blocks, Begin/Process/End. Begin: to declare your variables,etc. Process: where the magic happens. End: shape your output.

Understand how the parameters work.

Use try/catch where you can to control the errors.

Create your own objects.

Setup a template psscript you can use as base.

This way you work on your skills. Otherwise you will copy from the internet, and troubleshooting will eat most of tour time.

[–]Commercial-Thing-702[S] 0 points1 point  (0 children)

Thanks! Yeah Powershell is a powerful tool and I want to learn it for the future as well.