可能重複:
Get $webclient.downloadstring to write to text file in Powershell
Powershell http post with .cer for auth如何在PowerShell中使用HTTP GET?
我有SMS系統中提供我從HTTP GET請求發送短信的功能:
http://smsserver/SNSManager/msgSend.jsp?uid&to=smartsms:*+001XXXXXX&msg="text of the message"&encoding=windows-1255
我想要從PowerShell輸入文本的細節,只需瀏覽到此URL。我該怎麼做?
我已經提名爲重開,因爲這似乎是最簡單的問題*只是*詢問要做'GET';鏈接的'愚蠢'會詢問如何將結果寫入文件,然後做一個帖子。 – AakashM
'調用-的WebRequest -UseBasicParsing -URI HTTP:// example.com /' – kenorb
相關:[PowerShell的等效捲曲](https://superuser.com/q/344927/87805)。 – kenorb