Have you ever noticed that if you include a variable within a PowerShell Write-Host statement, that variable is evaluated, even if you include the reference to the variable within the quotation marks?
Business.com on MSN
Understanding functions in PowerShell
Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.
当前正在显示可能无法访问的结果。
隐藏无法访问的结果