Clear-Content | PowerShell Command

Published: 08 March 2021
on channel: Scripting with Ease
523
3

PowerShell Command : Clear-Content

The Clear-Content cmdlet deletes the contents of an item, such as deleting the text from a file, but it does not delete the item. As a result, the item exists, but it is empty. The Clear-Content is similar to Clear-Item, but it works on items with contents, instead of items with values.

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-Content | PowerShell Command online without registration, duration hours minute second in high quality. This video was added by user Scripting with Ease 08 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 523 once and liked it 3 people.