Online Help > Entries > Macros/Scripts/Tools

Macros/Scripts/Tools PowerShell (Local)

Description

 

This entry is used to integrate a PowerShell (Local) session/script/tool.

 

We suggest to use either relative paths or in general paths without spaces or use the PowerShell Session to execute a script with parameters. Here some examples:

 

Macro that can use Session Variables:

.\Data\ConnectAfterReboot.ps1 -strHost $HOST$ -OpenRDMSession

 

Session that can specify a filename and arguments:

.\data\New-RDM-Data.ps1

-AddNewOnly

 

Settings

 

General

PowerShell (Local) - General Tab

PowerShell (Local) - General Tab

 

OPTION

DESCRIPTION

Command

Enter the PowerShell command.

Assign file icon to session

Assign the file icon in the address bar of the session.

Arguments

Enter your command line argument. For more information please see Command Line Arguments.

Working directory

Working directory to set for the script execution.

PowerShell version

Select your PowerShell version between:

Default

Version 2

Wait for application to exit (Remote Desktop Manager will be unavailable)

Executes the script while the application waits for completion. Is it a synchronous operation therefore it will be unresponsive while the script runs.

Open embedded/tabbed

Open the PowerShell macro embedded.

Run as administrator

Run PowerShell macro as a administrator.

Resize window

Force window resize (buffer & window).

Run in 64-bits mode

Run CmdLet in 64 bits version.

Run as different user

Run the PowerShell macro as a different user.

Load RDM CmdLet

Load CmdLet Snap-in in the PowerShell session.

No exit

Leaves the PowerShell window open after the script has completed.

Debug

Show debug

 

Advanced

PowerShell (Local) - Advanced Tab

PowerShell (Local) - Advanced Tab

 

OPTION

DESCRIPTION

No exit

Leaves the PowerShell window open after the script has completed.

Use SSL

Use the SSL setting.

Resize window

Force window resize (buffer & window).

Run as Administrator

Run PowerShell macro as a administrator.

Open embedded/tabbed

Open the PowerShell macro embedded.

Debug

Show debug

Load RDM CmdLet

Load CmdLet Snap-in in the PowerShell session.

Run in 64-bit mode

Run CmdLet in 64 bits version.

Run as different user

Run the PowerShell macro as a different user.

Use session credentials

Use the current session credentials.

Wait for application to exit (Remote Desktop Manager will be unavailable)

Executes the script while the application waits for completion. Is it a synchronous operation therefore it will be unresponsive while the script runs.