Create account
Login
English
English
Ja - 日本語
Getting Started
Product
Datasheet
Blogs
ebook
Android Management
Windows Management
How to Videos
Android
Windows
Scripting
Glossary
Contents
x
Getting started
Android Device Management
Windows Device Management
iOS Device Management
macOS Device Management
Linux Device Management
ChromeOS Device Management
OneIdP
Veltar
Dashboard
Reports & Workflows
Content Management
Integrations
Universal Features
Account Management
OS Update & Third Party App Patch Management
Scalefusion Releases
Alerts
Powered by
Powershell Scripts & Custom Payloads
53 Articles
in this category
Share this
Print
Share
Contents
Powershell Scripts & Custom Payloads
53 Articles
in this category
Share
Powershell Scripts & Custom Setting Payloads
Powershell Scripts Scalefusion offers support to remotely deploy and execute Powershell scripts. PS scripts are a great way to automate the management of systems and let IT Admins perform various actions remotely from the Scalefusion console. We ha...
Updated on : 13 Aug 2024
Restrict Copy/Paste function on Windows devices
This PowerShell script helps IT Admins to restrict/block the copy/paste function on Windows 10 and above devices. Create a file on your desktop, for example, ClipboardHandlerServiceEx.ps1 and open it in a text editor like notepad++ Copy th...
Updated on : 17 May 2024
Block Chrome and Edge browser extensions Windows 10 and above devices
The following PowerShell scripts helps the IT Admins to block Chrome and Edge browser extensions on their managed Windows 10 and above devices. Create a file on your desktop, for example, block_edge_extensions.ps1 and block_chrome_extensions.p...
Updated on : 13 Aug 2024
Change TPM pin or Password for SystemDrive on Window 10 and above devices.
This PowerShell script helps IT Admins to change the TPM pin or Password for SystemDrive on Window 10 and above devices. Create a file on your desktop, for example, ChangeTPMPinOrPasswordOnSystemDrive_v2.ps1 and open it in an editor like notepa...
Updated on : 23 Jul 2024
Uninstall exe applications from Windows devices.
The following PowerShell script helps the IT Admins to uninstall Exe application(s) from their managed Windows devices. Create a file on your desktop, for example, uninstall_exe.ps1 and open it in a text editor like notepad++ Copy the c...
Updated on : 14 Mar 2024
Turn Off/On LAN adapter on Windows devices.
The following PowerShell scripts helps IT Admins to turn on or off the LAN network adapter on Windows 10 and above devices. (A) Turn off LAN network Create a file on your desktop, for example, turn_off_network.ps1 and open it in a text edit...
Updated on : 11 Mar 2024
Create Web shortcuts for Allowed website(s).
The following PowerShell script helps IT Admins to create a web shortcut for the Allowed Websites on the desktop of their managed Windows devices with Skip Application Policy . Create a file on your desktop, for example, create_web_shorcut.ps...
Updated on : 26 Feb 2024
Silently Enable BitLocker on Windows devices.
The following PowerShell script helps IT Admins to silently encrypt their managed Windows 10 and above devices with BitLocker. Create a file on your desktop, for example, silently_enable_bitlocker.ps1 and open it in a text editor like notepa...
Updated on : 21 Feb 2024
Change Username and full name.
The following PowerShell script helps the IT Admins change the username and full name of the users on the managed Windows devices. Create a file on your desktop, for example, To_change_username_and_fullname.ps1 and open it in a text editor like ...
Updated on : 03 Nov 2023
Delete the contents of a specified directory.
The following PowerShell script helps the IT Admins to clear the contents of a specified directory on a managed Windows devices. Create a file on your desktop, for example, DeleteFilesandFolders.ps1 and open it in a text editor like notepad++ ...
Updated on : 25 Dec 2023
Install Google Credential Provider for Windows
Google Credential Provider for Windows® (GCPW) lets users sign in to Windows® devices with the Google Account they use for work. GCPW provides users with a single sign-on experience to Google services and all the security features available with t...
Updated on : 27 Sep 2023
Install Google Chrome or Microsoft Edge Browser extensions
Scalefusion allows IT Admins to extensively manage Google Chrome and/or Microsoft Edge browsers right from the device profile . However enterprises using Google Chrome or Microsoft Edge often have requirements to force install certain browser exten...
Updated on : 27 Sep 2023
Disabling Task Manager in Ctrl+Alt+Del Menu
Task Manager is a system monitoring tool built into the Windows operating system. It allows users to end unresponsive processes, start new processes, and see how much memory and CPU resources are being used by different programs. On your Windows 10...
Updated on : 27 Sep 2023
Hide News icon from taskbar on Windows 10 and above
On your Windows 11 devices when you select or hover your mouse on the Weather app icon in your taskbar, it opens the News and Interests window. From here you can see content covering the news, weather, traffic, and more. You can use the following...
Updated on : 27 Sep 2023
Add Lock screen message
The following PowerShell script helps the IT Admins to add a message on the Lock screen on Windows 10 & above devices. Create a file on your desktop, for example, configure_lock_screen_message.ps1 and open it in a text editor like notepad++ ...
Updated on : 27 Sep 2023
Replace current Time zone settings
This Custom Payload helps the IT Admins to replace the Time zone settings on Windows 10 and above devices. Step 1: Create the Custom Payload Copy the XML snippet below to a text editor like notepad++ or to any text editor. Markup Markup ...
Updated on : 27 Sep 2023
Format non-OS Drives and OS Drive data folders
The following PowerShell script will help the IT Admins to format the OS and non-OS Drives on Windows 10 & above devices. Create a file on your desktop, for example, format_nonOS_OS_drive.ps1 and open it in a text editor like notepad++ Copy...
Updated on : 27 Sep 2023
Restrict Users from saving files on the Desktop
The following PowerShell script helps the IT Admins to prevent the users from being able to save a file directly on the Desktop. Create a file on your desktop, for example, restrict_desktop.ps1 and open it in a text editor like notepad++ Copy t...
Updated on : 22 Jan 2024
Uninstall MSI application
The following PowerShell script helps IT Admins to uninstall an MSI application from the managed Windows devices. Create a file on your desktop, for example, uninstall_application_msi-installer.ps1 and open it in a text editor like notepad++ Co...
Updated on : 27 Sep 2023
Get BitLocker Recovery Key
This PowerShell script helps IT Admins to get the BitLocker Recovery key from Windows 10 and above devices. Scalefusion retrieves the BitLocker Recovery key from the devices, however, in case the Key is not fetched, the following PowerShell scrip...
Updated on : 27 Sep 2023
Show/Hide WiFi menu on Lock Screen
The following two Custom Settings Payloads will help IT Admins to either show or hide the WiFi menu icon on the Windows Lock screen. (A) Show WiFi menu on the Lock screen This Custom Settings Payload helps the IT Admins to show the WiFi icon on th...
Updated on : 27 Sep 2023
Change Time Server in Windows devices
The following Power Shell Script helps the IT Admins to set up a Time Server on their Windows devices. Time Servers help to ensure accurate and synchronized timekeeping across devices on a network as these are critical for compliance, security, trou...
Updated on : 28 Sep 2023
Temporarily upgrade a Standard user to Admin user and then downgrade it.
These PowerShell scripts allow Admin to temporarily elevate a local Standard User to an administrator on a device and then downgrade the same user to a Standard user. There are two ways an Admin can choose to elevate Standard User to Admin and then...
Updated on : 27 Sep 2023
Update Local User passwords on multiple devices
This PowerShell script helps IT Admins to change the passwords of the Local User accounts (Standard accounts) on Windows 10 and above devices. It will help IT Admins to push a new password to one or more local use on one or more devices. Create ...
Updated on : 17 May 2024
Restrict USB access on Windows Home
The following PowerShell script helps the IT Admins to block USB devices like Pendrive, external HDD, SDD. Create a file on your desktop, for example, restrict_usb_access.ps1 and open it in a text editor like notepad++ Copy the contents below to ...
Updated on : 28 Sep 2023
Enable Virtual Keyboard on Windows devices
This Custom Payload will help the IT Admins to enable virtual keyboard (or Tablet mode) on the managed Windows 10 and above devices where the device is set in Single App Mode and touch screen keyboard is the only input method. Step 1: Create the Cu...
Updated on : 22 Feb 2024
Rename files on Windows devices
The following PowerShell script helps the IT Admins to rename files on multiple managed Windows devices. Create a file on your desktop, for example, rename_files.ps1 and open it in a text editor like notepad++ Copy the contents below to...
Updated on : 17 May 2024
Delete files and folders on Windows devices.
The following PowerShell script helps the IT Admins to delete outdated files and folders remotely on managed Windows devices. Create a file(s) on your desktop, for example, DeleteFiles.ps1/ DeleteFolder.ps1 and open it in a text editor like ...
Updated on : 17 May 2024
Set device volume on Windows devices
The following PowerShell script helps the IT Admins to configure device volume remotely on managed Windows devices. This is particularly useful for devices that are exposed to the public, such as those in classrooms, conference rooms, and similar s...
Updated on : 02 Feb 2024
Set Active hours on Windows 10 and above devices
Active Hours, a feature in Windows 10 and above, allows you to specify the times when you are most likely to use your computer. The main purpose of Active Hours is to prevent automatic reboots after a Windows Update. Setting the active hours would ...
Updated on : 02 Feb 2024
Device performance details of Windows devices
The following PowerShell script helps the IT Admins to get the details of various performance parameters like CPU usage, memory usage, disk usage, total physical memory, available physical memory, virtual memory available, and virtual memory in use...
Updated on : 02 Feb 2024
Enable or Disable WinRE on Windows devices
Windows Recovery Environment (WinRE) is a specialized, minimal operating system designed to help troubleshoot and repair issues that may prevent normal Windows startup. It plays a crucial role in system recovery, allowing users to perform troublesh...
Updated on : 02 Feb 2024
Display Firewall profile for Windows devices
For an IT Admin, understanding firewall profile details proves beneficial when addressing firewall-related challenges and ensuring adherence to organizational policies. It provides valuable insights for troubleshooting issues and validating complia...
Updated on : 02 Feb 2024
Enable or Disable keyboard shortcuts on Windows devices
Utilizing keyboard shortcuts is a convenient method for swiftly executing various actions on devices. Nevertheless, there might be instances where you wish to deactivate specific keyboard shortcuts based on your requirements. The following Power...
Updated on : 02 Feb 2024
Disable BitLocker on Windows devices
Integrated into the Windows operating system, BitLocker serves as a security feature designed to implement encryption on system drives, fixed data drives, and removable drives for enhanced data protection. However, there may arise situations where ...
Updated on : 02 Feb 2024
Turn Bluetooth status On/Off on Windows devices
The following PowerShell script helps the IT Admins to remotely turn On/Off the Bluetooth state on multiple managed Windows devices. Create a file on your desktop, for example, turn_on_off_bluetooth.ps1 and open it in a text editor like note...
Updated on : 02 Feb 2024
Force close apps on Windows devices
At times, devices may experience situations that necessitate users to close currently active applications. This might be due to factors such as utilizing an outdated app version, running an excessive number of applications simultaneously, facing sp...
Updated on : 02 Feb 2024
Fetch Drive Information of Windows devices
The following PowerShell script helps the IT Admins to remotely get the information about Drive(s) like the size, list of the contents stored on it, etc. on their managed Windows devices. Create a file on your desktop, for example, fetch_driv...
Updated on : 02 Feb 2024
Microsoft OS License details on Windows devices
Operating system licenses are contractual agreements permitting users to legally utilize and access the software. Admins play a crucial role in ensuring that the Microsoft OS licenses align with the organization's terms, including verifying the acc...
Updated on : 02 Feb 2024
Fetch details of running processes on Windows devices
A multitude of processes and programs operate continuously on a device, running in both the foreground and background. IT administrators may need insights into processes, considering factors such as memory usage, CPU time, process owner, and more, ...
Updated on : 02 Feb 2024
Check available Disk Space on Windows devices
Low disk space is a silent productivity killer. To ensure critical updates and resources deploy smoothly, IT admins must proactively monitor and manage storage, preventing disks from choking on unnecessary data. The following PowerShell script h...
Updated on : 08 Feb 2024
Battery Health of Windows devices
Fueling employee productivity starts with keeping devices charged. Proactive battery management lets you prevent disruptions, extend lifespans, and optimize performance for a seamless and efficient work experience. The following PowerShell scrip...
Updated on : 02 Feb 2024
Disable automatic Microsoft Store apps updates on Windows devices.
Microsoft Store apps are set to automatically check for and install updates on Windows devices without user involvement. However, this background process can have notable effects on data usage and battery life. As a result, users with limited inter...
Updated on : 02 Feb 2024
Set Date format on Windows devices
The following PowerShell script helps the IT Admins to change the date format on their managed Windows devices. Create a file on your desktop, for example, set_date_format.ps1 and open it in a text editor like notepad++ Copy the contents ...
Updated on : 17 May 2024
Set File/Folders permissions on Windows devices
Windows provides a flexible way to manage file and folder access through multiple permission levels. IT Admins can grant different levels of access (read, write, modify, etc.) to individual users or groups, ensuring that only authorized individuals...
Updated on : 02 Feb 2024
Clear Temporary Files on Windows devices
Clearing caches on a Windows device becomes particularly beneficial when experiencing performance issues or a slowdown, often noticeable after extended internet usage, Windows updates, or prolonged periods without a system restart. Depending on you...
Updated on : 02 Feb 2024
Create Folder on Windows devices
The following PowerShell script helps the IT Admins to create folder shortcuts on the deskop for easy access on their managed Windows devices. Create a file on your desktop, for example, folder_shortcut.ps1 and open it in a text editor like ...
Updated on : 02 Feb 2024
View Files and Folders on Windows devices
The following PowerShell script helps the IT Admins to get the list of files and folders on their managed Windows devices. Create a file on your desktop, for example, list_of_files_folders.ps1 and open it in a text editor like notepad++ ...
Updated on : 02 Feb 2024
Get list of previously connected Wi-Fi networks on Windows devices
Unsecured Wi-Fi networks lurk around every corner, posing a major risk to corporate data. That's why administrators need to keep a watchful eye on where their devices are connecting. Monitoring Wi-Fi connections helps ensure they only land on safe ...
Updated on : 02 Feb 2024
Set Screensaver on Windows devices
Screensavers aren't just pretty distractions. They can be used strategically to display important information transforming it into a powerful tool for branding, privacy, and even communication. The following PowerShell script helps the IT Admins...
Updated on : 02 Feb 2024
Grant access to specific folder on Windows devices
This PowerShell script helps IT Admins to grant full access to a specific folder for a user account on their managed Windows devices. Create a file on your desktop, for example, grant_specific_folder_access.ps1 and open it in a text editor l...
Updated on : 02 Feb 2024
Restrict use of Internet Connection Sharing (ICS) on DNS domain network
Internet Connection Sharing (ICS) is a feature in Microsoft Windows operating systems that allows a computer to share its internet connection with other devices on the same local area network (LAN). Essentially, one computer with a working internet...
Updated on : 02 Feb 2024
Enable Firewall on Windows devices.
The following PowerShell script helps the IT Admins to enable Firewall on their managed Windows devices. Create a file on your desktop, for example, enable_firewall.ps1 and open it in a text editor like notepad++ Copy the contents below...
Updated on : 02 Feb 2024