This package includes process
and registry
classes
registry
:set-key
: This method sets a string value into the registry.set-key : @str:keyPath, @str:key, @str:value
keyPath
: The path of the Registrykey
: The key name set in the pathvalue
The value to be set in the registry
get-key
: This method gets a value from the registry.get-key : @str:keyPath, @str:key => @str
keyPath
: The path of the Registrykey
: The key name to get in the path
local-machine
: Returns the Local Machine Registry Pathlocal-machine => @str
current-user
: Returns the Current User Registry Pathcurrent-user => @str
users
: Returns the registry Path of all of the usersusers => @str
classes-root
: Returns the registry path of the classes rootclasses-root => @str
current-config
: Returns the registry path of the current configcurrent-config => @str
performance-data
: Returns the registry path of the performance dataperformance-data => @str
process
:start
: Starts a process from path and returns process instancestart : @str:path, ? @str:arguments => @process
path
: Path to executablearguments
Any arguments with it
name
: Returns the Process instance's namename => @str
kill
: Kills the process instancekill
get-property
: Gets a property from the process instance using C# reflection and returns itget-property : @str:propName
properName
: The name of the property
run-function
: Runs the function from the process instance using C# reflection and returns itrun-function : @str:funcName
funcName
: The function name to run
get-current-process
: Retuns the current processget-current-process => @process
get-process-by-id
: Returns a C# System.Diagnostics.Process class instance from the process IDget-process-by-id : @int:_id, ? @str:_machineName
_id
: The Process ID_machineName
: The machine's name to check on
get-processes
: Returns an array of the C# System.Diagnostics.Process class of every Process runningget-processes : ? @str:_machineName
_machineName
: The machine to get processes from
get-processes-by-name
: Returns a C# System.Diagnostics.Process class instance from the process nameget-processes-by-name : @str:_name ? @str:_machineName
_name
: The Process name_machineName
: The machine's name to check on