Skip to main content

Save-MaintenanceReport

SYNOPSIS

Saves Maintenance Report.

SYNTAX

Save-MaintenanceReport [[-Days] <Int32>] [<CommonParameters>]

DESCRIPTION

Saves Maintenance Report.

EXAMPLES

EXAMPLE 1

Save-MaintenanceReport

Executes Save-MaintenanceReport using the arguments shown.

PARAMETERS

-Days

Specifies the Days value.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: ((Get-Date -Format yyyyMMdd) - ((Get-Date -Format yyyyMMdd).Substring(0, 6) + "01"))
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Object

NOTES

ALIASES

None.

PLATFORM APPLICABILITY

Windows only. The platform-aware loader does not export this command on Linux or macOS.

POWERSHELL COMPATIBILITY

See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.

https://docs.keldor.dev/powershell/keldor/Save-MaintenanceReport