Last active
April 2, 2017 22:47
-
-
Save Hugoberry/910b33cb36f390d76b6d0018c1cc24de to your computer and use it in GitHub Desktop.
Power Query CurrentUser via a lightweight PowerShell HTTP API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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