PSCommand Constructor

Definition

Creates an empty PSCommand; a command or script must be added to this PSCommand before it can be executed.

C++
public:
 PSCommand();

Applies to

Proizvod Verzije
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0