23 lines
699 B
PowerShell
23 lines
699 B
PowerShell
# Reset VSCode Terminal Script
|
|
# This script clears the terminal and resets common issues
|
|
|
|
Write-Host "Resetting VSCode Terminal Environment..." -ForegroundColor Green
|
|
|
|
# Clear the host
|
|
Clear-Host
|
|
|
|
# Reset PowerShell console
|
|
Write-Host "Clearing console..." -ForegroundColor Yellow
|
|
Write-Host ""
|
|
|
|
# Show current directory
|
|
Write-Host "Current Directory: $(Get-Location)" -ForegroundColor Cyan
|
|
|
|
# List current files to verify everything is accessible
|
|
Write-Host "Current Files:" -ForegroundColor Yellow
|
|
Get-ChildItem -Force | Format-Table -AutoSize
|
|
|
|
Write-Host ""
|
|
Write-Host "Terminal reset complete!" -ForegroundColor Green
|
|
Write-Host "You can now try running commands again." -ForegroundColor Green
|