powershellscripts.com

PowerShell Logo


67 results found for the Desktop Management Category in about 0.015 seconds
Basic Share Size Folder Information
This is another script similar to the other script I have posted on Share Sizes. This script runs a bit quicker, but only gives you the folder size of the actual shared folder, no information about child folders is displayed.
http://gallery.technet.microsoft.com/258a1905-2322-4b04-acf3-dd108e031a89

BIOS date in a short date string
Recently had to collect the BIOS dates on all PCs in the company...so obviously turned to powershell, but i didn't like the long default date format, so thought i would post how to turn this into a short date format as in dd/mm/yyyy
http://gallery.technet.microsoft.com/9d9ea652-57cc-43e7-b6d4-b60ebe439438

Change User Desktop Folder Path by Using PowerShell
we could change your desktop folder location by using the following powershell script
http://gallery.technet.microsoft.com/b2aee1a5-1163-43c5-b3cf-fef42629e4ec

Change Windows Power Scheme

http://gallery.technet.microsoft.com/Change-Windows-Power-Scheme-3b794e0b

Client System Administration tool (v1.0.2)
ACSA was built with the Helpdesk administrator in mind. Troubleshooting desktop issues requires a vast array of tools and knowledge. ACSA brings those tools together in one central location and adds additional functionality.
http://gallery.technet.microsoft.com/a5aff367-7b47-4b50-a2ef-20dcb4bb6d64

Computer Network Audit - Powershell
This script is designed to work with my "Network Live Audit" program.  You can use the log file from that script to run the audit against only those computers that were offline on the previous run.   The results are saved to a csv file for easy analysis. 
http://gallery.technet.microsoft.com/Computer-Network-Audit-6593a48d

ComputerManagement.ps1
A collection of functions to assist in managing desktop computers.
http://gallery.technet.microsoft.com/ef8de213-45b6-4751-8c77-01d1b6623e16

Configure Desktop Module
This module will configure Windows Explorer settings, Internet Explorer download and Internet Explorer home pages.
http://gallery.technet.microsoft.com/cc98b735-c943-4158-8b66-9c8aa78eafbd

Delete OST from User App Folder

http://gallery.technet.microsoft.com/Delete-OST-from-User-App-22df1c88

Determine chassis type
Had that last mile problem recently, where I thought the script I wrote gathered all the information required, only to be asked, to add the chassis of the computer into the report. Thankfully Powershell was able to do this using simple IF - ELSE IF - ELSE :)
http://gallery.technet.microsoft.com/c0bc039d-5bbf-4c8b-8307-e44da22a42b5

Eject CD/DVD
Simple script to eject a cd/dvd drive (currently hard-coded as D:). Developed for Windows Server 2008 R2 Core operating system on a Mac, i.e. no eject button on drive. I'm guessing it should work on other operating systems but haven't tested.
http://gallery.technet.microsoft.com/7d81af29-1cae-4dbb-8027-cd96a985f311

Empty Recycle Bin

http://gallery.technet.microsoft.com/Empty-Recycle-Bin-1a3388ba

Find the logged on users on a remote system/s
Use the running processes to determine who is logged onto a system.
http://gallery.technet.microsoft.com/d46b1f3b-36a4-4a56-951b-e37815a2df0c

Get current language for all users

http://gallery.technet.microsoft.com/Get-current-language-for-d1ae46ec

Get Logged On User
This PowerShell Script provides a simple user interface to get the username of the logged user on a specific system. There is also the option to use alternate credentials (for perimeter networks, workgroups, etc).
http://gallery.technet.microsoft.com/285212cb-8162-4f2c-8fc8-b7011bfa5166

Get Machine Info
A little script I wrote to collect info from it relies on another script to get the IP Address
http://gallery.technet.microsoft.com/de3603ed-d9d0-493b-ac18-a3885397d625

