$infos
= @{}
$infos
.Path =
‘c:\Windows‘
$infos
.Recurse =
$true
$infos
.
Filter
=
‘*.log‘
$infos
.ErrorAction =
‘SilentlyContinue‘
$infos
.Remove(
‘Recurse‘
)
dir
@infos
dir c:\windows -rexurse -filter ‘*.log’ -erroraction silentlycontinue
利用Splatting提交参数(Hash,哈希),布布扣,bubuko.com
时间: 2024-10-29 00:29:15