MRNAP

10.1

Generates a timestamped report file name and full path with flexible formatting options. Supports pipeline input by value and by property name, custom directory, extension, UTC or local time, date-only, time-only, no-separator, and automatic archival of existing files to an old subdirectory. Works on Windows, Linux, and macOS with PowerShell 5.1 and 7+.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name MRNAP

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name MRNAP

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2025 Dan Casmas. Licensed under the GNU General Public License v3.0.

Package Details

Author(s)

  • Dan Casmas

Tags

Report Filename Path Timestamp CSV Automation Utility CrossPlatform FileManagement Naming Logging

Functions

MRNAP

Dependencies

This module has no dependencies.

Release Notes

Version 10.0. Added full pipeline support: all parameters now accept ValueFromPipelineByPropertyName, allowing rich objects to be piped directly. Fixed cross-platform directory resolution — replaced Windows-only drive-letter check with [IO.Path]::IsPathRooted() so relative paths are handled correctly on Linux and macOS. Helper functions moved to begin{} block for efficiency in pipeline scenarios. Fully tested on Windows (PS 5.1 and 7), Linux, and macOS (PS 7+).

FileList

Version History

Version Downloads Last updated
10.1 (current version) 0 2/25/2026