spec.file.utilities
2.0.9
A module for efficient file management, enabling seamless file downloads from Azure Blob storage, file hash comparisons, and a suite of essential file operations.
Minimum PowerShell version
3.0
Installation Options
Owners
Copyright
(c) 2023 Specsavers. All rights reserved.
Package Details
Author(s)
- owen.heaume
Tags
spec file download azure blob hash hidden folder environment variable path compare old older days remove delete item items
Functions
Get-SpecBlobFileFromURL Get-SpecMDFileHashBase64 Compare-SpecLocalFileHashToRemoteHash Join-SpecPathWithEnvironmentVariable Set-SpecFolderHiddenAttribute New-SpecFolder Process-SpecItem Get-specOldFiles Remove-specOldFiles Expand-specZipFile Update-specFileLine Get-SpecTextInFile Get-LogFilesByPatternAndRetention Find-specStringInFile Get-specFileHashAndDownload Backup-specFile Add-specToHostsFile Remove-specFromHostsFile
Dependencies
This module has no dependencies.
Release Notes
* 1.0.0 - Initial release to PowerShell Gallery
* 1.0.1 - Added Compare-SpecLocalFileHashToRemoteHash function
* 1.0.2 - Added Join-SpecPathWithEnvironmentVariable function
* 1.0.3 - Added Set-SpecHiddenAttribute and New-SpecFolder functions
* 1.0.4 - Added Process-SpecItem function
* 1.0.5 - Added Get-specOldFiles and Remove-specOldFiles functions
* 1.0.6 - Update parameter name for clarity
* 1.0.7 - Update text output for clarity
* 2.0.0 - Breaking changes. Function renames and parameter changes
* 2.0.1 - Added Get-SpecTextInFile and Update-SpecFileLine functions
* 2.0.2 - Added Get-LogFilesByPatternAndRetention function
* 2.0.3 - Added Find-specStringInFile function
* 2.0.4 - Added Get-specFileHashAndDownload function
* 2.0.5 - Added alias for parameter in Get-SpecBlobFileFromURL function for backward compatibility
* 2.0.6 - Add function Backup-specFile
* 2.0.7 - Add functions Add-specToHost and Remove-specFromHost
* 2.0.8 - Slight refactor of Add-specToHost and Remove-specFromHost functions to support unit testing
* 2.0.9 - Improved error handling across most functions
FileList
- spec.file.utilities.nuspec
- Public\Get-specFileHashAndDownload.ps1
- spec.file.utilities.psd1
- Public\Get-SpecMDFileHashBase64.ps1
- spec.file.utilities.psm1
- Public\Get-specOldFiles.ps1
- en-US\about_spec.file.utilities.help.txt
- Public\Get-SpecTextInFile.ps1
- Public\Add-specToHostsFile.ps1
- Public\Join-SpecPathWithEnvironmentVariable.ps1
- Public\Backup-specFile.ps1
- Public\New-SpecFolder.ps1
- Public\Compare-SpecLocalFileHashToRemoteHash.ps1
- Public\Process-SpecItem.ps1
- Public\Expand-specZipFile.ps1
- Public\Remove-specFromHostsFile.ps1
- Public\Find-specStringInFile.ps1
- Public\Remove-specOldFiles.ps1
- Public\Get-LogFilesByPatternAndRetention.ps1
- Public\Set-SpecFolderHIddenAttribute.ps1
- Public\Get-SpecBlobFileFromURL.ps1
- Public\Update-specFileLine.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
2.0.9 (current version) | 40,320 | 9/16/2024 |
2.0.8 | 4 | 9/12/2024 |
2.0.7 | 4 | 9/10/2024 |
2.0.6 | 2,038 | 8/19/2024 |
2.0.5 | 21,405 | 7/17/2024 |
2.0.4 | 10 | 7/3/2024 |
2.0.3 | 17,257 | 6/28/2024 |
2.0.2 | 262 | 6/24/2024 |
2.0.1 | 25 | 5/1/2024 |
2.0.0 | 1,738 | 4/10/2024 |
1.0.7 | 8,173 | 11/13/2023 |
1.0.6 | 6 | 11/13/2023 |
1.0.5 | 6 | 11/13/2023 |
1.0.4 | 10 | 10/17/2023 |
1.0.3 | 7 | 10/16/2023 |
1.0.2 | 8 | 10/13/2023 |
1.0.1 | 222,710 | 10/9/2023 |
1.0.0 | 13,590 | 10/6/2023 |