SYNOPSIS

Creates a new Python virtual environment.

DESCRIPTION

The AskUI-NewPythonEnvironment cmdlet creates a new Python virtual environment with the specified name. Optionally, it can activate the environment after creation.

PARAMETERS

  • -Name | <String> - The name of the new virtual environment.
  • -Activate | <SwitchParameter> - If specified, activates the environment in the current shell after creation.

EXAMPLES

EXAMPLE 1

AskUI-NewPythonEnvironment -Name "myenv" -Activate
Creates and activates a new Python environment named "myenv".