Cmdlet
Save-OfficeRtf
Saves an RtfDocument to its original path or to a new path.
Syntax
Save-OfficeRtf
-Document <RtfDocument>
[-PassThru]
[[-Path] <String>]
[<CommonParameters>]#Parameter set:
DocumentExamples
Use the native OfficeRtf command.
Save-OfficeRtf -Document $rtf.Document -Path .\Copy.rtfParameters
- -Document RtfDocument
- Document for this operation.
- -PassThru SwitchParameter
- PassThru for this operation.
- -Path String
- Path 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.