Tag: powershell
All the articles with the tag "powershell".
-
Copy PowerShell command into clipboard
One-liner to copy the last executed PowerShell command to the clipboard using Get-History and clip.
-
PowerShell _ Git = posh-git
Installing and configuring posh-git for PowerShell tab completion with Git, including a fix for slow prompt performance.
-
PsGet - NuGet for PowerShell
Introduction to PsGet, a package manager for PowerShell modules installable with a one-liner.
-
PowerShell and Visual Studio tools
PowerShell script to import Visual Studio command prompt environment variables (vcvarsall.bat) into a PowerShell session.
-
Repeat Debugger.Launch() in PowerShell
Shows how to set a named breakpoint in PowerShell profile using Set-PSBreakPoint so scripts can trigger the debugger inline.
-
How to add script to PowerShell 'startup'_
Explains how to use a PowerShell profile script to automatically run commands on every PowerShell session start.
-
sudo in PowerShell
PowerShell function and alias that elevates a process with admin rights, mimicking Unix sudo behavior.
-
Execute PowerShell command from batch file
Shows the syntax for running a PowerShell command from a .cmd batch file, including how to escape quotes.
-
PowerShell Add directory to Environment PATH variable
PowerShell script to append a directory to the system PATH and broadcast the change to running processes without rebooting.
-
About me
Author introduction: Michael Naumov, Senior .NET Developer at Readify, Australia, working with .NET, PowerShell, and JavaScript.