The other reason for the verbosity is because it was written for people that have never used the shell before. Lowers the bar for others to support it.
The other reason for the verbosity is because it was written for people that have never used the shell before. Lowers the bar for others to support it.
$allXaml += (Get-ChildItem -Path SicsControls -Recurse -Filter *.xaml).FullName -NotLike '*\obj\*'
$allXaml+=(gci SicsControls *.xaml -r).FullName -NotLike '*\obj\*'
I dropped the -File because of the filter and -NotLike works on an array of values.
$allXaml += (Get-ChildItem -Path SicsControls -Recurse -Filter *.xaml).FullName -NotLike '*\obj\*'
$allXaml+=(gci SicsControls *.xaml -r).FullName -NotLike '*\obj\*'
I dropped the -File because of the filter and -NotLike works on an array of values.