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 代码本身中找到区域名称?