Clear-History | PowerShell Command

Published: 10 March 2021
on channel: Scripting with Ease
2,744
7

PowerShell Command : Clear-History

Clear-History deletes the command history from a PowerShell session. Each PowerShell session has its own command history. To display the command history, use the Get-History cmdlet.

By default, Clear-History deletes the entire command history from a PowerShell session. You can use parameters with Clear-History to delete selected commands.

PowerShell is a cross-platform task automation and configuration management framework, consisting of a command-line shell and scripting language. Unlike most shells, which accept and return text, PowerShell is built on top of the .NET Common Language Runtime (CLR), and accepts and returns .NET objects. This fundamental change brings entirely new tools and methods for automation.

Blog
https://scriptingwithease.web.app/blo...

Android App
https://play.google.com/store/apps/de...

LinkedIn
  / sagar-hande-47416a86  

External Source:
https://docs.microsoft.com/en-us/powe...

#powershellCommand #pscmd


Watch video Clear-History | PowerShell Command online without registration, duration hours minute second in high quality. This video was added by user Scripting with Ease 10 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,744 once and liked it 7 people.