📅  最后修改于: 2022-03-11 15:00:15.849000             🧑  作者: Mango
代码示例1
Get-LocalUser | Where-Object {$_.Lastlogon -le (Get-Date).AddDays(-30)} | Select-Object Name,Enabled,SID,Lastlogon | Format-List