Closed silversword411 closed 1 year ago
whys it got write-host
and write-output
? Whats the template to achieve? If its for someone to build scripts from then worth having it checking the event viewer and some other bits and pieces
Whats the template to achieve
I've got so many little scripts with missing check-bits everywhere I'm really trying to have a "start with this" so it'll be a pattern to use for all scripts (and I'll be slowly updating the library to follow the standards)
https://docs.tacticalrmm.com/contributing_community_scripts/#good-habits I'll be updating this as I go once this template has all the missing bits.
Not all the sections are needed for all scripts, but want a copy/paste for "standard" check stuff...where you can delete un-needed stuff. I keep forgetting which scripts have a good "do it this way for xyz task"
@NiceGuyIT Whatcha think about this for a template starter for PS...what other things might be missing?