Skip to main content
100%

Getting $Embedded$ connection details in Power Query via R

✓ Published0🌍 Public
HHugoberry
Last edited Mar 12, 2017
Created on Mar 12, 2017

This example shows how to extract connection details for the Power Query engine by querying system processes and network ports. It retrieves the process ID of `msmdsrv.exe` from a filtered `tasklist` command and then cross-references it with TCP port information obtained via `netstat`. The R script parses the command-line output into fixed-width tables using base R functions (`read.fwf`, `textConnection`, `system2`). No external visualization libraries are used; the focus is on data wrangling through R's base I/O and text-processing capabilities, making the connection details available for later analysis.

AI-generated description

Similar vizzes