Types/OpenPackage.Part/get_Name.ps1

<#
.SYNOPSIS
    Gets the part name
.DESCRIPTION
    Gets the part name.
    
    This is is anything before the first period (`.`).
#>

param()
@($this.Uri -split '/' -ne '')[-1] -replace '\..+?$'