Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于那些有 PowerShell 经验的人,这是否被认为是一个有效的变量名?
代码:
$[?@+-stuff] is a valid variable name in PowerShell.
${[?@+-stuff]} = "foo"
如果你努力研究它,你就会自己弄清楚。检查@mjolinor 建议的帮助文档。特别是称为:
包含特殊字符的变量名称
我们都是来互相帮助的,所以请尊重我们,表现得像个大人。