{"id":10245,"date":"2025-05-31T00:56:57","date_gmt":"2025-05-30T23:56:57","guid":{"rendered":"https:\/\/stevepedwards.today\/DebianAdmin\/?page_id=10245"},"modified":"2025-05-31T02:38:12","modified_gmt":"2025-05-31T01:38:12","slug":"windows-powershell-commands","status":"publish","type":"page","link":"https:\/\/stevepedwards.today\/DebianAdmin\/windows-powershell-commands\/","title":{"rendered":"Windows Powershell Commands"},"content":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_10245\" class=\"pvc_stats all  \" data-element-id=\"10245\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>'Handles'`<br \/>\n'Id'`<br \/>\n'ProcessName'`<br \/>\n'StartTime'`<br \/>\n@{ Name = 'CPU(s)'; Expression = { if ($_.CPU) { $_.CPU.ToString('N') } } }`<br \/>\n@{ Name = 'NPM(K)'; Expression = { [int] ($_.NPM \/ 1KB) } }`<br \/>\n@{ Name = 'PM(K)'; Expression = { [int] ($_.PM \/ 1KB) } }`<br \/>\n@{ Name = 'SI'; Expression = 'SessionId' }`<br \/>\n@{ Name = 'WS(K)'; Expression = { [int] ($_.WS \/ 1KB) } }`<br \/>\nFormat-Table -Property Id, Name, MainWindowTitle -AutoSize`<br \/>\nWhere-Object -Property MainWindowTitle |`<br \/>\nWrite-Host \"This will not be redirected\"<\/p>\n<p>Get-NetFirewallHyperVVMSetting -PolicyStore ActiveStore -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}'<\/p>\n<p>Unregister-PSRepository -Name \"PSGallery\"<br \/>\nfsutil.exe repair query c:<br \/>\nfsutil.exe repair query d:<br \/>\n$PSVersionTable<br \/>\n$processes = Get-Process`<br \/>\n$processes | Sort-Object { $_.PriorityClass } | Format-Table -View Priority`<br \/>\n(Get-PSReadlineOption).HistorySavePath<br \/>\n) -AutoSize`<br \/>\n.\\GetChildItem<br \/>\n.\\GetHelp.txt Redirection<br \/>\n.\\Sysinternals<br \/>\n.\\Sysprep\\<br \/>\n.\\chkdsk.exe \/F c:<br \/>\n.\\chkdsk.exe c:<br \/>\n.\\chkdsk.exe c: \/F<br \/>\n.\\du.exe -c -v C:\\Users\\stevee\\<br \/>\n.\\du.exe -cv C:\\Users\\stevee\\<br \/>\n.\\du.exe -v C:\\<br \/>\n.\\du.exe -v C:\\Users\\stevee\\<br \/>\n.\\du.exe -v d:<br \/>\n.\\du.exe -v d:\\<br \/>\n.\\du.exe C:\\Users\\stevee\\<br \/>\n.\\du.exe C:\\Users\\stevee\\ -v<br \/>\n.\\du.exe -vc<br \/>\n.\\du64.exe<br \/>\n.\\du64.exe 'C:\\Users\\stevee\\Desktop\\Google Course\\'<br \/>\n.\\du64.exe 'C:\\Users\\stevee\\Desktop\\Google Course\\' -vc<br \/>\n.\\du64.exe 'C:\\Users\\stevee\\Desktop\\Google Course\\DU\\'<br \/>\n.\\du64.exe C:\\Users\\stevee\\<br \/>\n.\\du64.exe C:\\Users\\stevee\\ -vc<br \/>\n.\\du64.exe C:\\Users\\stevee\\ -vc<br \/>\n.\\du64.exe C:\\Users\\stevee\\ -vc &gt; file.txt<br \/>\n.\\du64.exe C:\\Users\\stevee\\ -vc file.txt<br \/>\n.\\du64.exe C:\\Users\\stevee\\Desktop\\Google Course\\ -vc<br \/>\n.\\du64.exe C:\\Users\\stevee\\Desktop\\Google Course\\DU&gt; -vc<br \/>\n.\\du64.exe -vc<br \/>\n.\\du64.exe -vc .<br \/>\n.\\du64.exe -vc C:\\Users\\stevee\\Desktop\\Google Course\\DU&gt;<br \/>\n.\\du64a.exe C:\\Users\\stevee\\<br \/>\n.\\du64a.exe -vc<br \/>\n.\\gpresult.exe \/H GPResult.html<br \/>\n.\\icacls.exe<br \/>\n.\\icacls.exe C:\\User\\stevee\\Desktop<br \/>\n.\\ipconfig.exe<br \/>\n.\\msinfo32.exe<br \/>\n.\\notepad.exe<br \/>\n.\\python.exe<br \/>\n.\\pythonw.exe<br \/>\n.\\speedtest.exe<br \/>\n.\\sysinternals<br \/>\n.\\tasklist.exe<br \/>\n.\\tasklist.exe \/?<br \/>\n.\\tasklist.exe \/S stevee<br \/>\n.\\tasklist.exe \/U \/S stevee<br \/>\n.\\tasklist.exe \/U stevee<br \/>\n.\\tasklist.exe C:\\Users\\stevee\\<br \/>\n.\\tasklist.exe workgroup\\stevee<br \/>\n\/?<br \/>\nAdd-WindowsCapability -Online -Name OpenSSH.Server<br \/>\nC:\\\"Program Files (x86)\"\\Nmap\\zenmap\\bin<br \/>\nC:\\Program Files<br \/>\nC:\\Program Files (x86)<br \/>\nC:\\Program Files (x86)\\<br \/>\nC:\\Program Files (x86)\\Nmap\\<br \/>\nC:\\Program Files (x86)\\Nmap\\zenmap\\<br \/>\nC:\\Program Files (x86)\\Nmap\\zenmap\\bin<br \/>\nC:\\Users\\stevee\\AppData\\Roaming\\Microsoft\\Windows\\PowerShell\\PSReadLine.txt<br \/>\nDIR | findstr \"Steve\" '.\\Steve Edwards Tech + Teaching.docx'<br \/>\nDISM.exe \/Online \/Cleanup-image \/Restorehealth<br \/>\nDISM.exe \/Online \/Cleanup-image \/Scanhealth<br \/>\nDel .\\file.txt<br \/>\nDiskPart<br \/>\nFind-Package sysinternals -IncludeDependencies<br \/>\nGPRESULT \/H GPReport.html<br \/>\nGet-Alias<br \/>\nGet-Alias &gt; GetAlias.txt<br \/>\nGet-ChildItem<br \/>\nGet-ChildItem \/?<br \/>\nGet-ChildItem &gt; GetChildItem.txt<br \/>\nGet-ChildItem \\\\BabyHP\\homes<br \/>\nGet-ChildItem \\\\BabyHP\\varwww<br \/>\nGet-Content .\\.wslconfig<br \/>\nGet-FileHash .\\Win11_23H2_EnglishInternational_x64v2.iso<br \/>\nGet-Help -Force ls<br \/>\nGet-Help -force ls<br \/>\nGet-Help ls<br \/>\nGet-Help ls -Full<br \/>\nGet-History<br \/>\nGet-LocalGroup<br \/>\nGet-LocalGroupMember<br \/>\nGet-LocalGroupMember Administrators<br \/>\nGet-LocalUser<br \/>\nGet-NetFirewallHyperVRule -VMCreatorId '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}'<br \/>\nGet-NetFirewallHyperVVMCreator<br \/>\nGet-NetFirewallHyperVVMSetting -PolicyStore ActiveStore -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}'<br \/>\nGet-NetFirewallRule -Name *SSH*<br \/>\nGet-NetFirewallRule | Get-NetFirewallPortFilter | Where-Object {$_.LocalPort -eq 80} | Get-NetFirewallRule<br \/>\nGet-Process<br \/>\nGet-Process -Id $PID<br \/>\nGet-Process -Name SQL* -Module<br \/>\nGet-Process -Name powershell<br \/>\nGet-Process -Name powershell -FileVersionInfo<br \/>\nGet-Process -Name powershell -IncludeUserName<br \/>\nGet-Process -Name powershell | Format-Table -Property @(`<br \/>\nGet-Process winword, explorer | Format-List *<br \/>\nGet-Process | .\\Sort CPU<br \/>\nGet-Process | Measure-Object -Line<br \/>\nGet-Process | Sort CPU<br \/>\nGet-Process | Sort CPU<br \/>\nGet-Process | Sort CPU -Descending | Select -First 3 -Property Id.ProcessName.CPU<br \/>\nGet-Process | Sort CPU -descending<br \/>\nGet-Process | Sort CPU -descending | Select -First 3 -Property Id.ProcessName.CPU<br \/>\nGet-Process | Sort CPU -descending | Select -first 3<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 -Property ID.ProcessName.CPU<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 -Property Id.ProcessName.CPU<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 -property ID.ProcessName.CPU<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 -property Id<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 -property Id -property Process<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 -property Id -property ProcessName<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 -property Id ProcessName<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 -property Id,CPU<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 -property Id,CPU,ProcessName<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 -property Id.CPU<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 Id<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 Id ProcessName<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 Id.ProcessName<br \/>\nGet-Process | Sort CPU -descending | Select -first 3 Id.Property<br \/>\nGet-Process | Where-Object WorkingSet -GT 20MB`<br \/>\nGet-Process | Where-Object { $_.WorkingSet -gt 20971520 }`<br \/>\nGet-Process |`<br \/>\nGet-Service<br \/>\nGet-Service<br \/>\nGet-Service | FINDSTR \"Pause\"<br \/>\nGet-Service | FINDSTR \"Run\"<br \/>\nGet-Service | FINDSTR \"Stopped\"<br \/>\nGet-Service | FINDSTR \"stop\"<br \/>\nGet-Service | FINDSTR \"stopped\"<br \/>\nGet-help \"2&gt;\"<br \/>\nGet-help \"about_Redirection\"<br \/>\nGet-help \"about_redirection\"<br \/>\nGet-help \"about_redirection\" 2&gt;<br \/>\nGet-help \"about_redirection\" 2&gt;$null<br \/>\nGet-help \"redirection\"<br \/>\nGet-help 2&gt;<br \/>\nGet-help about_Redirection<br \/>\nGet-help about_redirection<br \/>\nGet-help output_redirection<br \/>\nGet-help redirection<br \/>\nHelp<br \/>\nInstall-Module -Name SpeedTest-CLI<br \/>\nInstall-Package -name sysinternals<br \/>\nInstall-Package -name sysinternals -Source Chocolatey<br \/>\nInstall-Package -name sysinternals -Source chocolatey<br \/>\nOptionalFeatures.exe<br \/>\nRemove-LocalUser cesar<br \/>\nRemove-Package -name sysinternals<br \/>\nRestart-Computer<br \/>\nRestart-NetAdapter<br \/>\nRestart-Service -DisplayName \"Google Drive*\"<br \/>\nSFC \/SCANNOW<br \/>\nSelect-String \"index\"<br \/>\nSelect-String \"index\" .\\Documents\\<br \/>\nSelect-String -Path \"C:\\temp\\log.txt\" -Pattern \"error\"<br \/>\nSelect-String index *.txt<br \/>\nSelect-String index .\\GetAlias.txt<br \/>\nSelect-String item .\\GetAlias.txt<br \/>\nSelect-String mysql C:\\MyData\\<br \/>\nSelect-String mysql C:\\MyData\\*.*<br \/>\nSet-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https:\/\/community.chocolatey.org\/install.ps1'))<br \/>\nSet-NetFirewallHyperVVMSetting -DefaultInboundAction Allow -Direction Inbound -Protocol TCP -LocalPorts 80<br \/>\nSet-NetFirewallHyperVVMSetting -DefaultInboundAction Allow -DisplayName \"Allow Web 80\" -Direction Inbound -Protocol TCP -LocalPorts 80<br \/>\nSet-NetFirewallHyperVVMSetting -DefaultInboundAction Allow or New-NetFirewallHyperVRule -DisplayName \"Allow Web 80\" -Direction Inbound -Protocol TCP -LocalPorts 80<br \/>\nSet-NetFirewallHyperVVMSetting -DefaultInboundAction Allow or New-NetFirewallHyperVRule -DisplayName \"Allow Web 80\" -Direction Inbound -VMCreatorId '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -Protocol TCP -LocalPorts 80<br \/>\nSet-NetFirewallHyperVVMSetting -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -DefaultInboundAction Allow<br \/>\nSet-NetFirewallHyperVVMSetting -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -DefaultInboundAction Allow or New-NetFirewallHyperVRule -DisplayName \"Allow Web 80\" -Direction Inbound -VMCreatorId '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -Protocol TCP -LocalPorts 80<br \/>\nSet-NetFirewallHyperVVMSetting -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -DefaultInboundAction Allow or New-NetFirewallHyperVRule -Name \"Allow Web 80\" -DisplayName \"Allow Web 80\" -Direction Inbound -VMCreatorId '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -Protocol TCP -LocalPorts 80<br \/>\nSet-NetFirewallHyperVVMSetting -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -DefaultInboundAction Allow or New-NetFirewallHyperVRule -Name \"MyWebServer\" -DisplayName \"Allow Web 80\" -Direction Inbound -VMCreatorId '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -Protocol TCP -LocalPorts 80<br \/>\nSet-NetFirewallHyperVVMSetting -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -DefaultInboundAction Allow or New-NetFirewallHyperVRule -Name \"MyWebServer\" -DisplayName \"My Web Server\" -Direction Inbound -VMCreatorId '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -Protocol TCP -LocalPorts 80<br \/>\nSet-NetFirewallHyperVVMSetting -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -DefaultInboundAction Allow or New-NetFirewallHyperVRule -Name \"hplaptop\" -DisplayName \"hplaptop\" -Direction Inbound -VMCreatorId '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -Protocol TCP -LocalPorts 80<br \/>\nSet-NetFirewallProfile -Profile Domain,Public,Private -Enabled False<br \/>\nSet-NetFirewallProfile -Profile Domain,Public,Private -Enabled True<br \/>\nSet-NetFirewallRule -DisplayName \"Allow Web 443\" -RemoteAddress 172.28.23.198<br \/>\nSet-NetFirewallRule -DisplayName \"Allow Web 80\" -RemoteAddress 172.28.23.198<br \/>\nSet-NetFirewallRule -DisplayName \"Allow Web 80\" -RemoteAddress 192.168.0.2<br \/>\nSet-NetFirewallRule -DisplayName \"Allow Web 80\" -RemoteAddress 192.168.1.32<br \/>\nTest-NetConnection -ComputerName google.com -Port 80<br \/>\nTest-NetConnection -ComputerName www.example.com -Port 80 -InformationLevel Detailed<br \/>\nTest-NetConnection -ComputerName`<br \/>\nTest-NetConnection 127.0.0.1 22<br \/>\nTest-NetConnection 191.168 1.28<br \/>\nTest-NetConnection 192.168,1.28<br \/>\nTest-NetConnection 192.168.1.28<br \/>\nTest-NetConnection 192.168.1.28 22<br \/>\nTest-NetConnection 192.168.1.28:22<br \/>\nUninstall-Package -name sysinternals<br \/>\nUpdate-Help<br \/>\nWrite-Output \"This will be redirected\"<br \/>\nc:\\windows\\SYSTEM32\\cleanmgr.exe \/d C:<br \/>\ncat 'C:\\ProgramData\\Package Cache\\'<br \/>\ncat .\\.wslconfig<br \/>\ncat .\\ConsoleHost_history.txt<br \/>\ncat .\\ConsoleHost_history.txt &gt; 'C:\\Users\\stevee\\Desktop\\PShell Commands.txt'<br \/>\ncat .\\GPReport.html<br \/>\ncat .\\GetAlias.txt<br \/>\ncat .\\GetAlias.txt -10<br \/>\ncat .\\GetAlias.txt -head 10<br \/>\ncat .\\GetAlias.txt head 10<br \/>\ncat .\\GetChildItem.txt<br \/>\ncat .\\file.txt<br \/>\ncat C:\\ProgramData\\ssh\\sshd_config<br \/>\ncd<br \/>\ncd<br \/>\ncd %userprofile%\\AppData\\Roaming\\Microsoft\\Windows\\PowerShell\\PSReadline\\<br \/>\ncd '..\\Google Course\\'<br \/>\ncd '.\\Desktop\\Google Course\\'<br \/>\ncd 'C:\\Program Files (x86)\\'<br \/>\ncd 'C:\\Users\\stevee\\Desktop\\Google Course\\'<br \/>\ncd 'C:\\Users\\stevee\\Desktop\\Google Course\\DU\\'<br \/>\ncd ..<br \/>\ncd ..GoogleCourse<br \/>\ncd ..\\GoogleCourse<br \/>\ncd .\\DU\\<br \/>\ncd .\\Desktop\\Crossway\\<br \/>\ncd .\\MyData\\<br \/>\ncd .\\MyData\\Me<br \/>\ncd .\\TEFL\\Me\\<br \/>\ncd C:<br \/>\ncd C:\\<br \/>\ncd C:\\MyData\\Win10Apps\\ookla-speedtest-1.2.0-win64\\<br \/>\ncd C:\\Program Files<br \/>\ncd C:\\Program Files (x86)\\Nmap\\zenmap\\<br \/>\ncd C:\\Program Files (x86)\\Nmap\\zenmap\\bin<br \/>\ncd C:\\Users\\stevee\\AppData\\Roaming\\Microsoft\\Windows\\\"Start Menu\"\\Programs\\Nmap<br \/>\ncd C:\\Users\\stevee\\AppData\\Roaming\\Microsoft\\Windows\\PowerShell\\PSReadline\\<br \/>\ncd C:\\Users\\stevee\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Nmap<br \/>\ncd C:\\Users\\stevee\\Desktop\\Crossway\\<br \/>\ncd C:\\Users\\stevee\\Downloads<br \/>\ncd Me<br \/>\ncd MyData\\Me<br \/>\ncd Nmap\\zenmap\\bin<br \/>\ncd \\MyData\\Me<br \/>\ncd \\Nmap\\zenmap\\bin<br \/>\ncd c:<br \/>\ncd g:<br \/>\ncd ~<br \/>\ncd ~\\GoogleCourse<br \/>\ncd..<br \/>\nchkdisk \/F c:<br \/>\nchkdsk \/f<br \/>\nchoco source add -n \"SourceName\" -s Source \u00e2\u00ac??ttps:\/\/community.chocolatey.org\/api\/v2\/\u00e2\u00ac?<br \/>\nchoco upgrade chocolatey<br \/>\ncmd \/?<br \/>\ncmd \/?<br \/>\ncmd \/? | cat<br \/>\ncmd \/? | cat<br \/>\ncmd \/? | cat &gt; CmdHelp.txt<br \/>\ncmd \/? | more<br \/>\ndel '.\\My XD\\'<br \/>\ndel .\\WinCommands.txt<br \/>\ndel .\\newdir\\<br \/>\ndetail disk<br \/>\ndir | findstr -N<br \/>\ndir | findstr -N *<br \/>\ndir | findstr -N *.*<br \/>\ndir | findstr -N \"steve\"<br \/>\ndir | findstr -i \"Energy\"<br \/>\ndir | findstr -i \"Energy\" \"wlan\"<br \/>\ndir | findstr -i \"steve\"<br \/>\ndir | findstr -i \"steve\" | find \"BT\"<br \/>\ndir | findstr -i \"steve\" | find -c \"BT\"<br \/>\ndir | findstr -i \"wlan\"<br \/>\ndir | findstr -i \"wlan\", \"energy\"<br \/>\ndiskpart<br \/>\nexit<br \/>\nexplorer.exe<br \/>\nfindstr \"A\" .\\AcLayers.dll<br \/>\nfindstr \"Stephen\"<br \/>\nfindstr \"Stephen\" *.docx<br \/>\nfindstr \"Steve\" '.\\Steve Edwards Tech + Teaching.docx'<br \/>\nfindstr \"Steve\" *.docx<br \/>\nfindstr \"wlan\" .\\AcLayers.dll<br \/>\nfindstr wlan *.dll<br \/>\nfindstr wlan wlan.dll<br \/>\nfsutil.exe repair query c:<br \/>\ngc .\\GetAlias.txt<br \/>\ngoogle.com -Port 80<br \/>\ngpresult<br \/>\ngpupdate<br \/>\ngtz<br \/>\nhelp \"redirection\"<br \/>\nhelp about_Redirection<br \/>\nhelp icacl<br \/>\nhelp icacl \/?<br \/>\nhelp.exe \"cat \/?\"<br \/>\nhelp.exe \"cat\"<br \/>\nhelp.exe \/?<br \/>\nhelp.exe cat<br \/>\nhelp.exe file<br \/>\nhelp.exe help<br \/>\nhelp.exe less<br \/>\nhelp.exe more<br \/>\nhelp.exe read<br \/>\nhistory<br \/>\nhistory &gt; WinCommands.txt<br \/>\nicacl \/?<br \/>\nicacl help<br \/>\nicacls 'C:\\Users\\stevee\\Desktop\\+507\u00c2\u00a065779120\u00e2\u00ac\u20ac.txt'<br \/>\nicacls \/?<br \/>\nicacls C:\\User\\stevee\\Desktop<br \/>\nicacls C:\\Users\\stevee\\Desktop\\<br \/>\nipconfig<br \/>\nipconfig.exe<br \/>\nld C:\\<br \/>\nless .\\GetAlias.txt<br \/>\nlinux<br \/>\nls<br \/>\nls --force<br \/>\nls --force C:<br \/>\nls --force C:\\<br \/>\nls --force C:\\MyData\\<br \/>\nls --forcw C:\\<br \/>\nls -a ~<br \/>\nls -a ~<br \/>\nls -force C:\\<br \/>\nls C:\\<br \/>\nls X:<br \/>\nls X:\\stevee\\<br \/>\nls Xx:<br \/>\nls Z:<br \/>\nls ~<br \/>\nls ~ -a<br \/>\nls ~ -l<br \/>\nman<br \/>\nman \/?<br \/>\nman \/? &gt; GetHelp.txt<br \/>\nmkdir \"my folder\"<br \/>\nmkdir \"my folder2\"<br \/>\nmkdir My` XD<br \/>\nmkdir My\u00c2\u00b4 Test<br \/>\nmore .\\GPReport.html<br \/>\nmore .\\GetAlias.txt<br \/>\nmore .\\GetAlias.txt -10<br \/>\nmore .\\GetAlias.txt -head 10<br \/>\nnet .\\config\\<br \/>\nnet share<br \/>\nnet share MeShare=C:\\MyData\\Me<br \/>\nnet share MeShare=C:\\MyData\\TEFL\\Me<br \/>\nnet use &lt;Z&gt;: \\\\&lt;BabyHP&gt;\\&lt;varwww&gt; \/user:&lt;stevee&gt; &lt;pooppoop&gt;`<br \/>\nnet use C:\\BabyHPHomes \\\\BabyHP\\homes \/user:stevee pooppoop<br \/>\nnet use X: \/delete<br \/>\nnet use X: \\\\BabyHP\\homes \/user:stevee pooppoop<br \/>\nnet use X: \\\\BabyHP\\varwww pooppoop \/persistent:yes<br \/>\nnet use Z:<br \/>\nnet use Z: \/delete<br \/>\nnet use Z: \\\\BabyHP\\homes stevee pooppoop<br \/>\nnet use Z: \\\\BabyHP\\homes\\ pooppoop<br \/>\nnet use Z: \\\\BabyHP\\homes\\ pooppoop \/persistent:yes<br \/>\nnet use Z: \\\\BabyHP\\homes\\ pooppoop \/persistent=yes<br \/>\nnet use Z: \\\\BabyHP\\homes\\ stevee pooppoop<br \/>\nnet use Z: \\\\BabyHP\\varwww \/user:stevee pooppoop<br \/>\nnet use Z: \\\\abyHP\\varwww \/user:stevee pooppoop<br \/>\nnet user<br \/>\nnet user<br \/>\nnet user andrea * \/add<br \/>\nnet user andrea \/add<br \/>\nnet user andrea \/del<br \/>\nnet user andrea* \/add<br \/>\nnet user tom \/add<br \/>\nnetsh advfirewall firewall show rule name=all | findstr \"Allow Web 80\"<br \/>\nnetsh advfirewall firewall show rule name=all | findstr \"localport=80\"<br \/>\nnetsh bridge show adapter<br \/>\nnetsh interface portproxy add v4tov4 listenport=443 listenaddress=0.0.0.0 connectport=80 connectaddress=192.168.1.28<br \/>\nnetsh interface portproxy add v4tov4 listenport=80 listenaddress=0.0.0.0 connectport=80 connectaddress=172.28.16.1<br \/>\nnetsh interface portproxy add v4tov4 listenport=80 listenaddress=0.0.0.0 connectport=80 connectaddress=172.28.23.198<br \/>\nnetsh interface portproxy add v4tov4 listenport=80 listenaddress=0.0.0.0 connectport=80 connectaddress=192.168.1.28<br \/>\nnetsh interface portproxy add v4tov4 listenport=&lt;80&gt; listenaddress=0.0.0.0 connectport=&lt;80&gt; connectaddress=(192.168.1.28)<br \/>\nnetsh interface portproxy add v4tov4 listenport=&lt;80&gt; listenaddress=0.0.0.0 connectport=&lt;80&gt; connectaddress=(wsl hostname -I)<br \/>\nnetsh interface portproxy add v4tov4 listenport=&lt;80&gt; listenaddress=0.0.0.0 connectport=&lt;80&gt; connectaddress=(wsl hplaptop -I)<br \/>\nnetsh interface portproxy show all<br \/>\nnmap<br \/>\nnmap.exe 192.168.1.28<br \/>\nnmap.exe hplaptop<br \/>\nnmap.exe hplaptop -p 3306<br \/>\nnmap.exe hplaptop -p 80<br \/>\nnuget install chocolatey<br \/>\npathping<br \/>\npathping bbc.com<br \/>\npathping www.databasejoe.com<br \/>\nping 10.10.10.1<br \/>\nping 192.168.1.28<br \/>\nping ::1<br \/>\nping bbc.co.uk<br \/>\npowershell.exe<br \/>\npscp.exe<br \/>\npscp.exe -h<br \/>\npscp.exe -v .\\@VpnToastIcon.png stevee@localhost:<br \/>\npscp.exe stevee@localhost<br \/>\nsfc<br \/>\nsfc \/scannow<br \/>\nsfc \/scannow`<br \/>\nssh stevee@172.28.16.1<br \/>\nssh stevee@192.168.1.28<br \/>\nssh stevee@hplaptop<br \/>\nssh stevee@localhost<br \/>\nssh.exe<br \/>\nssh.exe 127.0.0.1<br \/>\nstart notepad .\\GPReport.html<br \/>\ntaskkill \/f \/fi \"USERNAME eq NT AUTHORITY\\SYSTEM\" \/im notepad.exe<br \/>\ntaskkill \/f \/fi \"USERNAME eq NT AUTHORITY\\stevee\" \/im notepad.exe<br \/>\ntaskkill \/f \/fi \"stevee eq NT AUTHORITY\\SYSTEM\" \/im notepad.exe<br \/>\ntaskkill \/f \/im explorer.exe<br \/>\ntaskkill \/f \/im explorer.exe &amp; explorer.exe<br \/>\ntaskkill \/pid 13660<br \/>\ntasklist<br \/>\ntasklist \/FI<br \/>\ntasklist \/FI stevee<br \/>\ntasklist \/FI workgroup\\stevee<br \/>\ntasklist \/fi \"USERNAME ne NT AUTHORITY\\SYSTEM\" \/fi \"STATUS eq running\"<br \/>\ntasklist \/v<br \/>\ntasklist \/v \/fi \"STATUS eq running\"<br \/>\ntasklist | Measure-Object -(Line).count<br \/>\ntasklist | Measure-Object -Line<br \/>\ntasklist | Measure-Object -Line).count<br \/>\ntasklist | Measure-Object -Line.count<br \/>\ntasklist | findstr \/B \/I note<br \/>\ntree<br \/>\ntype .\\GetAlias.txt<br \/>\ntype .\\GetChildItem.txt<br \/>\nw32tm \/resync<br \/>\nwhoami<br \/>\nwsl<br \/>\nwsl --install -d Ubuntu<br \/>\nwsl --list --verbose<br \/>\nwsl --set-default-version 2<br \/>\nwsl -l -v<br \/>\nwsl.exe --install Ubuntu<br \/>\nwsl.exe hostname -I<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_10245\" class=\"pvc_stats all  \" data-element-id=\"10245\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>'Handles'` 'Id'` 'ProcessName'` 'StartTime'` @{ Name = 'CPU(s)'; Expression = { if ($_.CPU) { $_.CPU.ToString('N') } } }` @{ Name = 'NPM(K)'; Expression = { [int] ($_.NPM \/ 1KB) } }` @{ Name = 'PM(K)'; Expression = { [int] ($_.PM \/ 1KB) } }` @{ Name = 'SI'; Expression = 'SessionId' }` @{ Name = <a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/windows-powershell-commands\/\" class=\"more-link\">...<span class=\"screen-reader-text\">\u00a0 Windows Powershell Commands<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-10245","page","type-page","status-publish","hentry"],"a3_pvc":{"activated":true,"total_views":3,"today_views":0},"_links":{"self":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/pages\/10245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/comments?post=10245"}],"version-history":[{"count":2,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/pages\/10245\/revisions"}],"predecessor-version":[{"id":10253,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/pages\/10245\/revisions\/10253"}],"wp:attachment":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/media?parent=10245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}