API Reference
Command
Export-ImageMetadata
Exports metadata from an image.
Remarks
Exports metadata from an image.
Examples
Get metadata JSON string
Export-ImageMetadata -FilePath in.jpg
Save metadata to a file
Export-ImageMetadata -FilePath in.jpg -OutputPath meta.json
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Export-ImageMetadata -FilePath <String> [-OutputPath <String>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- FilePath String
- Source image file.
- OutputPath String
- Optional path to write metadata JSON.
Outputs
System.String