Types/OpenPackage/set_LastPrinted.ps1

<#
.SYNOPSIS
    Sets OpenPackage `LastPrinted`
.DESCRIPTION
    Sets the OpenPackage `LastPrinted` property.
.LINK
    https://learn.microsoft.com/en-us/dotnet/api/system.io.packaging.packageproperties.lastprinted?wt.mc_id=MVP_321542
#>

param([DateTime]$LastPrinted)

$this.PackageProperties.LastPrinted = $LastPrinted