Skip to content

v0.2.0-preview0002

Pre-release
Pre-release
Compare
Choose a tag to compare
@LarryWisherMan LarryWisherMan released this 10 Sep 07:51
575a0b2

[v0.2.0-preview0002]

Added

  • Added detailed comment-based help and Unit Tests to all public functions in the
    WisherTools.Helpers module. This provides better guidance and documentation
    for the following functions:

    • Get-DirectoryPath
    • Get-FunctionScriptBlock
    • New-UniqueFilePath
    • Test-ComputerPing
    • Test-DirectoryExistence
  • Added module PSData and build config

  • Added warning to New-UniqueFilePath when the specified directory does not
    exist and automatically creates the directory.

  • Environment variables (FILE_DIRECTORY, FILE_PREFIX, FILE_EXTENSION) are
    now used as default parameters for New-UniqueFilePath.

  • Created new function New-UniqueFilePath, a more generic version of
    Get-BackupFilePath, to generate unique file paths with customizable
    prefixes, directories, and extensions.

Changed

  • Replaced hardcoded defaults in Get-BackupFilePath with dynamic environment
    variables and made the function more generic.

  • Updated New-UniqueFilePath to use environment variables for default values
    and fallback defaults if not set.