Tag Archives: PowerShell Tool

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:

File Share Quota Manager – Menu Based

File Share Quota Management Tool is a powerful menu based PowerShell script used to remotely control the amount of disk/storage space that a user can utilize on the file server.

File Share Quota Manager
File Share Quota Manager v1.1

Quota manager tool will help system administrators to create, modify, enable or disable quotas on remote file servers.
The user-friendly navigation through the menus and the ability to remotely manage the quotas can save tremendous amount of time spent on manual quota processing during our daily admin tasks.
This tool is extremely helpful for managing file quotas on Windows servers with no PowerShell FSRM module support (which comes with Windows Server 2012).

Functions:
1. Adds New Quota
-Creates a new quota using standard user share template
2. Shows Quota & Local Drive Information
-Shows common quota parameters & local disk information
-Shows information (free space) for all available local disks (load balancing purposes)
3. Modifies Existing Quota
-Modifies the Quota Limit
-Applies New Standard Templates:
*User Predefined:
*4 GB User Share Hard Quota
*8 GB User Share Hard Quota
*12 GB User Share Hard Quota
*16 GB User Share Hard Quota
*20 GB User Share Hard Quota
*4 GB User Limit with 250 MB Extension
*8 GB User Limit with 250 MB Extension
*12 GB User Limit with 250 MB Extension
*16 GB User Limit with 250 MB Extension
*20 GB User Limit with 250 MB Extension
*Groups Predefined:
*10 GB Group Share Hard Quota
*20 GB Group Share Hard Quota
*30 GB Group Share Hard Quota
*40 GB Group Share Hard Quota
*50 GB Group Share Hard Quota
*10 GB Group Limit with 250 MB Extension
*20 GB Group Limit with 250 MB Extension
*30 GB Group Limit with 250 MB Extension
*40 GB Group Limit with 250 MB Extension
*50 GB Group Limit with 250 MB Extension
-Disables Quota
-Enables Quota

Requirements:
The script leverages the command-line FSRM utility dirquota and requires PSRemoting enabled on the target systems.

Tested on the following platforms:
Windows Server 2003
Windows Server 2008 R2

Download Link:
https://gallery.technet.microsoft.com/PowerShell-Tool-File-Share-560bde3b

The code:
In case your preferable way is to access the servers using their virtual names, you need to do few modifications:
-Uncomment line 51. The script will resolve server’s hostname form the DNS. To use FQDN type in the DNS suffix.
-Comment out line 49.

For retrieving the local disks information (lines 75,77) I used filtering to exclude all possible drives that I don’t want to monitor. Those are system drive, Quorum disk, drives that do not support any active shares. You may want to adjust this filtering to fit  with your environment configuration.
To change the standard quota templates use Find/Replace.