view=powershell-5.1 PS C:\> Get-LocalUser Name Enabled Description ---- ------- ----------- Administrator view=powershell-5.1 PS C:\> Invoke-Command -ComputerName zhangsan.testLab.com -ScriptBlock {GetLocalUser view=powershell-5.1 PS C:\> Get-WmiObject -Class Win32_UserAccount AccountType : 512 Caption : R90LT26V
view=powershell-5.1 默认Powershell v5支持Powershell v3和Powershell v4,需要安装Get-PSReadlineOption后才可以使用。
view=powershell-5.1 基本都可以用Microsoft Message Analyzer代替,可能在内网机子现场应急的时候需要用Get-WinEvent 排查Windows用户命令
view=powershell-5.1 查看$PROFILE变量,我们搞全局设置,因此要选$PROFILE.AllUsersAllHosts(C:\Windows\System32\WindowsPowerShell
view=powershell-5.1 得到安全补丁KB编号后就可以利用以下在线提权辅助平台或相关项目来进行对比,Windows-Exploit-Suggester早已过时停止更新,推荐用WES-NG