![Powershell Core 6.2 Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/704/36698704/b_36698704.jpg)
上QQ阅读APP看书,第一时间看更新
How it works...
variable cmdlets allow a bit more control over how variables are created than the simple assignment, $variable = "Value", you saw in the previous recipe. By specifying options, you can control where the variable will be visible and whether it's read-only or constant.
Constant variables can only be declared when creating them with New-Variable, and can only be changed or removed by creating a new PowerShell session.