Cmdlet
Save-OfficeAccess
Writes a qualified native database with strict loss protection.
Syntax
Save-OfficeAccess
[-AllowLoss]
-Document <AccessDocument>
[-Force]
[-PassThru]
[[-Path] <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
DocumentExamples
Writes a qualified native database with strict loss protection.
$database | Save-OfficeAccess -Path ./contacts.accdbParameters
- -AllowLoss SwitchParameter
- Explicitly accept reported native-save loss.
- -Document AccessDocument
- Live database document.
- -Force SwitchParameter
- Replace an existing destination through the canonical atomic writer.
- -PassThru SwitchParameter
- Return the created or changed object.
- -Path String
- Destination filename.
- -WhatIf SwitchParameter
- Shows what would happen if the command runs.
- -Confirm SwitchParameter
- Prompts for confirmation before running the command.
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.