We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
OpenXML.get_Modified
1 parent 27b1581 commit 6c30fc8Copy full SHA for 6c30fc8
Types/OpenXML/Alias.psd1
@@ -0,0 +1,10 @@
1
+@{
2
+ Part = 'Parts'
3
+
4
+ CreatedAt = 'Created'
5
+ ModifiedAt = 'Modified'
6
7
+ # FileInfo compatibility
8
+ CreationTime = 'Created'
9
+ LastWriteTime = 'Modified'
10
+}
Types/OpenXML/get_Modified.ps1
@@ -0,0 +1,9 @@
+<#
+.SYNOPSIS
+ Gets OpenXML modified time
+.DESCRIPTION
+ Gets the time an OpenXML file was modified, according to core document metadata.
+.EXAMPLE
+ Get-OpenXML ./Examples/Blank.docx | Select-Object -ExpandProperty Modified
+#>
+$this.Parts.'/docProps/core.xml'.content.coreProperties.modified.innerText -as [DateTime]
0 commit comments