Types/OpenPackage/get_FileContentType.ps1
|
<# .SYNOPSIS Gets file content types .DESCRIPTION Gets a table of all files in the package and their associated content types. #> $fileContentTypes = [Ordered]@{} foreach ($part in @($this.GetParts())) { $fileContentTypes[$part.Uri] = $part.ContentType } $fileContentTypes |