Files
PowerShell/demos/python/class1.ps1
T

11 lines
291 B
PowerShell
Raw Normal View History

2016-08-03 14:49:35 -07:00
#
# Wrap python script in such a way to make it easy to
# consume from powershell
#
# The variable $PSScriptRoot points to the directory
# from which the script was executed. This allows
# picking up the python script from the same directory
#
& $PSScriptRoot/class1.py | ConvertFrom-JSON