דילוג לתוכן
Articles and Knowledge Centre / Management and Operations

Scripts library: less manual work, more control in computing

26.10.2026 · 9 min read
Computer illustration for running scripts connected to servers and workstations

A computer that cannot access a website, a backup service that is stuck, or workstations that need cleaning — a large part of maintenance starts with familiar actions. Instead of remembering the sequence of clicks each time, you can work with ready-made, clear, and documented instructions.

What is a script library?

A script is a sequence of commands that performs a defined task. The library includes ready scripts for Windows and macOS and the option to add customized actions. You choose the computer and the action and manage the execution from one screen, according to account permissions.

From a recurring issue to an organized process

Identify the needFor example: backup communication check
Run a defined actionThe appropriate script on the correct computer
Check the resultOutput, status, and further handling
Illustration of a work process: a communication check is a step in diagnostics, not proof that the entire backup system is functioning properly.
Fewer repetitive actions

An organized task that can be repeated, without starting from scratch each time.

More uniform handling

The same working method on different computers, with parameter adjustments for the environment.

More time for what matters

Less dealing with routine clicks and more room for diagnosis and planning.

How does it help in a real workday?

The site does not open — but the internet works

One possible check is the local DNS cache. When the diagnosis is appropriate, a dedicated clearing operation can be used instead of guiding each employee separately through the command line. This is a targeted check, not an automatic solution to every browsing problem.

The backup service stopped responding

After examining the cause, the IT person can start or restart the relevant backup services. At the end, check that the service has resumed operation and that the backup result is correct — merely running the script is not proof that the backup succeeded.

Maintenance that does not wait for 'when there is time'

Defined actions such as clearing temporary files, collecting information, or checking a system component can be integrated into the maintenance routine. Scheduling or linking to an alert requires configuration in the system; having a script in a directory does not mean it is already running in the background.

DiagnosisDefine what needs to be checked
SelectionMatch script and computer
ExecutionRun at the appropriate time
VerificationCheck output and result

Library map: what is available for operation?

The graphs show the number of available actions, not performance data or a promise of time savings.

Division by operating system

36Scripts in the library

Windows 24 actions

macOS 12 actions

Each script is counted once according to the operating system it is intended for.

Actions by category

Operation and backup services connection 6 actions

Diagnosis, cleaning, and maintenance 13 actions

Computer and device management 10 actions

Package managers 4 actions

System updates 3 actions

Classification according to the main purpose of each action. The full action names can be found in the table below.

Scripts available in the account

36 actions for maintenance, diagnosis, and operation. Search by task or filter by operating system.

