我使用Invoke-RestMethod在一个powershell脚本中运行多个rest API调用,第二个rest api调用返回200,但它无法完成所需的操作。powershell调用rest方法函数中是否存在异步和等待 当前代码 try { Invoke-RestMethod -Urinot do the work and if I run this API in a separate script
#It runs fine in a separat
Invoke-RestMethod : The underlying connection was closed: An unexpected error At \Desktop\T.ps1:27 char:7+~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRe
我想从Azure devops Security blade获取组列表。我准备了一个代码。我是Azure Devops中的贡献者组的成员,我正在使用cmd-let Invoke-RestMethod。我仍然面临一个问题-->下面的错误消息: Invoke-RestMethod : The remote server returned an error:(401) Unauthorized。AreaId)
# Do a GET on this URL (this returns an object with a "l