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.
-
Useful git hooks
Introduction to a git hooks repository that prevents ugly pull-merge commits from cluttering git history.
-
PowerShell Cmdlets sources
Script to open any PowerShell cmdlet's source code directly in .NET Reflector for inspection.
-
[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.
-
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.
-
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.
-
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.
-
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.
-
PowerShell Sort-Object and Hashtables
Explains why Sort-Object -Property fails on PowerShell hashtables and how to sort them correctly using a script block.
-
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.