原理:windows管道技术
powershell : [System.Text.RegularExpressions.Regex]::Matches([System.IO.Directory]::GetFiles("\\.\\pipe\\"),"QQ_(\d*)_pipe").Groups;
cmd : dir \\.\pipe\\ | findstr "QQ_" | findstr "_pipe"
原理:windows管道技术
powershell : [System.Text.RegularExpressions.Regex]::Matches([System.IO.Directory]::GetFiles("\\.\\pipe\\"),"QQ_(\d*)_pipe").Groups;
cmd : dir \\.\pipe\\ | findstr "QQ_" | findstr "_pipe"