Skip to content

Releases: LarryWisherMan/WinDirOps

v0.2.0

Choose a tag to compare

@LarryWisherMan LarryWisherMan released this 10 Sep 23:28
ef98550

[v0.2.0]

Added

  • Added core functions

  • Updated build file for release

  • Added new function Invoke-MirRoboCopy to wrap robocopy functionality

  • Added ShouldProcess support to all public directory-related functions to enable
    safer operations using -WhatIf and -Confirm:

    • Functions updated:
      • Clear-Directory
      • Clear-DirectoryContents
      • Remove-LocalDirectory
      • Remove-RemoteDirectory
      • Remove-DirectoryByType
      • Invoke-MirRoboCopy
  • Added remote computer availability check using Test-ComputerPing
    (see WisherTools.Helpers)
    for functions dealing with remote directories (Remove-RemoteDirectory and
    Remove-DirectoryByType). These functions now return a FolderDeletionResult
    indicating if the computer is offline and abort the operation if it is unreachable.

  • Added enhanced error handling to return detailed failure messages, including
    when a remote computer is offline or the deletion operation fails.

  • Created Invoke-RobocopyCommand as a private wrapper for robocopy

  • Created New-FolderDeletionResult for FolderDeletionResult object creation

Changed

  • Updated functions to implement Invoke-MirRoboCopy for faster and safer
    directory content clearing using robocopy.

  • Suppressed nested confirmation prompts in internal function calls by passing
    -Confirm:$false to internal operations, preventing multiple confirmation
    requests during execution.

  • Improved comment-based help for all functions to clearly explain local vs.
    remote operations, the role of ShouldProcess, and how the
    remote computer checks are handled.

  • updated Remove-LocalDirectory and Remove-RemoteDirectory to use new wrapper
    function New-FolderDeletionResult for FolderDeletionResult object creation

v0.2.0-preview0003

v0.2.0-preview0003 Pre-release
Pre-release

Choose a tag to compare

@LarryWisherMan LarryWisherMan released this 10 Sep 23:04
ef98550

[v0.2.0-preview0003]

Added

  • Added core functions

  • Updated build file for release

  • Added new function Invoke-MirRoboCopy to wrap robocopy functionality

  • Added ShouldProcess support to all public directory-related functions to enable
    safer operations using -WhatIf and -Confirm:

    • Functions updated:
      • Clear-Directory
      • Clear-DirectoryContents
      • Remove-LocalDirectory
      • Remove-RemoteDirectory
      • Remove-DirectoryByType
      • Invoke-MirRoboCopy
  • Added remote computer availability check using Test-ComputerPing
    (see WisherTools.Helpers)
    for functions dealing with remote directories (Remove-RemoteDirectory and
    Remove-DirectoryByType). These functions now return a FolderDeletionResult
    indicating if the computer is offline and abort the operation if it is unreachable.

  • Added enhanced error handling to return detailed failure messages, including
    when a remote computer is offline or the deletion operation fails.

  • Created Invoke-RobocopyCommand as a private wrapper for robocopy

  • Created New-FolderDeletionResult for FolderDeletionResult object creation

Changed

  • Updated functions to implement Invoke-MirRoboCopy for faster and safer
    directory content clearing using robocopy.

  • Suppressed nested confirmation prompts in internal function calls by passing
    -Confirm:$false to internal operations, preventing multiple confirmation
    requests during execution.

  • Improved comment-based help for all functions to clearly explain local vs.
    remote operations, the role of ShouldProcess, and how the
    remote computer checks are handled.

  • updated Remove-LocalDirectory and Remove-RemoteDirectory to use new wrapper
    function New-FolderDeletionResult for FolderDeletionResult object creation

v0.2.0-preview0002

v0.2.0-preview0002 Pre-release
Pre-release

Choose a tag to compare

@LarryWisherMan LarryWisherMan released this 09 Sep 21:29
08c360f

[v0.2.0-preview0002]

Added

  • Added core functions
  • Updated build file for release
  • Added new function Invoke-MirRoboCopy to wrap robocopy functionality
  • Added ShouldProcess support to all public directory-related functions to enable safer operations using -WhatIf and -Confirm:
    • Functions updated:
      • Clear-Directory
      • Clear-DirectoryContents
      • Remove-LocalDirectory
      • Remove-RemoteDirectory
      • Remove-DirectoryByType
      • Invoke-MirRoboCopy
  • Added remote computer availability check using Test-ComputerPing (see WisherTools.Helpers) for functions dealing with remote directories (Remove-RemoteDirectory and Remove-DirectoryByType). These functions now return a FolderDeletionResult indicating if the computer is offline and abort the operation if it is unreachable.
  • Added enhanced error handling to return detailed failure messages, including when a remote computer is offline or the deletion operation fails.

Changed

  • Updated functions to implement Invoke-MirRoboCopy for faster and safer directory content clearing using robocopy.
  • Suppressed nested confirmation prompts in internal function calls by passing -Confirm:$false to internal operations, preventing multiple confirmation requests during execution.
  • Improved comment-based help for all functions to clearly explain local vs. remote operations, the role of ShouldProcess, and how the remote computer checks are handled.

v0.2.0-preview0001

v0.2.0-preview0001 Pre-release
Pre-release

Choose a tag to compare

@LarryWisherMan LarryWisherMan released this 09 Sep 07:50
fa502fd

[v0.2.0-preview0001]

Added

  • Added core functions
  • Updated build file for release