#Powershell
Powershell how to fetch data using Api(s). Restapi, web service,export to Json, Export to excel
#Powershell
***************************************************************************************************
Code:-
Invoke-WebRequest -Method Get -Uri "{api url}" |Export-Clixml "FullPath with file name"
Invoke-RestMethod -Method Get -Uri "{apiurl}"|Select-Object -ExpandProperty articles |Out-File "{Full path with file name}"