Guides tagged “powershell”
Step-by-step MdmHost guides about powershell, sorted A-Z.
16 guides
Add or remove Windows roles and features
List, install and remove Windows Server roles and Windows 10/11 optional features with PowerShell, and keep the server lean.
Advanced Windows Security: Restricting PowerShell Execution Policies
Lock down PowerShell on your Windows VPS by setting execution policies per scope, enforcing them with Group Policy, and signing your own scripts so only trusted code runs.
Change the Remote Desktop port safely
Open the new port in Windows Firewall first, change the RDP port in the registry, restart the service and connect on the new port.
Check the Windows Firewall rule for RDP port 3389
Find and verify the inbound TCP 3389 rule that lets Remote Desktop reach your server, recreate it if it was deleted and scope it without locking yourself out.
Create Windows users with Remote Desktop access
Give each person their own Windows login, add them to Remote Desktop Users, test the account and remove access cleanly later.
Install a trusted TLS certificate for Remote Desktop
Replace the self-signed Remote Desktop certificate with a CA-issued one, bind it to the RDP listener with PowerShell, connect by hostname on port 3389 and plan renewals.
Install OpenSSH Server on Windows for SSH and SFTP
Install and start OpenSSH Server, connect over SSH, set PowerShell as the default shell, add admin SSH keys and copy files with SFTP.
Install Windows updates from PowerShell with PSWindowsUpdate
Use the PSWindowsUpdate module to list, install and hide Windows updates from PowerShell, control when the server restarts, and run updates on a schedule.
Manage local users and groups on Windows Server
Create, change and remove local users and groups with lusrmgr.msc or PowerShell, understand Remote Desktop Users versus Administrators, and choose between disabling and deleting.
Manage Windows Defender Firewall on Windows Server with PowerShell
Create, list, restrict and remove Windows Defender Firewall rules on a Windows VPS using the GUI and PowerShell, including limiting RDP to your IP and logging drops.
Microsoft Defender basics on Windows Server
Check Defender is running, update signatures, scan from PowerShell, and use exclusions only where a vendor recommends them.
PowerShell essentials for Windows Server administrators
The PowerShell commands every Windows Server VPS owner should know: services, processes, files, networking, users, updates and events, with safe examples.
Schedule tasks with Windows Task Scheduler
Create scheduled tasks in Task Scheduler or PowerShell, choose the right account and trigger, and fix tasks that do not run.
Set a static IP and add additional IPs on Windows Server
Configure a static IPv4 address, gateway and DNS on a Windows Server VPS and add extra IP addresses with the GUI or PowerShell, without losing RDP.
Set the time zone on Windows Server
Find and set the right Windows time zone, keep the clock synced with w32tm, and understand how it relates to broker server time.
Use the built-in OpenSSH client in Windows Terminal
Connect to your Linux VPS from Windows 10 or 11 with the built-in ssh command, create and store keys in your.ssh folder, and add a Windows Terminal profile that opens your server in one click.
Browse by topic
- Getting startedYour first hour with a new server: access, logins and basics.69 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.37 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.49 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.40 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.37 guides
- DomainsRegistering, transferring and managing domains and nameservers.20 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.19 guides
- CloudLinuxCloudLinux setup and use: LVE limits, CloudLinux Manager, CageFS and PHP/Node.js selectors.31 guides
- LiteSpeedLiteSpeed Web Server, LSCache and the LiteSpeed Cache plugin: install, settings and tuning.30 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.23 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.23 guides
- WP SquaredcPanel's WordPress platform: sites, plugins, staging and backups.9 guides
- SitePadBuild and publish websites with the SitePad builder.9 guides
- SitejetDesign, edit and publish sites with the Sitejet builder.9 guides
- WHMResellerAlpha and master resellers with WHMReseller: install, setup and use.12 guides
- VirtFusionInstall, set up and manage VirtFusion: hypervisors, packages, servers and WHMCS integration.7 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.30 guides
- PleskWebsites, email, databases and settings in the Plesk panel.52 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.40 guides
- WHMCSBilling, automation, products and client management with WHMCS.51 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.106 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.115 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.34 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.52 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.64 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.68 guides
- Linux VPSSSH, packages, services and everyday Linux administration.70 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.58 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.58 guides
Still stuck?
Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.
