WinDirOps
0.2.0-preview0001
The module is designed to handle tasks like deleting directory contents, syncing empty directories for fast deletion, and removing directories with detailed error handling. It enables seamless interaction with the file system, whether performing maintenance tasks on local folders or managing directories across multiple remote systems.
This module can be used independently or as a dependency for higher-level file management or system configuration modules, offering flexibility and reliability in directory management operations.
---
### **Key Features:**
- **Clear directory contents (local and remote).**
- **Remove directories safely** with built-in confirmation and error handling.
- **Sync directories** for fast deletion using efficient methods like `robocopy`.
- **Handle both local and UNC paths** seamlessly, converting paths automatically for remote access.
- **Detailed status reporting** on directory operations, providing success or failure messages.
---
### **Typical Use Cases:**
- **Automating system cleanup:** Regularly clear out temporary or outdated directories, both on local machines and remote servers.
- **Managing directories during deployments:** Clear and reset build directories as part of an automated deployment or CI/CD process.
- **Remote directory management:** Delete, clear, or manage folders on remote systems without needing manual access.
- **File system maintenance:** Use **WinDirOps** to ensure file system cleanliness and order during regular system maintenance tasks.
Minimum PowerShell version
5.1
See the version list below for details.
Installation Options
Owners
Copyright
(c) 2024 LarryWisherMan. All rights reserved.
Package Details
Author(s)
- LarryWisherMan
Tags
WindowsDirectories DirectoryManagement FileSystemOperations LocalDirectories RemoteDirectories PowerShellRemoting DirectoryCleanup Automation UNCPaths FileMaintenance SystemAdministration ErrorHandling DeploymentTasks RemoteManagement WindowsManagement
Functions
Clear-Directory Clear-DirectoryContents Remove-DirectoryByType Remove-LocalDirectory Remove-RemoteDirectory
Dependencies
Release Notes
## [0.2.0-preview0001] - 2024-09-09
### Added
- Added core functions
- Updated build file for release
FileList
- WinDirOps.nuspec
- WinDirOps.psm1
- WinDirOps.psd1
- en-US\about_WinDirOps.help.txt
Version History
Version | Downloads | Last updated |
---|---|---|
0.2.0 | 21 | 9/10/2024 |
0.2.0-previe... | 2 | 9/10/2024 |
0.2.0-previe... | 2 | 9/9/2024 |
0.2.0-previe... (current version) | 2 | 9/9/2024 |