36 scripts
Script nameWhat does it do?Emphasis on execution
Add-WindowsFirewallRules
Windows · PowerShell 3.0+
Creating Windows firewall rules for the backup agent.Changing network rules
Check-Disk
Windows · PowerShell 3.0+
Checking and repairing storage, similar to chkdsk.Disk repair — schedule maintenance
Check-WakeOnLan
Windows · PowerShell 3.0+
Checking Wake-on-LAN settings on physical wired network interfaces.Diagnosis
Check-WinGet
Windows · PowerShell 5.0+
Checking if the WinGet package manager is installed on the computer.Diagnosis
Clear-DNSCache
Windows · PowerShell 3.0+
Clearing the local DNS cache as part of handling address resolution issues.Clearing cache
Clear-FirefoxCache
Windows · PowerShell — all versions
Clearing the Firefox cache to troubleshoot loading or display issues.Clearing cache
Clear-GoogleCache
Windows · PowerShell — all versions
Clearing the cache in Google Chrome.Clearing cache
Clear-IECache
Windows · PowerShell — all versions
Clearing the Internet Explorer cache in environments where it is relevant.Legacy browser component
Disable-WakeOnLan
Windows · PowerShell 3.0+
Disabling Wake-on-LAN on physical wired network interfaces.Restarting a network interface and disconnecting connections
Enable-WakeOnLan
Windows · PowerShell 3.0+
Enabling Wake-on-LAN on physical wired network interfaces.Restarting a network interface and disconnecting connections
Fix-WUDataBaseError
Windows · PowerShell 3.0+
Handling a corrupted Windows Update agent database.Repairing a system component
Get-PSVersionInfo
Windows · PowerShell — all versions
Displaying PowerShell version information.Collecting information
Get-SystemInfo
Windows · PowerShell — all versions
Collecting system and operating system properties.Collecting information
Install-WinGet
Windows · PowerShell 5.0+
Installing WinGet on Windows Server 2019/2022 systems supported with Desktop Experience.Restarting the RMM agent service
MacOS_CleaningAndOptimization
macOS · Bash
Performing cleanup and optimization actions.Check the scope of the cleanup
MacOS_ClearsCaches
macOS · Bash
Clearing caches and system logs.Cleaning files and logs
MacOS_ForcesExecutionServiceScripts
macOS · Bash
Manually running daily, weekly, and monthly maintenance scripts.Maintenance
MacOS_ForcesRestart
macOS · Bash
Forced operating system restart.Reboot — coordinate with the user
MacOs_Install_Homebrew
macOS · Plugins
Installing the Homebrew package manager.Installing component
MacOS_InstallsAllAvailableUpdates
macOS · Bash
Installing all available updates.System update — coordinate maintenance
MacOS_InstallsAllRecommendedUpdates
macOS · Bash
Installing all recommended updates.System update — coordinate maintenance
MacOS_NoSleep1h
macOS · Bash
Preventing sleep for one hour when the Mac is connected to power.Changing sleep behavior times
MacOS_NoSleep2h
macOS · Bash
Preventing sleep for two hours when the Mac is connected to power.Changing sleep behavior times
MacOS_NoSleep4h
macOS · Bash
Preventing sleep for four hours when the Mac is connected to power.Changing sleep behavior times
MacOS_SpotlightOptimization
macOS · Bash
Deleting and rebuilding the Spotlight index.Rebuilding the index
MacOs_Uninstall_Homebrew
macOS · Plugins
Uninstalling the Homebrew package manager.Removing a component
Optimize-Disk
Windows · PowerShell 3.0+
Defragmenting storage media. Check suitability for the drive type.Storage maintenance
Remove-TempFiles
Windows · PowerShell — all versions
Deleting temporary files from Windows and user folders.Deleting temporary files
Remove-WindowsFirewallRules
Windows · PowerShell 3.0+
Removing firewall rules of the backup agent.Changing network rules
Restart-Computer
Windows · PowerShell — all versions
Immediate computer restart.Immediate reboot
Restart-OnlineBackupServices
Windows · PowerShell 3.0+
Restarting the backup service and the backup remote management service.Restarting backup services
Start-OnlineBackupServices
Windows · PowerShell 3.0+
Starting the backup service and its remote management service.Starting services
Stop-OnlineBackupServices
Windows · PowerShell 3.0+
Stopping the backup service and its remote management service.Stopping backup services
Test-MBSConnection
Windows · PowerShell 3.0+
Checking TCP communication for MBS server ports.Communication diagnostics
USB-drives-Block
Windows · PowerShell 3.0+
Blocking use of USB drives.Changing device policy
USB-drives-Unblock
Windows · PowerShell 3.0+
Unblocking use of USB drives.Changing device policy
Good automation starts with good testing.

Restarting the computer, changing general firewall settings, blocking USB ports, or restarting the network interface may affect operations. Check the script content, permissions, and system compatibility, and start on a test computer before a wide deployment. Operational emphasis is indicated next to relevant actions in the table.

How to get started

  1. Choose a repetitive action and define what will be considered success.
  2. Read the script and its requirements. Some actions are intended for specific PowerShell versions.
  3. Test in an appropriate environment, document the result, and only then expand usage.
  4. For disruptive actions, define a maintenance window and coordinate with users.
  5. If periodic execution is required, define it explicitly and verify that the runs occur.

Frequently asked questions

Does the script replace the computer technician?

It performs a pre-defined task. Diagnosis, permission adjustment, choosing execution timing, and checking the result remain part of professional work. There is no promise of a fixed savings rate here.

Are all scripts suitable for every computer?

No. The operating system, PowerShell version, installed software, and execution permissions affect compatibility. For example, Install-WinGet in the list indicates support for Windows Server 2019/2022 with Desktop Experience.

Can we add our own actions?

Yes. You can add standalone scripts and customize the actions for your work environment. Before regular use, check the code, permissions, and results on a test machine.

Is this a list that updates automatically?

No. The list includes the 36 scripts currently available in the account. Adding or removing scripts in the system does not automatically change the article.

Start with the task that slows you down the most.

We will review together which actions can be organized and optimized in your computing environment.

To schedule a call with BackupONE →

Continue reading