标签:replace ace psc strong gen http validate proc color
实现效果:
实现代码:
Get-EventLog -LogName Security -InstanceId 4624| ForEach-Object{ [PSCustomObject]@{ Time=$_.TimeGenerated LogonType=$_.ReplacementStrings[8] ProcessName=$_.ReplacementStrings[17] Domain=$_.ReplacementStrings[6] User=$_.ReplacementStrings[5] ValidatePack=$_.ReplacementStrings[10] Source=$_.Source } }|Out-GridView
标签:replace ace psc strong gen http validate proc color
原文地址:https://www.cnblogs.com/feiyucha/p/11116723.html