mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-21 20:23:18 +00:00
Merge pull request #878 from atao/master
Improve powershell command output
This commit is contained in:
commit
39a02709f2
2 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ Get-Hotfix -description "Security update" #List only "Security Update" patches
|
|||
## Environment
|
||||
|
||||
```powershell
|
||||
Get-ChildItem Env: | ft Key,Value #get all values
|
||||
Get-ChildItem Env: | ft Key,Value -AutoSize #get all values
|
||||
$env:UserName @Get UserName value
|
||||
```
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ Any credential/Juicy info saved in the env variables?
|
|||
```bash
|
||||
set
|
||||
dir env:
|
||||
Get-ChildItem Env: | ft Key,Value
|
||||
Get-ChildItem Env: | ft Key,Value -AutoSize
|
||||
```
|
||||
|
||||
### PowerShell History
|
||||
|
|
Loading…
Reference in a new issue