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

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

Install-Module -Name spec.file.utilities

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

Install-PSResource -Name spec.file.utilities

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) 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

Version History

Version Downloads Last updated
2.0.9 (current version) 24,219 9/16/2024
2.0.8 4 9/12/2024
2.0.7 4 9/10/2024
2.0.6 2,004 8/19/2024
2.0.5 21,215 7/17/2024
2.0.4 10 7/3/2024
2.0.3 17,257 6/28/2024
2.0.2 239 6/24/2024
2.0.1 25 5/1/2024
2.0.0 1,709 4/10/2024
1.0.7 8,070 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 52,558 10/9/2023
1.0.0 13,590 10/6/2023
Show more