Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Close-OfficeAccess

Module PSWriteOffice
Inputs
OfficeIMO.Access.AccessDocument

Closes a native database without implicitly saving it.

Syntax

Close-OfficeAccess -Document <AccessDocument> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Closes a native database without implicitly saving it.

$database | Close-OfficeAccess

Parameters

-Document AccessDocument requiredpipeline: True (ByValue)
Live database document.

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.