{"id":16481374,"url":"https://github.com/dfinke/powershell-azure-function-return-excel-file","last_synced_at":"2025-08-21T09:08:12.161Z","repository":{"id":66743335,"uuid":"211518620","full_name":"dfinke/powershell-azure-function-return-excel-file","owner":"dfinke","description":"PowerShell Azure Function for creating and returning a generated Excel file on the server side","archived":false,"fork":false,"pushed_at":"2019-11-11T02:02:12.000Z","size":205,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-19T14:25:09.005Z","etag":null,"topics":["azure","azure-functions","excel","powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dfinke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-28T15:09:50.000Z","updated_at":"2025-04-13T22:37:13.000Z","dependencies_parsed_at":"2023-07-08T16:46:10.110Z","dependency_job_id":null,"html_url":"https://github.com/dfinke/powershell-azure-function-return-excel-file","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dfinke/powershell-azure-function-return-excel-file","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinke%2Fpowershell-azure-function-return-excel-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinke%2Fpowershell-azure-function-return-excel-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinke%2Fpowershell-azure-function-return-excel-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinke%2Fpowershell-azure-function-return-excel-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfinke","download_url":"https://codeload.github.com/dfinke/powershell-azure-function-return-excel-file/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinke%2Fpowershell-azure-function-return-excel-file/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271455228,"owners_count":24762701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azure-functions","excel","powershell"],"created_at":"2024-10-11T13:07:14.775Z","updated_at":"2025-08-21T09:08:12.139Z","avatar_url":"https://github.com/dfinke.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Powershell Azure Function Return Excel File\n\n\u003c!-- [![Deploy to Azure](https://azuredeploy.net/deploybutton.svg)](https://azuredeploy.net/?repository=https://github.com/dfinke/powershell-azure-function-helloworld/tree/master) --\u003e\n[![Deploy to Azure](https://azuredeploy.net/deploybutton.svg)](https://azuredeploy.net/?repository=https://github.com/dfinke/powershell-azure-function-return-excel-file/tree/master)\n\n# Download the Excel File\n\nClick here to try the [live example](https://powershell-azure-function-return-excel-file546f.azurewebsites.net/api/powershell-azure-function-return-excel-file), may take a bit, due to a cold start.\n\n## Expected Excel Results\n\n![image](./media/ResultingExcel.png)\n\n# After You Deploy to Azure\n\nOnce you deploy to Azure, you want to grab the `Url` for the PowerShell Azure Function you created, it looks like this `https://powershell-azure-function-return-excel-file546f.azurewebsites.net/api/powershell-azure-function-return-excel-file`. Follow these few steps to grab it.\n\nClick on the links/buttons pointed to by the red arrows to get the `Function Url`.\n\n#### Step 01\n![image](./media/Step01.png)\n\n#### Step 02\n![image](./media/Step02.png)\n\n#### Step 03\n![image](./media/Step03.png)\n\n#### Step 04\n![image](./media/Step04.png)\n\n#### Step 05\n![image](./media/Step05.png)\n\nNow that you have the `Url`, you can paste it into a browser to download the workbook.\n\n[Click here to get the one I generated](https://powershell-azure-function-return-excel-file546f.azurewebsites.net/api/powershell-azure-function-return-excel-file), may take a bit, due to a cold start.\n\nOr use the PowerShell `Invoke-RestMethod` to download the generated Excel file.\n\n```powershell\n$uri = 'https://powershell-azure-function-return-excel-file546f.azurewebsites.net/api/powershell-azure-function-return-excel-file'\nInvoke-RestMethod -Uri $uri -OutFile .\\SalesReport.xlsx\n.\\SalesReport.xlsx\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfinke%2Fpowershell-azure-function-return-excel-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfinke%2Fpowershell-azure-function-return-excel-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfinke%2Fpowershell-azure-function-return-excel-file/lists"}