Script Library

Order by
Showing controlup scripts that tagged 'user profiles, disk activity, page file, windows updates' ordered by Date

Show or delete local user profiles 2.4.20

Finds and optionally deletes local user profiles. The user can provide two arguments - the minimum profile age in days and the minimum profile size. The default operation mode is to display the profiles that fit these criteria. When the "Delete" option is set to "true", the script will delete the profiles it found. tags:user profiles,disk space,vdi,rds,citrix
Created: 2018-12-26
Modified: 2020-06-10
Creator: Guy Leech
Downloads: 84

Set page file size and location 1.3.9

Set the page file to a specific drive or full path and its initial and maximum sizes. If the sizes are not specified, or specified as zero, then the page file sizes will be system managed. If the page file location is empty or set to "auto" then the page file will be automatically managed. A reboot will be required for the changes to take effect. Arguments: Page File Location - Either a drive, drive and folder or empty or set to "auto" where the latter two will result in the page file being automatically managed Initial Size - The initial size of the page file in MB. If zero then sizes will be system managed. Maximum Size - The maximum size of the page file in MB. If zero then sizes will be system managed. tags:Page file,RAM,Pages/sec
Created: 2018-10-14
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 125

Show page file information 1.3.7

Show configuration for all page files including the path and current and peak usage tags:Page file,Pages/sec
Created: 2018-10-12
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 545

Run procmon and sample file access 2.10.45

Run the Sysinternals Process Monitor (procmon) utility for a specified amount of time for a selected process and see which files are most frequently accessed. If a path to an existing procmon executable is not given, it will be downloaded securely from the live.sysinternals.com site. Arguments: Monitor Period - the time in seconds to run the monitoring for. Monitoring for more than 60 seconds is not recommended as this can potentially impact system performance and disk space. Backing file - if not specified this will be in the \windows\temp folder on the system drive which on Citrix PVS booted systems can cause performance issues so specifying a file on a persistent local drive can help alleviate this potential issue. Procmon Location - the location of an existing copy of procmon.exe. If not specified and internet connectivity is available, it will be downloaded. tags:Procmon,IOPS,Disk Activity
Created: 2018-10-01
Modified: 2019-08-08
Creator: Guy Leech
Downloads: 303

Reset Windows Update client 1.0.1

Reset the Windows Update client by removing old files and re-registering the dll's, finally running a detection cycle. tags:WSUS, Windows Update
Created: 2016-11-03
Modified: 2016-11-03
Creator: Trond Haavarstein
Downloads: 148

Cleanup Windows Update client 2.2.4

Full Windows Updates client cleanup. The script clears the BITS queued jobs, clears the software distriobution folder and clears SUSClient ID. It then restarts BITS and the Windows Update client and rechecks for updates. tags:WSUS, Windows Update
Created: 2016-09-17
Modified: 2017-02-15
Creator: Ken McEvoy
Downloads: 310

Check if a Windows Update is installed 1.12.57

The script checks if a Windows Update is installed, using Get-WMIObject commandlet and WMI information under 'win32_quickfixengineering' and 'win32_ReliabilityRecords'. About Win32_ReliabilityRecords: They are enabled by default on Windows 7 but Group Policy has to be used to enable them on the server side. See Computer Settings – Administrative Templates – Windows Components – Windows Reliability Analysis. MSDN Win32_ReliabilityRecords class https://msdn.microsoft.com/en-us/library/ee706630(v=vs.85).aspx tags:Windows Updates, Updates, PowerShell, HotFix,
Created: 2015-02-21
Modified: 2016-04-05
Creator: ajal
Downloads: 375