PrimalScript 8.1.220 has been released with various updates and additions.
Product version history: https://bit.ly/3CsUqT7
PrimalScript 8.1.220 has been released with various updates and additions.
Product version history: https://bit.ly/3CsUqT7
PowerShell Studio 5.9.258 has been released with added support for PowerShell 7.4.11 and 7.5.2 along with cachebuilder support for console only modules.
Product version history: https://bit.ly/4hfKUBR
Hi #nerds, if I run a #powershell script that takes a directory or a collection of directories as its arguments, the trailing slash in the directory name turns the following single quote into a double quote using evil Microsoft dark magic somehow.
If my script is:
```
param (
[string[]]$inDirs
)
foreach ($dir in $inDirs){
write-host $dir
}
```
and I do
```
pwsh myscript.ps1 'c:\\some\dir\'
```
The result is
```
c:\\some\dir"
```
How do I get it to unescape (or whatever it's doing) the last slash?
#AskFedi #CodingHelp #pwsh
@menelion I still used #pwsh when going cross platform but for prompts starship was definitely my preference https://gilbertsanchez.com/posts/prompt-starship/
PowerShell Studio 5.9.257 has been released with a new WPF project type along with a number of new additions and a few fixes!
Product version history: https://bit.ly/4hfKUBR
PrimalScript 8.1.218 has been released with added support for PowerShell 7.5.1
and pre-built cache files for Microsoft Graph 2.27.0.
Product version history: https://bit.ly/3CsUqT7
PowerShell Studio 5.9.256 has been released with support for PowerShell 7.5.1 along with multiple new adds.
Product version history: https://bit.ly/4hfKUBR
PowerShell ModuleManager 2.0.31 has been released with various updates and fixes.
Product version history: https://bit.ly/42i3Wme
PowerShell Studio 5.9.255 has been released with various fixes as well as PowerShell Tray Application engine now enables icon and hover text changes dynamically.
Product version history: https://bit.ly/4hfKUBR
PrimalScript 8.1.217 has been released; PowerShell Tray Application engine now enables icon and hover text changes dynamically.
Product version history: https://bit.ly/3CsUqT7
I ran into Matthew Dowst at #MVPSummit and he asked if I ever made a web form to easily submit new #PowerShell tips for my tiPS module like I planned. I sadly said no. Then I had some time to kill in my hotel... So you can now submit #pwsh tips via a GitHub issue!
Try it out by opening a new issue on the repo at https://github.com/deadlydog/PowerShell.tiPS. The issue will open a PR with the tip info you supplied in the issue. No need to fork the repo and manually create a file and PR anymore
Heads up if you use #PowerShell #Docker images. You'll want to change your dockerfile or devcontainer.json to use mcr.microsoft.com/dotnet/sdk instead of mcr.microsoft.com/powershell going forward. #pwsh
This made my day! I love seeing people get value from the free open-source software I create #PowerShell #pwsh
https://www.reddit.com/r/PowerShell/comments/1jdffgt/i_really_love_tips/
PowerShell Studio 5.9.254 has been released; Exceptions from the PowerShell Cachebuilder are now shown in the Tool Output panel after completion along with ScriptMerge adds options to determine how files are compared in folder compare.
Product version history: bit.ly/4hfKUBR
PrimalScript 8.1.216 has been released; Exceptions from the PowerShell Cachebuilder are now shown in the Tool Output panel after completion.
Product version history: https://bit.ly/3CsUqT7
Do you have a bunch of #Git repositories on your machine? They probably have a ton of temporary files taking up a lot of disk space. Clean them up easily using the GitClean #PowerShell module. Let me know how much space you reclaim . #pwsh #programming
https://blog.danskingdom.com/Reclaim-disk-space-by-cleaning-all-your-Git-repos-with-PowerShell/
I found 2 undocumented #PowerShell 5.1 bugs (1 I've known about for years). I decided to make a GitHub repo for these and future #pwsh bugs I find, with scripts showing how to easily reproduce them. I also created PRs to have the docs updated to mention them. #FeelsGood
https://github.com/deadlydog/PowerShell.Experiment.BugReproductions
PrimalScript 8.1.214 has been released with a new added feature; ScriptMerge now adds options to determine how files are compared in folder compare.
Product version history: https://bit.ly/3CsUqT7
PowerShell Studio 5.9.253 has been released with support for PowerShell 7.4.7 and 7.5.0. We also added a new option for copying PowerShell 7 assemblies when packaging along with various fixes.
Product version history: https://bit.ly/4hfKUBR
PrimalScript 8.1.213 has been released with added support for PowerShell 7.4.7 and PowerShell 7.5.0 along with the option to copy PowerShell 7 reference assemblies to packaged executables.
Product version history: https://bit.ly/3CsUqT7