Прочитать на английском

Поделиться через


InitialSessionState.Clone Method

Definition

Clone this InitialSessionState object. The collections are recursively cloned as well as the elements in the collections. Note however, that the contents of the individual entries are not deep-cloned. This is only an issue for variable entries which may have reference types. These objects will be added by reference rather than by value.

public:
 System::Management::Automation::Runspaces::InitialSessionState ^ Clone();

Returns

The cloned object.

Applies to

Продукт Версии
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0