WisherTools.Helpers
0.2.0-preview0001
The WisherTools.Helpers module is a collection of essential utility functions designed to assist with common tasks in PowerShell scripting. This module provides reusable components for managing directories, working with PowerShell functions dynamically, verifying system availability through network pings, and generating backup file paths. It streamlines various proces
The WisherTools.Helpers module is a collection of essential utility functions designed to assist with common tasks in PowerShell scripting. This module provides reusable components for managing directories, working with PowerShell functions dynamically, verifying system availability through network pings, and generating backup file paths. It streamlines various processes that are frequently used across different scripts and modules, offering a robust set of helper tools to enhance efficiency and maintainability.
**Function Overview**
1. **Get-DirectoryPath**
Converts a base path to a local or UNC format based on whether the target is local or remote.
2. **Get-FunctionScriptBlock**
Retrieves the script block of a specified PowerShell function.
3. **Get-BackupFilePath**
Generates a unique backup file path with a timestamp.
4. **Test-DirectoryExists**
Ensures that a directory exists; creates it if necessary.
5. **Test-ComputerPing**
Pings a computer to check if it is online with a configurable timeout.
Show more
**Function Overview**
1. **Get-DirectoryPath**
Converts a base path to a local or UNC format based on whether the target is local or remote.
2. **Get-FunctionScriptBlock**
Retrieves the script block of a specified PowerShell function.
3. **Get-BackupFilePath**
Generates a unique backup file path with a timestamp.
4. **Test-DirectoryExists**
Ensures that a directory exists; creates it if necessary.
5. **Test-ComputerPing**
Pings a computer to check if it is online with a configurable timeout.
Minimum PowerShell version
5.0
This is a prerelease version of WisherTools.Helpers.
There is a newer prerelease version of this module available.
See the version list below for details.
See the version list below for details.
Installation Options
Owners
Copyright
(c) 2024 LarryWisherMan. All rights reserved.
Package Details
Author(s)
- LarryWisherMan
Functions
Get-BackupFilePath Get-DirectoryPath Get-FunctionScriptBlock Test-ComputerPing Test-DirectoryExists
Dependencies
This module has no dependencies.
Release Notes
## [0.2.0-preview0001] - 2024-09-07
### Added
- Added detailed comment-based help to all public functions in the `WisherTools.Helpers` module. This provides better guidance and documentation for the following functions:
- `Get-BackupFilePath`
- `Get-DirectoryPath`
- `Get-FunctionScriptBlock`
- `Test-ComputerPing`
- `Test-DirectoryExists`
FileList
- WisherTools.Helpers.nuspec
- WisherTools.Helpers.psd1
- WisherTools.Helpers.psm1
- en-US\about_WisherTools.Helpers.help.txt
Version History
Version | Downloads | Last updated |
---|---|---|
0.2.0 | 555 | 9/10/2024 |
0.2.0-previe... | 2 | 9/10/2024 |
0.2.0-previe... | 2 | 9/10/2024 |
0.2.0-previe... (current version) | 8 | 9/7/2024 |
0.1.0 | 44 | 9/7/2024 |
0.1.0-previe... | 2 | 9/7/2024 |