Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Power Query CurrentUser via a lightweight PowerShell HTTP API
// Based on running the simple HTTP API service from:
// https://blogs.msdn.microsoft.com/powershell/2014/09/29/simple-http-api-for-executing-powershell-scripts/
let
output = Json.Document(Web.Contents("http://localhost:8888/?command=whoami"))
in
output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.