PowerShell
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...
Quickly generate HTML reports of Hyper-V hosts and VM’s
Introduction to Hyper-V and PowerShell Hyper-V is a virtualization technology developed by Microsoft that allows users to create and manage virtual machines (VMs) on Windows operating systems. It provides a robust platform for deploying and running multiple operating...
Quickly clear the Windows Temp Directory with PowerShell: Take Ownership of Stubborn Files and Folders
The Temp Directory (Space eater) The never ending directory that fills up with almost everything. As IT Admins, one of the first places we look to clear up space is the directory "C:\Windows\Temp" as this folder can grow pretty large over time causing issues on a...
Quickly Manage Mailbox Quotas with PowerShell: Setting and Viewing Quotas
Introduction to Mailbox Quotas in Exchange Mailbox quotas are essential components of Microsoft Exchange, serving as crucial controls that manage the storage capabilities allocated to individual mailboxes within an organization. In environments like Exchange 2016 and...
Quickly use PowerShell and Log Parser to analyze RCA Logs in Exchange 2016
Introduction to Log Parser and RCA Logs in Exchange 2016 Tracking Outlook Versions being used in your Exchange 2016 environment is always something that is asked by management as they need to know what legacy versions of Outlook are being used and to plan for...
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...
How to Turn on Microsoft Defender Credential Guard with PowerShell
Introduction to Microsoft Defender Credential Guard Microsoft Defender Credential Guard is a security feature designed to protect sensitive information in Windows environments. By leveraging virtualization-based security, it isolates secrets such as user credentials...
How to Update the Lockout Threshold in Windows Using PowerShell: A Guide to the ‘Net Accounts Lockout Threshold’ Command
Introduction to Account Lockout Threshold The account lockout threshold is a crucial security feature in Windows operating systems, including Windows 10 and Windows 11, designed to protect user accounts from unauthorized access. Essentially, it dictates the number of...
Launching PowerShell from a Windows Directory
Launching PowerShell from a Windows directory can be done in a few simple steps. First, open File Explorer and navigate to the directory where you want to launch PowerShell. Once you are in the desired directory, you can launch PowerShell by following these steps:...
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...