Documentation
:
Updating the Repo owner name to TechDufus
.
- This was a rename of the repo, not an ownership change.
- I feel this warranted a version bump to get this updated in all help docs for this module.
New Functions
:
ConvertTo-Emoji
:
- This function converts a Unicode Hex value to it's corresponding emoji.
- This conversion is compatible with Windows PowerShell and PowerShell.
- See
Get-Help ConvertTo-Emoji -Detailed
for more information.
New Functions
:
Push-SshKey
:
- Added a new function to push a ssh key to a remote server for a specific user.
- See
Get-Help Push-SshKey -Detailed
for more information.
Update-PowerShell
:
- This function now only runs when NOT called from PowerShell (Version 6+) as this breaks the installer.
- This function now checks for admin rights when
-Quiet
is specified. If running without admin rights, the function will run as if-Quiet
was not provided.
Get-RebootLogs
- Significant performance improvement when querying event logs for this cmdlet
Merge-CIDRIpRanges
- Refactor of function provided by SeidChr.
- This includes significant performance improvements.
Merge-CIDRIpRanges
- Significant performance improvement to
Merge-CIDRIpRanges
function.
- Significant performance improvement to
- New Functions:
- Public
Merge-CIDRIpRanges
- Reduces a list of CIDR IP Ranges to a single list of ranges that do not overlap.
Get-IPv4NetworkInfo
- Gets extended information about an IPv4 network.
- Private
Test-IsIpAddressInRange
- Test to see if a given IP is between a given start and end address.
- Public
Get-PublicIP
- The output of this function is now a PSCustomObject instead of an enumerated hashtable.
- Tests
- Upgrading all tests to Pester v5 syntax.
BUG FIX:
- Correcting variable references that were changed in v1.1.1
- Using
Join-Path
instead of[System.IO.Path]::Combine()
, this was buggy.
Copy-WithProgress
- Changing the
-Source
parameter to-Path
and adding an alias for-Source
- This is to keep these parameters more aligned with
Copy-Item
.
- This is to keep these parameters more aligned with
- Changing the
Get-FolderSize
- Added
-ComputerName
parameter to get folder sizes from remote machines. - The folder path provided needs to be the local path on the remote machine.
- Added
SU
- Added additional parent process detection.
- Instead of only launching
powershell.exe
orpwsh.exe
, this can re-launch WindowsTermainal, VSCode, PowerShell ISE depending on where the command originated from.
- Instead of only launching
- Added additional parent process detection.
- Tests
- Added additional logic to account for OS-Specific functions to be tested.
- Examples:
- On Linux- the SU and Grep functions are not loaded, and therefore not tested.
- Examples:
- Added additional logic to account for OS-Specific functions to be tested.
- Syntax changes in function definitions
- This does not contain any features or major code changes.
- New build process
- Testing, Building, and Publishing this module now exist exclusively within GitHub (from Azure DevOps)
- This change is to keep this project in the GitHub ecosystem and have a singular location to handle maintinance.
Copy-WithProgress
-Destination
parameter now creates destination path properly.- BUG: if you did not include a trailing '' at the end of the destination path, it would copy your files one directory higher, and any 1st level folders copied would turn into a folder named after the parent folder and the nested folder name.
- Added GitHub Project link information to the .NOTES section of every public function.
- Misc. code improvements
- Tests:
- Added Pester test for '.NOTES' section in all comment-based help for public functions.
Get-Applications
- More robust application discovery for 64-bit OS.
Remove-Application
- More robust method of uninstalling objects from Get-Applications
Copy-WithProgress
- Added '-IncludeACL' switch to move file ACLs.
- New Functions:
Get-RebootLogs
Clear-CCMCache
- Added new functions to AD Argument Completer for their
-ComputerName
parameters. - Correctly registered
Push-LocalScheduledTask
's-ComputerName
with argument completion.
- Fixing Comment-Based help.
- Needed a blank line after the #Region declaration or it broke the built-in help.
Get-PCUpTime
: Now works when calling from PowerShell to a remote computer running Windows PowerShell.- This likewise would fix a Windows PowerShell instance running against a remote PowerShell instance.
Get-CIDRNotationBySubnetMask
: Now gives targeted error message if an improperly formatted SubnetMask is supplied.- EXAMPLE:
Get-CIDRNotationBySubnetMask 255.253.255.0
- Get-CIDRNotationBySubnetMask : Invalid Subnet Mask value: '253' in 255.[253].255.0
- EXAMPLE:
- Added Regions to each script file. Should help organize the .psm1 file POST-Build.
- Added Region detection to Pester tests.
- Adding Build job in Azure.
- Module will now be installed as core .psd1 and .psm1 files instead of entire raw directory.
- Removed .gitignore file entirely. Logic to exclude Build folder from module is done in AzurePipeline.
- AzurePipelines Build configuration changes. Finally everything works! 🤣
- Updated LicenseURI in Manifest. 🤦♂️
- Fixed .gitignore syntax for excluding Build. 🤦♂️
- Initial file commit to GitHub Repo.