The PowerShell updatable help system is a useful, if not under-utilised, way to supply up-to-date support documentation for your module. While its implementation and ongoing support from Microsoft for native PowerShell modules is questionable (in my opinion) to begin with, it remains under-used and, in many cases, an unrecognised method of supplying updates to help documentation. This may be, in part, related to the complicated way in which PowerShell is
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
# An advanced version of this script is now in my scripts collection: | |
# https://github.com/TheFreeman193/Scripts/blob/main/PowerShell/Tools/Get-RelativeDifference/Get-RelativeDifference.ps1 | |
Function Get-PercentageDifference { | |
<# | |
.SYNOPSIS | |
Calculates percentage difference. | |
.DESCRIPTION | |
Calculates percentage difference between two values, |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBF6EniEBEACynSOtozArIpmi7d72MJNw5X01g+AXuUs1F6g1RNNnz8ZiK1Zx | |
QsKL3rHGITbfYmyNFe5LtgnX0jzMywM/fUcRVcE3bEHidlUUapOj1AT+igle5c0g | |
3H69NEPbjbBaTBNfj/nRl2AXMMpJjDFTcvl8uxI+cYd2Am0yUMHx8a/0o6lQ8kcf | |
N7xjENmgq0YSAhOtfX2Kl+LHvUEg7KiqHAfi5WLoThuhxTGhpy69KJqKOIRp69Dc | |
MOe1C1Heq0XFDVxFya/6InG8wINNaZzN6VNkJ8QSjk45PLiHjO4KXr1AAHPCCY72 | |
fiSm/LuwfvKwQEwpf0EUOC1Nk5AtzPN+9su5l2OtLOirV6jHEhCDNuJI0mpWfEf8 | |
oqjD3g9hPM8INM+EAXwKM52Xw7lZlW9hwTGGxG7mN9My793C9q+ZVGPobI1Q9DOZ | |
Uv/WbfzDj7GW4WIVkNom2jZ8F3mnK6T9q9/AUxfFVd8rW+Swz7AwiqouAuvlo2Mi |
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 | |
Proof of Concept. Starts a new Alarms & Clock (Time.exe) timer in Windows 10. | |
.DESCRIPTION | |
Proof of Concept. Starts a new Alarms & Clock (Time.exe) timer in Windows 10. | |
It does this by emulating keystroke input. DO NOT USE THIS IN PRODUCTION | |
ENVIRONMENTS. | |
.PARAMETER Time |
I hereby claim:
- I am TheFreeman193 on github.
- I am thefreeman193 (https://keybase.io/thefreeman193) on keybase.
- I have a public key whose fingerprint is DC85 D3B7 13F7 A2DD 70DE 888C 6E26 1B2E 8362 5970
To claim this, I am signing this object:
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
#!/system/bin/sh | |
# Copyright (C) MIT License 2024 Nicholas Bissell (TheFreeman193) | |
NL=" | |
" | |
SYSNMLN=65 | |
showHeader() { | |
echo " |