在powershell里我怎么能..。
例如,在python中,我们在Popen中具有将完整环境的字典传递给子进程的等效能力,我希望Powershell中可能有类似的内容。
发布于 2022-05-13 14:46:34
我认为这个链接解释了您需要什么:Windows user environment variable vs. system environment variable
[Environment]::GetEnvironmentVariable("TEMP", "Machine")https://stackoverflow.com/questions/72225112
复制相似问题