![]() | PowerShellScript Methods |
The PowerShellScript type exposes the following members.
Name | Description | |
---|---|---|
![]() | Dispose |
Disposes of system resources opened by the script.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InitializeRunspacePool |
Creates a new pool of Runspaces for this script to utilize.
|
![]() | LogException |
Logs an exception to the event log.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RunAsynchronously |
Runs a PowerShell script/command asynchronously.
|
![]() | RunSynchronously |
Runs a PowerShell command/script synchronously.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | VerifyResultProperty |
Verifies that one of the results returned contains a property that matches the supplied value.
|