Tag:powershell
All the articles with the tag "powershell".
Remote debugging over TeamViewer
Step-by-step guide to setting up Visual Studio remote debugging over a TeamViewer VPN connection.
Read more…Useful git hooks
Introduction to a git hooks repository that prevents ugly pull-merge commits from cluttering git history.
Read more…PowerShell Cmdlets sources
Script to open any PowerShell cmdlet's source code directly in .NET Reflector for inspection.
Read more…[PowerShell] Built-in support for -Debug and -Verbose for your scripts
How to enable PowerShell common parameters -Debug and -Verbose in custom scripts using CmdletBinding and DebugPreference.
Read more…git - change date of commit
PowerShell snippet to change the author and committer date of an existing git commit using GIT_COMMITTER_DATE and --amend.
Read more…Sublime Text - The best text editor ever
Introduction to Sublime Text as a developer-friendly editor, with tips on Package Control and PowerShell syntax highlighting.
Read more…PowerShell + XAML => GUI
How to build a WPF GUI window in PowerShell using XAML, with a note on the STA threading requirement for PowerShell 2.
Read more…PowerShell Get-Content vs _System.IO.File___ReadAllText
Difference between Get-Content (returns array of lines) and ReadAllText (returns full string), with alternatives for both PowerShell versions.
Read more…posh-git _ WARNING_ Could not find ssh-agent
How to suppress the posh-git ssh-agent warning by commenting out Start-SshAgent in the profile script.
Read more…PowerShell Sort-Object and Hashtables
Explains why Sort-Object -Property fails on PowerShell hashtables and how to sort them correctly using a script block.
Read more…