February 2019
Intermediate to advanced
626 pages
15h 51m
English
PowerShell instances are created using the Create static method of the System.Management.Automation.PowerShell type. A type accelerator exists for this type and the name can be shortened:
$psInstance = [PowerShell]::Create()
The object created by the Create method has a fluent interface. Methods can be chained one after another without assigning a value. The following example adds a single command and a parameter, and then ...
Read now
Unlock full access