# Construct the full path to the Python script $ymlPath = "./_condaenv.yml" # Execute the Python script & conda env create -f $ymlPath # Pause at the end of the script Read-Host -Prompt "Press any key to exit"