
Other Articles

Generating an Active Directory Report with PowerShell: Monitoring Services, Uptime, and Free Space
Introduction to Active Directory and PowerShell Active Directory (AD) is a crucial component of Microsoft Windows-based networks, providing a directory service that enables centralized management of various network resources. It allows administrators to control user...

Resolving the ‘Get-MgServicePrincipal: Insufficient Privileges’ Error in PowerShell
Understanding the Error The 'get-mgserviceprincipal: insufficient privileges to complete the operation' error is a common issue encountered by users of PowerShell, particularly when handling Microsoft Graph service principals. This error primarily indicates that the...

Removing an Extension Attribute from an Account in Active Directory using PowerShell
Removing an Extension Attribute from an Account in Active Directory using PowerShell In this blog post, we will discuss how to remove an Extension Attribute from an account in Active Directory using PowerShell. Extension Attributes are custom attributes that can be...

Managing Active Directory and ExtensionAttributes with PowerShell
Introduction to Active Directory and PowerShell Active Directory is a directory service developed by Microsoft for Windows domain networks. It is used to manage and organize resources such as users, computers, and groups within a network. Active Directory provides a...

How to Reset Delegate User Rights in PowerShell
Delegate user rights in Microsoft Exchange allow users to manage another user's mailbox, including accessing and managing their calendar. However, there may be situations where you need to reset delegate user rights to resolve issues or make changes to permissions. In...

Remove Delegate Permissions with PowerShell in Exchange Online
Delegate permissions in Exchange Online allow users to manage another person's mailbox, calendar, or tasks. However, there may be instances where you need to reset these delegate permissions for various reasons, such as when an employee leaves the organization or when...

Quickly Reboot a Windows Server remotely with PowerShell.
One of my Exchange 2019 Core Servers in my lab locked up and was not responding and when it did respond was giving errors when running commands but the same commands worked on another server. As these are virtual machines, you can reboot it from the HyperVisor but...

Find the open ports of a host using PowerShell
In the hacking world, we know that Tools such as NMAP gives you a breakdown of the open ports, services etc. which is great and you can also check an open port using Telnet, but if you are restricted with tools and cannot add new...

Find devices on the network using PowerShell
As an ethical Hacker, we are always looking for devices that are available on the network that we can scan. NMAP does a brilliant job by telling us which hosts are alive on the network but so do many other applications such as Angry IP Scanner, SolarWinds etc. If you...

Display the Folder Size and the files contained within it using PowerShell
Many of us are always looking at what is using space on a server because one of the monitoring solutions has such as SolarWinds, SCOM or LabTech have sent an alert that the C:\ Drive has gone below 15% or whatever threshold you have set. Many of these are enterprise...