nicholasdille / DSCTooling

My #PSDSC tool chain
http://nicholasdille.github.io/psdsc
MIT License
5 stars 3 forks source link

Improve code quality #28

Open nicholasdille opened 9 years ago

nicholasdille commented 9 years ago

Use [OutputType()] http://technet.microsoft.com/en-us/library/hh847785.aspx

Use Set-StrictMode http://blogs.technet.com/b/heyscriptingguy/archive/2014/12/03/enforce-better-script-practices-by-using-set-strictmode.aspx

Add more debugging output using Write-Verbose http://blogs.technet.com/b/heyscriptingguy/archive/2014/12/01/provide-support-using-verbose-and-debug-streams.aspx