Read a configuration file: Difference between revisions
Content added Content deleted
(→Using Switch -Regex: Using regex \s) |
m (→Using Switch -Regex: Removing unnecessary parentheses) |
||
Line 3,471: | Line 3,471: | ||
Switch -Regex -File $_LiteralPath { |
Switch -Regex -File $_LiteralPath { |
||
'^ |
'^\s*[;#=]|^\s*$' { |
||
Write-Verbose -Message "v$(' '*20)ignored" |
Write-Verbose -Message "v$(' '*20)ignored" |
||
Write-Verbose -Message $Matches[0] |
Write-Verbose -Message $Matches[0] |