Commit graph

7 commits

Author SHA1 Message Date
bergmeister ffd39b2853 PSScriptAnalyzer fixes by category (#4261)
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'ForEach-Object' (alias is '%' or 'foreach')
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'Where-Object' (alias is '?' or 'where')
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'Select-Object' (alias is 'select')
- Fix PSScriptAnalyzer warnings of type PSPossibleIncorrectComparisonWithNull. Essentially, $null has to be on the left-hand side when using it for comparison.
- A Test in ParameterBinding.Tests.ps1 needed adapting as this test used to rely on the wrong null comparison
- Replace a subset of tests of kind '($object -eq $null) | Should Be $true' with '$object | Should Be $null'
2017-07-21 21:03:49 -07:00
Jason Shirk 02b5f357a2 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Josh Soref 1a04ad4cdb spelling fixes: demos apache (#2257) 2016-09-14 10:50:44 -07:00
Josh Soref 28b8eece67 spelling fixes: demos (#2060) 2016-08-31 11:05:35 -07:00
Kristopher Bash 60c30190c8 Add DSC demo. Bugfix Apache and SystemD demo. (#1814)
* Add DSC demo. Bugfix Apache and SystemD demo.

* DSC, Apache, SystemD demos, address comments

* Fix capitalization in apache-demo.ps1
2016-08-17 12:07:12 -07:00
opquad@live.com a16c85dec3 Fix vhost directory finding function in Apache demo 2016-07-26 08:45:44 -07:00
opquad@live.com 4f2f0bb02c -refactor Apache demo completely
-bug fix in SystemD (json) demo
-Move demos to self-contained folders
2016-07-25 13:51:37 -07:00