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.
一些您可能无法访问的结果已被隐去。
显示无法访问的结果