Powershell
get a list of users in AD vs Distribution list to clean up Connect-AzureAD Get-AzureADGroup Get-AzureADGroup -ObjectId 93c7b6c6-a5f0-451f-808f-28d5eafe60...
Tue, 17 Sep, 2024 at 9:44 AM
This is a Windows batch script that creates folders for each file in the current folder that the script is running. The folders are created with folder name...
Mon, 28 Mar, 2022 at 2:00 PM
You have to have the ntfssecurity powershell module installed, to do that, open powershell and run the command.. Install-Module -Name NTFSSecurity cd ...
Tue, 8 Mar, 2022 at 10:37 AM
Prerequisite - Download SharePoint Online Client Components SDK from Official Microsoft Download Center For reference - SharePoint Online: Download All...
Tue, 25 Jul, 2023 at 2:07 PM
-First export the numbers from the Extension list to a .csv file using data - get data - from file -Once exported, clean up the data as much as possible, d...
Mon, 22 Jan, 2024 at 4:42 PM
To get the current power plan..
---------------------start code---------------------------------------------
# Get the active power scheme
$activeScheme = ...
Wed, 31 Jan, 2024 at 1:55 PM
# Import Active Directory module (if not already loaded) Import-Module ActiveDirectory # Function to check if an OU contains any computers function Ha...
Tue, 27 Feb, 2024 at 11:52 AM
# Import the Active Directory module Import-Module ActiveDirectory # Get the current date $currentDate = Get-Date # Define the number of days of i...
Tue, 25 Jun, 2024 at 10:16 AM
PowerShell doesn’t have built-in support for reading Excel files, but we can use the ImportExcel module. You can install it using Install-Module -Name Impor...
Wed, 27 Mar, 2024 at 11:13 AM
This is how to change the Date Format in O365 online apps to the Australian Date Format (DD/MM/YYYY) instead of the US Date Format (MM/DD/YYYY). The pre...
Thu, 20 Jun, 2024 at 11:07 AM