This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Convert a file to a Base64 string | |
| .DESCRIPTION | |
| This is typically used for storing images (PNG/JPG) within a script | |
| Code needs to be updated to cater for BMP and ICO | |
| .LINK | |
| https://gist.github.com/dancing-groot/44654c55b767ab8eed6e3edf1a005d30 | |
| .NOTES | |
| Version: 2024.11.29 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Get-Timestamp | |
| { | |
| <# | |
| .SYNOPSIS | |
| Provide visual feedback when running a script interactively | |
| .LINK | |
| https://gist.github.com/dancing-groot/70012d7a56684e5f94f0ce5d7d3320e2 | |
| .NOTES | |
| Version: 2025.10.07 | |
| Author: @dancing-groot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Update-RequireModules | |
| { | |
| <# | |
| .SYNOPSIS | |
| Checks repository pre-requisites and install/update the modules needed for the script using PSResouceGet | |
| .LINK | |
| https://gist.github.com/dancing-groot/b0521f8152b2aabc6876db7ea1cc922e | |
| .NOTES | |
| Version: 2026.05.20 | |
| Author: @dancing-groot |
OlderNewer