Skip to content

Extract New-FinOpsExportManifest as a reusable PowerShell command #2016

@FallenHoot

Description

@FallenHoot

Summary

Extract the manifest generation logic from New-FinOpsTestData into a standalone New-FinOpsExportManifest command that can be used independently.

Motivation

New-FinOpsTestData currently generates Cost Management-compatible manifest files inline. This logic is useful beyond test data — anyone creating custom data pipelines or tooling that writes to FinOps hubs storage could benefit from a dedicated manifest command.

Proposed changes

  • Create a new New-FinOpsExportManifest command in the PowerShell module
  • Support all manifest fields (blobCount, blobs, byteCount, dataFormat, exportConfig, runInfo, etc.)
  • Support the _ftkTestData watermark fields as optional parameters
  • Refactor New-FinOpsTestData to call New-FinOpsExportManifest internally
  • Add Pester tests and MS Learn documentation

Context

Deferred from PR #2006 (New-FinOpsTestData and Remove-FinOpsTestData).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions