2020-03-24 19:08:37 +01:00
|
|
|
# Copyright (c) Microsoft Corporation.
|
2018-02-13 18:23:53 +01:00
|
|
|
# Licensed under the MIT License.
|
|
|
|
|
2016-08-03 23:49:35 +02:00
|
|
|
#
|
2016-08-04 22:13:21 +02:00
|
|
|
# Wrap Python script in such a way to make it easy to
|
|
|
|
# consume from PowerShell
|
2016-08-03 23:49:35 +02:00
|
|
|
#
|
|
|
|
# The variable $PSScriptRoot points to the directory
|
|
|
|
# from which the script was executed. This allows
|
2016-08-04 22:13:21 +02:00
|
|
|
# picking up the Python script from the same directory
|
2016-08-03 23:49:35 +02:00
|
|
|
#
|
|
|
|
|
2020-05-07 14:00:30 +02:00
|
|
|
& $PSScriptRoot/class1.py | ConvertFrom-Json
|
2016-08-03 23:49:35 +02:00
|
|
|
|