Tag Archives: GUI for PowerShell

Custom Logon Screen GUI Tool for Windows 7

Custom Logon Screen GUI
Custom Logon Screen GUI tool

Custom Logon Screen GUI tool will help you change the default Windows 7 logon screen background.
All you need to do is to select the desired image, and click Change Logon Screen button to apply it.
Few things you should be aware of:
-Don’t forget to run the tool as administrator.
-The selected image file size should NOT exceed 256KB.
-A single registry edit will be performed in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background changing OEMBackground value to 1.

Download:
Windows 7 Logon Screen Changer – GUI PowerShell Tool

The Code:

 

PowerShell-Robocopy GUI Tool

Robocopy GUI tool leverages the command-line utility Robocopy (Robust File Copy – introduced with Windows Server 2003 Resource Kit).
Robocopy best features include the option to copy file attributes along with the NTFS permissions, mirror the content of an entire folder hierarchy across local volumes or over a network excluding certain file types, copying files above or below a certain age or size, monitor the source location for changes, and giving detailed report with an option to output the status to a log file.
In addition, PowerShell GUI tool is making the process easy to configure and control providing ability to set up predefined options, one-click access to help and log file, and instant error analysis.

Robocopy PowerShell GUT tool
Robocopy-PowerShell GUI tool v1.0.0

Features:
-supports spaces in the file name
-supports long paths
-shows Robocopy help
-recommended options
-ability to enter advanced options
-enable/disable file logging
-generates log file name (current date + source folder name)
-opens the current job logfile in notepad
-parses the current log file and shows ERROR messages

Screenshots:

Start Robocopy

Start Robocopy
Start Robocopy

Robocopy Help

Robocopy Help
Robocopy Help

Show Errors

show_errors_button

Advanced Options

Advanced Options
Advanced Options

Enable Logging

Enable Logging
Enable Logging

Download:
PowerShell Robocopy GUI Update (PowerCopy 1.0.1)

The Code
To set up your preferable Robocopy options jump to check boxes section (line 173 – 457) and find the option you want to modify. Change the $checkbox.Checked value from $False to $True

To uncheck the recommended options lines:
430 – 457

If you want to change the log file name modify lines:
97,118 and 126

Code snippet:

Create a Link Label using WinForms

The following code is an example how to create a link label using WinForms in PowerShell:

And here is a demo form showing 3 link labels:

PowerShell GUI - Link Label
PowerShell GUI – Link Labels

Code: