Skip to content

Commit a3b366e

Browse files
committed
🎉 Added Clear-Console function
1 parent f434352 commit a3b366e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pwsh/functions.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,13 @@ function Reset-Console-Colors {
112112
[Console]::ResetColor()
113113
}
114114

115+
function Reset-Console {
116+
# Reset console colors
117+
Reset-Console-Colors
118+
# Clear the console
119+
Clear-Host
120+
}
121+
115122
# ------------------------ #
116123
# System Utility Functions | ---------------------------------------------------------------------------- #
117124
# ------------------------ #

0 commit comments

Comments
 (0)