标签: powershell concatenation
这里很简单,但我自己找不到一个太棒了:
代码:
$days=730 Write-Host "Starting Inactivityscan for Accounts with treshhold ["$days"] Days."
系统输出:
Starting Inactivityscan for Accounts with treshhold [ 730] Days.
为什么$days变量前面有一个前导空格? 如何在没有前导空格的情况下打印字符串?
$days