Select Page

EPISODE 3

PowerShell & Python Ep. 3

by | Jul 10, 2019 | Podcast, PowerShell, Python | 0 comments

In Episode three of the series, we turn the tables and launch a PowerShell script from Python. ThePython script will pass parameters to the PowerShell script and then PowerShell will return the resulting acquisition to Python. In addition, in this example, the PowerShell script will acquire the recent USB activity from a remote computer demonstrating the real power of integrating Python with PowerShell.

In Episode two of the series, we utilize PowerShell CmdLets to identify potential files of interest, in this example a set of jpeg files. PowerShell then launches a Python script and passes the path of each identified target photo. Python then processes and extracts EXIF data from each image and provides a table of results back to the PowerShell script.

Related Episodes

PowerShell & Python Ep. 2

In Episode two of the series, we utilize PowerShell CmdLets to identify potential files of interest, in this example a set of jpeg files. PowerShell then launches a Python script and passes the path of each identified target photo. Python then processes and extracts EXIF data from each image and provides a table of results back to the PowerShell script.

PowerShell & Python Ep. 1

In Episode one of the series, we focus on launching a Python script from PowerShell using the PowerShell pipeline to pass a short message to Python. The Python script receives the message and parrots back the message to PowerShell completing the circle. Although, this is a simple demonstration it provides the fundamentals of integrating these two platforms. Consider this the “Hello World” example of PowerShell and Python.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *