K
kanishknishar
Guest
I am trying to run a script that opens a powershell instance for every sub-directory and runs the command whisperPathHere's the code:Get-ChildItem -Directory -Recurse | ForEach-Object { Start-Process -FilePath "pwsh.exe" -ArgumentList "-NoExit -Command Set-Location -LiteralPath '$($_.FullName)'; whisperPath" }When I run the code on my desktop, each instance of Powershell opens in Windows Terminal successfully but that is not the case on my laptop which opens each Powershell window in Windows Console Host despite WT being the default terminal manager on my laptop:About PCevice name Lance
Continue reading...
Continue reading...