Cmdlet
Close-OfficePdf
Completes a live PDF document's lifetime without saving.
Syntax
Close-OfficePdf
-Document <PdfDocument>
[<CommonParameters>]#Parameter set:
DocumentExamples
Finish using a PDF without writing pending changes.
$pdf | Close-OfficePdfParameters
- -Document PdfDocument
- Live PDF document to close.
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.