Click or drag to resize
Galactic API

PowerShellScript Methods

The PowerShellScript type exposes the following members.

Methods
  NameDescription
Public methodDispose
Disposes of system resources opened by the script.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeRunspacePool
Creates a new pool of Runspaces for this script to utilize.
Public methodLogException
Logs an exception to the event log.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRunAsynchronously
Runs a PowerShell script/command asynchronously.
Public methodRunSynchronously
Runs a PowerShell command/script synchronously.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVerifyResultProperty
Verifies that one of the results returned contains a property that matches the supplied value.
Top
See Also