Tag: System Administration
-
Remotely Forcing a Restart of a Windows Server Using PowerShell
PowerShell provides administrators the ability to remotely restart Windows Servers, streamlining server management across various locations. To execute this, ensure Windows Remote Management is enabled and firewall ports 5985 and 5986 are open. Use the Restart-Computer cmdlet with appropriate credentials, supporting both immediate and delayed restarts, enhancing operational efficiency. Read more…
-
How to Securely Remove Linux Log .gz Archives: A Comprehensive Guide
System administrators often face the challenge of managing log files in Linux. Over time, log files accumulate and are compressed into .gz archives to save space. While this is an effective way to manage storage, these files can eventually pile up, consuming disk space unnecessarily. This article explores efficient methods to find and remove .gz… Read more…
-
Different Use Cases of Bash and EXP (Expect)
What Bash can do, Expect can also achieve; but what Expect can do, Bash may not necessarily be able to accomplish. In system administration and automation tasks, bash and EXP (the command from the Expect tool) are two powerful utilities. While both are used in the command-line environment to execute tasks, they serve distinct purposes… Read more…