Get All Files from a Folder using PowerShell

As IT professionals, managing files and folders is an inevitable part of our daily responsibilities. From system-generated log files to user-created spreadsheets and documents, the number of files we handle often reaches into the tens, if not hundreds of thousands. Locating specific files quickly then becomes critical for tasks like troubleshooting, reporting,…

Read more

Office 365: Convert Distribution List to Security Group using PowerShell

As companies grow, their network infrastructure, including their email system, needs to scale with them. One of the most common changes required is to convert a Distribution Group to a Security Group in Office 365 to enhance access control and security. Distribution Lists and Security Groups both have their own unique purposes…

Read more

Office 365: How to Delete a Security Group in using PowerShell?

Office 365 utilizes security groups to manage permissions for users to access shared resources like Exchange mailboxes, SharePoint sites, Teams, etc. As an Office 365 admin, you may need to delete obsolete or unused security groups to clean up your permissions structure. Deleting a security group in Office 365 can be done…

Read more

Office 365: Add User to Shared Mailbox using PowerShell

As an Office 365 user, one of the common tasks that you may encounter is adding users to shared mailboxes. Shared mailboxes are a great way to allow a group of people within an organization to read and send email messages from a common mailbox. This allows you to provide access to…

Read more

Office 365: How to Create a Security Group?

Managing user permissions and access to resources is a crucial part of securing your organization’s Office 365 environment. One of the main ways to control these permissions is through security groups. In Office 365, security groups play a vital role in managing access and permissions for users within an organization. By creating…

Read more

PowerShell Get-Member: A Beginner’s Guide

PowerShell’s Get-Member cmdlet is an invaluable tool for any scripter looking to better understand objects in PowerShell. With Get-Member, you can view an object’s properties and methods to see what you can do with the object. Whether you are a beginner or an experienced user, understanding how to leverage the Get-Member cmdlet…

Read more

PowerShell: Loop through an Array

Hey there! If you’re starting your PowerShell journey, you might be wondering how to work with arrays. Arrays, essentially collections of items, are pretty common in scripting and automation tasks. Looping through an array is a fundamental concept, and PowerShell includes several methods for iterating or looping through arrays to access and…

Read more

How to create a Subsite Even If the subsites creation is disabled in SharePoint Online?

Update: Things are changed now! You can’t create a subsite if the subsite creation is disabled on the Admin Center! If you try to create a subsite through web browser, You’ll get “New subsites are not available for your organization. Create a new site instead.” message and PowerShell says “New subsites are…

Read more

PowerShell Command History: A Comprehensive Guide

For PowerShell enthusiasts and novices alike, one of the most invaluable features is the ability to recall previously executed commands. By accessing and utilizing the command history, users can easily recall and rerun commands, saving time and effort. In this comprehensive guide, we will explore various aspects of PowerShell command history, including…

Read more