Web Interaction
Requests
# Sending a GET request
Invoke-WebRequest -Method GET -Uri <uri>
# Inspect the object's output methods and properties
Invoke-WebRequest -Method GET -Uri <uri> | Get-Member
# Filtering the GET request -> listing the page's images
IWR -Method Get -Uri <uri> | fl Images
# Filtering raw content
IWR -Method Get -Uri <uri> | fl RawContentDownloads
# Downloading a file
IWR -Uri <uri> -OutFile <C:\file-name>Last updated