Get or Set Windows Explorer settings
This script will retrieve or set commonly modified Windows Explorer settings. These settings include hiding file extensions, changing the way a file path is displayed etc. It is a good script that will enable you to quickly configure your desktop settings.
http://gallery.technet.microsoft.com/8ac61441-1ad2-4334-b69c-f9189c605f83

Get remote machine members of Local Administrator group
This Powershell script can detect the members of a remote machine's local Admins group.The script utilises WMI and powershell to query and return all the members of the local "Administrators" group on a remote machine name.The script can also be amended to enumerate any other gro
http://gallery.technet.microsoft.com/Get-remote-machine-members-bc5faa57

Get the Size of My Documents Folder
Calculates the size of the My Documents special folder.
http://gallery.technet.microsoft.com/149ef544-a34a-4896-b6c3-b09491757f04

Get-ClientSiteName
Will get Computer client site name
http://gallery.technet.microsoft.com/aec37eee-c397-4a5c-8689-3f29773c3563

Get-ComputerType
Will get Computer type in clear text
http://gallery.technet.microsoft.com/727708f2-e2ca-4e89-8d7b-54c7409aa918

Get-Locked

http://gallery.technet.microsoft.com/31664950-945a-44fa-8b53-679524920953

Get-LoggedOnUsers
This script will use the Sysinternals PsLoggedon.exe tool to get the list of users logged onto a workstation or server.The script has a check built in to validate that the computer name belongs to your domain. It will also get the full name of the logged on user back in the resul
http://gallery.technet.microsoft.com/Get-LoggedOnUsers-b2e62c87

Get-ScreenSaverTime

http://gallery.technet.microsoft.com/1c5d453c-6b36-44f5-a076-f8dfc2e9157d

List Internet Explorer Connection Summary Information
Returns basic connection information (including whether HTTP 1.1 has been enabled) for Internet Explorer. This script requires both Windows PowerShell and the corresponding versi
http://gallery.technet.microsoft.com/ca831abf-dca7-470f-ba24-948d12dc1a10

List Computer Startup Commands
Enumerates all startup commands on a computer, including those found in the Startup folder and those found in the Registry. This script requires both Windows PowerShell and the c
http://gallery.technet.microsoft.com/037a56de-9fe9-47a1-b959-497700bc6802

List Desktop Settings
Lists the current desktop settings on a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more information on downlo
http://gallery.technet.microsoft.com/0d188ed0-4cd7-4ad6-bbae-d7e7702920b2

List Environment Variables on a Computer
Uses WMI to return information about all the environment variables on a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework
http://gallery.technet.microsoft.com/8d7e1d71-d0eb-4ff2-88aa-337fb98dce65

List Internet Explorer Cache Settings
Returns configuration settings for the Internet Explorer cache. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more informa
http://gallery.technet.microsoft.com/3f8a76d0-9297-4fb2-823e-b78b589a1c4c

List Internet Explorer COM Object Settings
Returns basic COM class information for Internet Explorer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more information
http://gallery.technet.microsoft.com/2c4eb88c-c739-4d9d-aaab-cde267083628

List Internet Explorer File Version Information
Returns basic file version information for Internet Explorer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more informati
http://gallery.technet.microsoft.com/b21927a2-530a-4b8b-9bca-1c9561f99b1e

List Internet Explorer LAN Settings
Returns network information (including proxy server information) for Internet Explorer. This script requires both Windows PowerShell and the corresponding version of the .NET Fra
http://gallery.technet.microsoft.com/aa5ca797-733e-485f-957a-d3ac7373205b

List Internet Explorer Security Zone Settings
Retrieves the current setting level for each Internet Explorer security zone. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. Fo
http://gallery.technet.microsoft.com/fc0054cc-61bc-45ca-a4d0-3c093e8216d5

List Internet Explorer Summary Settings
Returns basic information (including version number and build number) for Internet Explorer. This script requires both Windows PowerShell and the corresponding version of the .NE
http://gallery.technet.microsoft.com/e6b7c447-41ca-41da-93ce-42e0c85499c2

