CmdID / PowerShell / Cmdlets / New
New-FsrmAction
Returns an FSRM action object. Windows Server PowerShell reference
From the Windows Server PowerShell reference 20 parameters Its page in the reference
Parameters
Show its 20 parameters
-AsJobRuns the cmdlet as a background job.-BodySpecifies the content of an email.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-CommandSpecifies the full path to the program or script.-CommandParametersSpecifies the parameters for the program or script.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-EventTypeSpecifies the event type of the action.-KillTimeOutSpecifies the timeout period, in minutes, after which the process that the action created is ended.-MailBCCSpecifies a semicolon-separated list of email addresses for the Bcc recipients of an email.-MailCCSpecifies a semicolon-separated list of email addresses for the Cc recipients of an email.-MailToSpecifies a semicolon-separated list of email addresses for the recipients of an email.-ReportTypesSpecifies an array of report types that the action generates.-RunLimitIntervalSpecifies the minimum interval, in minutes, before the server can run the action again.-SecurityLevelSpecifies the computer account type under which the program or script runs.-ShouldLogErrorIndicates that the server records errors codes from running commands in the event log.-SubjectSpecifies the subject of an email.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-TypeSpecifies the type of the action.-WhatIf, -wiShows what would happen if the cmdlet runs.-WorkingDirectorySpecifies the working directory in which the program or script runs.