Monday, May 11, 2020
PowerShell Script: Get Inactive AD Users
Simple script to show inactive Active Directory users. Export data to CSV.
Based on Last Logon Time Stamp.
Link for download:
Get-InactiveADUsers-CSV.ps1
Tuesday, April 21, 2020
How to view Msol User Groups in Powershell
Sometimes th administrator needs to know which groups the Office 365 user is member of.
You can use the command Get-MsolUserGroup to resolve this issue.
Installtion
Install-Module -Name Microsoft365.Toolbox
Usage
Import-Module ActiveDirectory.Toolbox
Commands
Get-MsolUserGroup [-UserPrincipalName]
Note:
#Requires -Modules MSOnline
You can use the command Get-MsolUserGroup to resolve this issue.
Installtion
Install-Module -Name Microsoft365.Toolbox
Usage
Import-Module ActiveDirectory.Toolbox
Commands
Get-MsolUserGroup [-UserPrincipalName]
Link for download
Note:
#Requires -Modules MSOnline
Monday, February 17, 2020
Happy Birthday, Active Directory!
Introduction of Active Directory to the world was part of the release of Windows 2000 Server on February 17, 2000.
Happy Birthday 20th, Active Directory!
Friday, February 14, 2020
How to view BitLocker Recovery Key in PowerShell
How to view LAPS password in PowerShell
Subscribe to:
Posts (Atom)