List Logon Session Information
Returns information about logon sessions associated with the user currently logged on to a computer. This script requires both Windows PowerShell and the corresponding version of
http://gallery.technet.microsoft.com/64cc7ab5-f1cd-460c-9d37-e6f989444de3

List Recovery Configuration Options
Returns a list of settings that indicate the action to be taken by a computer should a stop event (blue screen) occur. This script requires both Windows PowerShell and the corres
http://gallery.technet.microsoft.com/edde482f-9f8f-4856-811b-6f399aaad28b

List Shortcuts on a Computer
Uses WMI to return a list of all the shortcuts on a computer, as well as such properties as the file name, creation date, and target for each shortcut. This script requires both W
http://gallery.technet.microsoft.com/831a17e7-c2c5-42dc-806b-1147f4e8b056

List Start Menu Groups
Returns a list of all the Start menu groups found on a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more inform
http://gallery.technet.microsoft.com/09be448b-a250-4078-97fa-4ff4ab39b756

List Start Menu Items
Returns a list of all the Start menu items found on a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more informa
http://gallery.technet.microsoft.com/21addc12-8ad5-47b0-96b4-20187deff0ba

List Start Menu Program Groups
Retrieves information about all the Start menu program groups currently in use on a computer. This script requires both Windows PowerShell and the corresponding version of the .N
http://gallery.technet.microsoft.com/d6e77a60-3af0-43ed-af4e-ddac4f4a8aca

List the Boot Configuration Properties of a Computer
Returns boot configuration information for a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more information on d
http://gallery.technet.microsoft.com/2bc70c38-b71b-4b5f-806e-dac89e0df942

List Windows Product Activation Status
Returns product activation information for a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more information on d
http://gallery.technet.microsoft.com/ddb98dff-732a-4664-839b-02dabc3271f4

Lock-WorkStation
Locks the workstation's display. Locking a workstation protects it from unauthorized use.
http://gallery.technet.microsoft.com/a2178d49-79cd-4b3d-918a-47e9c6800262

Message Box "Stretch Alarm"
I found sitting and starring at a computer screen too long causes stress, so I wrote this simple "Stretch Alarm" to remind me to get up for a minute and strech. I created a Schedule Task to Run at Logon to start the script with the following actions: Powershell.exe -WindowStyle "
http://gallery.technet.microsoft.com/Message-Box-Stretch-Alarm-5dd116a5

Network Live Audit - Powershell

http://gallery.technet.microsoft.com/Network-Live-Audit-317e5e82

Pin and unpin applications from the taskbar and Start-menu
PowerShell-module with the ability to pin and unpin programs from the taskbar and the Start-menu in Windows 7 and Windows Server 2008 R2.
http://gallery.technet.microsoft.com/b66434f1-4b3f-4a94-8dc3-e406eb30b750

Powerful Multi Ping Tool Built in Powershell
This 8.01KB Script is a powerful MultiPing tool for use in windows domains. the script executes against a list of computers in a text file named machinelist.txt (you may use computername or IP [side note: I use computername since ip address can change in a DHCP enviroment]). it t
http://gallery.technet.microsoft.com/Powerful-Multi-Ping-Tool-c2490d3b

Powershell Remote PC Info Script
This script will find various information about a remote PC using WMI and remote registry.
http://gallery.technet.microsoft.com/2a8a008c-ee30-4b50-a81a-1b7545ef3436

PowerShell ToggleQL
Toggle on and off the Quick Launch bar
http://gallery.technet.microsoft.com/dd9d04c2-592b-4eb5-bb09-cd5725d35e68

Remote-Lock.ps1
Requires PowerShell v2 & PSPack TaskScheduler module . Locks the workstation's display. Locking a workstation protects it from unauthorized use.
http://gallery.technet.microsoft.com/cfbc642e-9a1e-4739-9ac5-9f462343a2f7

