imported>Bbon (최초작성) |
imported>Bbon 잔글 |
||
21번째 줄: | 21번째 줄: | ||
<source lang="powershell">PS C:\> curl http://localhost/images/sample.png -outfile d:\sample.png</source> | <source lang="powershell">PS C:\> curl http://localhost/images/sample.png -outfile d:\sample.png</source> | ||
− | http://localhost/images/sample.png 파일을 로컬 디렉터리에 파일(d:\sample.png)로 저장한다. | + | <nowiki>http://localhost/images/sample.png</nowiki> 파일을 로컬 디렉터리에 파일(d:\sample.png)로 저장한다. |
[[분류:PowerShell]] | [[분류:PowerShell]] |
2015년 5월 6일 (수) 05:01 판
Syntax
Invoke-WebRequest [-Uri] <uri> [-UseBasicParsing] [-WebSession <WebRequestSession>] [-SessionVariable <string>] [-Credential <pscredential>] [-UseDefaultCredentials] [-CertificateThumbprint <string>] [-Certificate <X509Certificate>] [-UserAgent <string>] [-DisableKeepAlive] [-TimeoutSec <int>] [-Headers <IDictionary>] [-MaximumRedirection <int>] [-Method <WebRequestMethod> {Default | Get | Head | Post | Put | Delete | Trace | Options | Merge | Patch}] [-Proxy <uri>] [-ProxyCredential <pscredential>] [-ProxyUseDefaultCredentials] [-Body <Object>] [-ContentType <string>] [-TransferEncoding <string> {chunked | compress | deflate | gzip | identity}] [-InFile <string>] [-OutFile <string>] [-PassThru] [<CommonParameters>]
Aliases
- iwr
- wget
- curl
Remark
Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
- To download and install Help files for the module that includes this cmdlet, use Update-Help.
- To view the Help topic for this cmdlet online, type: "Get-Help Invoke-WebRequest -Online" or go to http://go.microsoft.com/fwlink/?LinkID=217035.
Example
PS C:\> curl http://localhost/images/sample.png -outfile d:\sample.png
http://localhost/images/sample.png 파일을 로컬 디렉터리에 파일(d:\sample.png)로 저장한다.