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.