Clear-Item | PowerShell Command

Published: 15 March 2021
on channel: Scripting with Ease
243
2

PowerShell Command : Clear-Item

The Clear-Item cmdlet clears the content of an item, but it does not delete the item. For example, the Clear-Item cmdlet can delete the value of a variable, but it does not delete the variable. The value that used to represent a cleared item is defined by each PowerShell provider. This cmdlet is similar to Clear-Content, but it works on aliases and variables, instead of files.

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