PoshFunctions icon indicating copy to clipboard operation
PoshFunctions copied to clipboard

A curated collection of PowerShell scripts packaged into a module.

Results 9 PoshFunctions issues
Sort by recently updated
recently updated
newest added

Either as a proxy command to Move-Item or a new command entirely, I'd like a Move-Item command capable of merging a moved directory to an already existing one. The current...

I saved the module from PSGallery. I got a message from my computer: import-module -name c:\alldata\poshfunctions ```shell ParserError: C:\alldata\PoshFunctions\2.2.7\Functions\New-Screenshot.ps1:1 Line | 1 | function New-ScreenShot { | ~~~~~~~~~~~~~~~~~~~~~~~~~ | This...

Without this, filenames with certain Unicode characters (e.g. `꞉` [[char]0xA789](https://www.fileformat.info/info/unicode/char/a789/index.htm)) will erroneously receive the error that the file doesn't exist.

Love that the function ```Get-IpRange``` returns all the IPs in the range, as so many tools online return the lowest and the highest. However I have noticed that the lowest...

Clearyfied UTF8 and UFT8BOM

When I use Get-Font in a terminal, then install (or remove) a font, then re-run Get-Font, the list doesn't update to reflect it. If I restart a powershell terminal it...

Needs to be `$global:` when running from the module scope.

## Context Importing the module takes a long time, everything from 2-8 seconds in my short testing. This can be greatly improved by bundling all functions into a single .psm1...

New-Shortcut -Path "C:\temp\test.lnk" -TargetPath "C:\Program Files\PowerShell\7\pwsh.exe" -RunAsAdmin The command above completes without errors, but fails to enable the "Run this program as an administrator" checkbox. Tested on Windows 11 23H2...