diff --git a/windows-hardening/basic-powershell-for-pentesters/README.md b/windows-hardening/basic-powershell-for-pentesters/README.md index b7900a783..c7595bfaa 100644 --- a/windows-hardening/basic-powershell-for-pentesters/README.md +++ b/windows-hardening/basic-powershell-for-pentesters/README.md @@ -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 ``` diff --git a/windows-hardening/windows-local-privilege-escalation/README.md b/windows-hardening/windows-local-privilege-escalation/README.md index b54fe3086..343263726 100644 --- a/windows-hardening/windows-local-privilege-escalation/README.md +++ b/windows-hardening/windows-local-privilege-escalation/README.md @@ -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