User> @{Path=/; UserName=foo; UserId=bar; Arn=baz; CreateDate=now}$foo = LoginAndGetUser> # "hangs".I can type in my credentials and hit enter, but I dont get the "AWS
在执行某些Powershell自动化时,我在自动捕获由.cmd文件写入标准输出的数据时遇到了问题。val # prints "foobar", rather than just "bar"基本上,即使我真正想从a返回的是我指定的字符串,external.cmd发送到标准输出的数据也会添加到a的返回值中我如何防止这种情况发生?