Powershell

Using Friendly Robocopy

PowerShell 2+ Robocopy is a tool of choice to copy files, and that does not change with PowerShell. You can, however, use PowerShell to embed...

read more

The Truth About WinRM

PowerShell 3+ The popular winrm command to manage and configure PowerShell Remoting is really just a batch and a VBS file: PS> Get-Command winrm...

read more

Display Windows

PowerShell 3+ It is fairly easy to use WPF (Windows Presentation Foundation) to create and show simple dialog windows in PowerShell. If you’d...

read more

Add a Clock to PowerShell

PowerShell 2+ Here is a fun example that illustrates how to work with timers. It adds a clock to the title bar of the PowerShell console or the...

read more

Changing Page File Location

PowerShell 2+ To move the Windows page file to a new location, you can use WMI: #requires -Version 2 $args = @{ Name = "D:\pagefile.sys" InitialSize...

read more

Changing Password

All versions Here is a simple way how an existing user can change the password for his account. The user must know his old password and does not...

read more

Getting GIT tips online

Here is an example that illustrates how you access a REST API online. The script retrieves GIT tips. GIT is an open-source control system. Even if...

read more

Creating Shortcut Drives

All PowerShell Versions Simply add a new drive to one of the file locations you often visit: # create folder if it does not exist yet $path =...

read more

Colorful Console

PowerShell 5 PowerShell 5.0 on Windows 10 ships with a much-enhanced and colorful PowerShell console. PowerShell 5.0 on other operating systems just...

read more
1 51 52 53 54 55 130