-
0 votesanswersviews
Invoke-Command失败:WinRM无法完成操作
使用2台机器,本地和远程(地址标记为 remoteAddress ),我正在尝试在本地计算机上运行: Invoke-Command -ComputerName remoteAddress -ScriptBlock { dir c:\ } 但我得到这个错误: [remoteAddress] Connecting to remote server remoteAddress failed with ... -
0 votesanswersviews
Powershell Invoke-WebRequest错误 - 与Azure Databricks交互
我在桌面PSVersion 5.1.14393.2155中使用PowerShell . 我正在尝试使用 Invoke-WebRequest . 使用的Azure VM不是防火墙等的一部分 . 所以我不应该在这里遇到任何问题或限制 . 我收到以下错误: Invoke-WebRequest -Method Post -Uri 'https://IpAddress/resource' Invoke-W... -
2 votesanswersviews
powershell:用参数启动程序的脚本?
当我在下面运行Powershell脚本时,我收到以下错误 . 如何通过参数PowerShell运行程序?该脚本将是一个组策略登录 . Invoke-Expression:找不到接受参数'\ TBHSERVER \ NETLOGON \ BGInfo \ BGIFILE.bgi / timer:0 / s ilent / nolicprompt'的位置参数 . 在X:\ Systems \ scr... -
1 votesanswersviews
Invoke-Command powershell麻烦
Friend's i've got a trouble with this function, it will run on the remote server, but i've got the following output : Invoke-Command:找不到接受参数'& C:\testNunit\dll'的位置参数 . 在D:\ test \ Multithread.ps1:...