Describe the refactor
Update the codebase to use the Get-FileVersion command from the common module DscResource.Common instead of the internal/private function Get-FileVersionInformation defined in source/Private/Get-FileVersionInformation. ps1.
Steps:
- Replace all usages of Get-FileVersionInformation with Get-FileVersion.
- Remove the Get-FileVersionInformation function and its file (source/Private/Get-FileVersionInformation.ps1) if no longer in use.
- Update related tests, documentation, and references.
Rationale
- The shared DscResource.Common module provides an officially supported, reusable, and potentially better maintained version of this functionality.
- Reduces technical debt through the consolidation of duplicate code.
Related file
Acceptance criteria
Describe the refactor
Update the codebase to use the Get-FileVersion command from the common module DscResource.Common instead of the internal/private function Get-FileVersionInformation defined in source/Private/Get-FileVersionInformation. ps1.
Steps:
Rationale
Related file
Acceptance criteria