下記2つのコマンドにおいて、net.webclient
は system.net.webclient
の省略形でありいずれも同じと考えてよいでしょうか。
powershell -c (new-object system.net.webclient).downloadfile('http://<IP>:<Port>/<File Name>','C:\<Path>\to\<File Name>')
powershell -c (new-object net.webclient).downloadfile('http://<IP>:<Port>/<File Name>','C:\<Path>\to\<File Name>')