Rename-Computer
Neatly wraps up the NETDOM RenameComputer command in a PowerShell function complete with help.  Includes all of the functionality and features of the NETDOM command.  Currently does not accept input from pipe.If the comptuer is on a domain, it will rename the AD object as well as
http://gallery.technet.microsoft.com/Rename-Computer-3479512d

Restart computers in batches as jobs
This script will use a list of computer names from a text file, and restart them in batches of 5.  Each restart is started as a background job, and the script waits for all computers to come back up before restarting the next five. The results are saved to a log file.
http://gallery.technet.microsoft.com/Restart-computers-in-a122b3cc

Robocopy and PowerShell
This script allow you to run the Robocopy comand with powershell with various folders.When you donwload this script you'll have to edit it and change the source and destination folders. The below sample configuration run script twice, the first time copy the files from "D:\MySour
http://gallery.technet.microsoft.com/Robocopy-and-PowerShell-8e3d8011

Scripting Games 2011 Advanced Event 5 Solution
This is the code for my solution to Advanced Event 5 in the 2011 Scripting Games. The full write up can be found at ...
http://gallery.technet.microsoft.com/6c86b8cf-0302-4cdf-939a-5c9fbfc104e5

Search for Files Using Windows Desktop Search 3.0

http://gallery.technet.microsoft.com/d1070b7c-a13b-4b59-9557-1b3a3a119f7e

Select-PowerPlans
Change the power plan on your PC, you can use shortened versions of the plan since it uses -match
http://gallery.technet.microsoft.com/6e3cc023-8131-4235-8da2-dd4e9e683ec9

Set Computername using PowerShell
Hi,I faced a problem in to which i want to set a Computername within the script.  i dont want any confirmation and i just want to do it .. then i write a little bit script. This script just reaname the computer name with the Name you provided in the output box.see this link for m
http://gallery.technet.microsoft.com/Set-Computername-using-9cb6ecc4

Set-AllUsersTilesFromLDAP

http://gallery.technet.microsoft.com/Set-AllUsersTilesFromLDAP-4e593286

Set-ExplorerCommandBar.ps1
This script adds commands to the Explorer Command Bar for the Windows 7 and WIndows Vista Libraries.
http://gallery.technet.microsoft.com/dc2867e3-4fa1-4b77-8c5a-ee6d27ab4ecf

Set-RoamingProfile
Take ownership of profilefolders in a domain. If wanted - return ownership to the user, but now accessable to admins.
http://gallery.technet.microsoft.com/e1f2978d-cabd-4102-be60-9ffb1e2f0a02

Set-ScreenResolution
Sets the resolution of the main monitor- Requires PowerShell V2
http://gallery.technet.microsoft.com/2a631d72-206d-4036-a3f2-2e150f297515

Set-UserTileFromAD
 This is a script will take the picture out of the AD attribute "thumbnailphoto" and update the Windows 7 User tile.At the moment you need the Active Directory module but I'm hoping to do away with the requirements as my ultimate goal is to run this on 3000 stations and really do
http://gallery.technet.microsoft.com/Set-UserTileFromAD-99029716

Shared Folder Sizes
Report on any computer the listed shares and the size in GB, this script will then display those shares and child directories by size order, and output to CSV
http://gallery.technet.microsoft.com/1d01cd9c-1d28-4199-87e8-21852219a2ee

Shutdown-Computer
Will Shutdown the local computer or a remote computer
http://gallery.technet.microsoft.com/6437edda-da63-4b8e-b1c5-d7ba5fc4bcc3

Stop-Domain
This function powers off unattended computers at night.
http://gallery.technet.microsoft.com/a85171dd-15ba-44c6-917a-20c881fca973

System Up Time and Build Date
This PowerShell script returns the system uptime and build date of the local computer in an easy to read format.
http://gallery.technet.microsoft.com/ec03de07-3970-4070-9523-d481194db7b4

View Recycle Bin items

http://gallery.technet.microsoft.com/View-Recycle-Bin-items-2b4e4206