Skip to content

SysteembeheerHelper

Description

PowerShell module for system administration tasks, providing a variety of helper functions for managing Active Directory, Azure AD, Group Policy, and other administrative tasks.

GitLab Repository

Features

  • Manage Active Directory and Azure AD users, groups, and sessions.
  • Optimize objects and strings by removing unnecessary properties or characters.
  • Generate shortened URLs, clipboard text, and Google search links.
  • Automate tasks like starting scheduled tasks, managing RDP sessions, and preventing sleep mode.
  • Retrieve and display dispatch statistics and other system information.
  • Provide GUI-based tools for common administrative tasks.

Functions

Active Directory and Azure AD

  • Stop-ADUserRDPSessions: Terminate RDP sessions for a specified Active Directory user.
  • Start-EntraIDSync: Start an Azure AD Connect synchronization cycle.

Optimization

  • Optimize-Object: Optimize a PowerShell object by removing null or empty properties.
  • Optimize-String: Optimize a string by removing or replacing specific patterns.

URL and Clipboard Management

  • New-TinyURL: Generate a shortened URL using the TinyURL service.
  • New-LMGTFY: Generate a "Let Me Google That For You" link.
  • Set-TextInClipboard: Copy a string to the clipboard and provide options for further actions.

System Utilities

  • Start-Awake: Prevent the system from entering sleep mode by starting an "Awake" job.
  • Stop-Awake: Stop the "Awake" job that prevents the system from entering sleep mode.
  • Restart-Powershell: Restart the current PowerShell session.
  • Test-RunningAsAdmin: Check if the current PowerShell session is running with administrative privileges.

Group Policy

  • Search-GPO: Search for a specific string in all Group Policy Objects (GPOs).

Dispatch and Toolbox

  • Show-DispatchHelper: Display dispatch statistics from the HEAT system.
  • Show-Toolbox: Start the system administration toolbox GUI.

Telnet and Network

  • Start-Telnet: A full-featured telnet client using PowerShell and the .NET Framework.

Miscellaneous

  • Request-Choice: Display a choice prompt to the user and return the selected option.
  • Select-Unique: Select unique objects based on specified properties.
  • Test-URI: Test the validity and response of a given URI.

Roadmap

  • Add more functions for advanced Active Directory and Azure AD management.
  • Expand optimization functions for additional use cases.
  • Enhance GUI-based tools for better user experience.

Changelog

  • 14/08/2019: Initial release of the SysteembeheerHelper module.
  • 27/03/2025: Added new functions for managing RDP sessions, optimizing objects, and testing URIs.
  • 02/04/2025: Updated documentation and added new examples for existing functions.