Cmdlet
Close-OfficeRtf
Releases an RtfDocument without saving.
Syntax
Close-OfficeRtf
-Document <RtfDocument>
[<CommonParameters>]#Parameter set:
DocumentExamples
Use the native OfficeRtf command.
Close-OfficeRtf -Document $rtf.DocumentParameters
- -Document RtfDocument
- Document for this operation.
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.