API Reference
Function
EmailSubject
Defines the subject line for an email.
Remarks
This function sets the subject line for an email message.
Examples
EXAMPLE 1
EmailSubject -Subject "Important Notification"
Sets the subject line of the email to "Important Notification".
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
EmailSubject [-Subject <String>] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- Subject String
- Specifies the subject line of the email.