Tag:powershell
All the articles with the tag "powershell".
PowerShell Predictive IntelliSense
How to accept PSReadLine Predictive IntelliSense suggestions in PowerShell 7.3 using the Right Arrow key, and why F2 switches prediction view modes.
My recent open-source activity
Summary of contributions to GitExtensions, Monodevelop, jHtmlArea, T4 TransformOnBuild, and posh-git.
Execution of external commands (native applications) in PowerShell done right - Part 3
Fixing Invoke-NativeApplication to handle Windows exit codes beyond 0-255 using an IgnoreExitCode switch.
Execution of external commands (native applications) in PowerShell done right - Part 2
Improved Invoke-NativeApplication with an IsError property on each output line and a prompt function edge-case fix.
Execution of external commands in PowerShell done right
A PowerShell exec helper that correctly captures stdout and stderr from native commands and checks exit codes.
Get EXIF metadata with PowerShell
Reading EXIF tags such as date-taken from images in PowerShell using System.Drawing.Image.
PowerShell and IDisposable
Implementing a PSUsing helper function in PowerShell that mimics C# using blocks for IDisposable objects.
PowerShell auto variable $LastResult
Adding a $LastResult automatic variable to PowerShell by wrapping Out-Default to store the last pipeline output.
svn for git-addicted or git-svn gotchas and WTFs - Part 4
Comparing SubGit and SmartGit for git-svn bridging, and using git filter-branch to rewrite SVN author history.
sqlcmd - Get real sql error line number
A PowerShell wrapper for sqlcmd that maps batch-relative error line numbers back to the real script line.