Sys_ExistProcess

SYNOPSIS

Checks if a process exists.

SYNTAX

__AllParameterSets

Sys_ExistProcess [-ProcessName] <string> [<CommonParameters>]

ALIASES

This cmdlet has the following aliases,

DESCRIPTION

This function checks if a process is running on the system.

EXAMPLES

EXAMPLE 1

Sys_ExistProcess -ProcessName “notepad.exe”

PARAMETERS

-ProcessName

The name of the process to check.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
ParameterValue: []
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

For more information, please visit https://capasystems.atlassian.net/wiki/spaces/CI65DOC/pages/19462456074/cs.Sys+ExistProcess