AD | Application | AWS | Azure | Cloud | Database | Enterprise | Environmental | Event Log | File System | IoT | IT Service | Network/System | NIS2 | Infra | Performance | Protocol | SaaS | Security | Service Level | Storage | Linux | VMware | VoIP | Web | Wireless | SNMP

MonitorTools.com » Administration » Powershell » Powershell 3.0 » Clear-Variable

Clear-Variable - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Clear-Variable

Short description
Deletes the value of a variable.

Syntax


Description
The Clear-Variable cmdlet deletes the data stored in a variable, but it does not delete the variable. As a result, the 
value of the variable is NULL (empty). If the variable has a specified data or object type, Clear-Variable preserves th
e type of the object stored in the variable.





M