【发布时间】:2010-10-05 05:54:49
【问题描述】:
在 C# 中,我可能会这样做:
System.Net.WebClient w = new System.Net.WebClient();
w.Credentials = new System.Net.NetworkCredential(username, auth, domain);
string webpage = w.DownloadString(url);
是否有此版本的 Powershell 版本,或者我应该直接拨打 CLR 吗?
【问题讨论】:
-
在我的企业中,有些人喜欢用 IE 中的“有用”偏好来惹恼其他人。不使用IE是否可以发出http请求?
标签: powershell