UJP - PowerShellでProxy設定情報を取得する

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

  • カテゴリ ハウツー の最新配信
  • RSS
  • RDF
  • ATOM

ブログ - PowerShellでProxy設定情報を取得する

PowerShellでProxy設定情報を取得する

カテゴリ : 
ハウツー
ブロガー : 
ujpblog 2021/4/20 23:15
 macOSにインストールしたPowerShell 7.1.3で実行したんだけれど.Windows 10用のPowerShell 5.1でも同じかな?

PS /Users/ujpadmin> $ProxyUri = $SystemProxy.GetProxy($URL)🆑
PS /Users/ujpadmin> $ProxyUri🆑

AbsolutePath   : /
AbsoluteUri    : http://192.168.20.34:8888/
LocalPath      : /
Authority      : 192.168.20.34:8888
HostNameType   : IPv4
IsDefaultPort  : False
IsFile         : False
IsLoopback     : False
PathAndQuery   : /
Segments       : {/}
IsUnc          : False
Host           : 192.168.20.34
Port           : 8888
Query          :
Fragment       :
Scheme         : http
OriginalString : http://192.168.20.34:8888/
DnsSafeHost    : 192.168.20.34
IdnHost        : 192.168.20.34
IsAbsoluteUri  : True
UserEscaped    : False
UserInfo       :


PS /Users/ujpadmin>

トラックバック


広告スペース
Google