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


On this page of the site you can watch the video online Clear-Content | PowerShell Command with a duration of hours minute second in good quality, which was uploaded by the user Scripting with Ease 08 March 2021, share the link with friends and acquaintances, this video has already been watched 523 times on youtube and it was liked by 3 viewers. Enjoy your viewing!