Support
 
Phone Live Chat
 
Support
 
US: +1 888 720 9500
US: +1 800 443 6694
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9393

 
 
 
 
 

PowerShell library

All Windows PowerShell Entra PowerShell Graph PowerShell
  • How to get health check reports using PowerShell

    Learn more  
  • List all Active Directory servers using PowerShell Commands

    Learn more  
  • How to export AD enabled users to CSV using PowerShell

    Learn more  
  • How to find disabled users in Active Directory using PowerShell

    Learn more  
  • How to change password for AD users using PowerShell

    Learn more  
  • Get bitlocker recovery keys using PowerShell

    Learn more  
  • Create computer objects in Active Directory using PowerShell

    Learn more  
  • How to remove AD computers using PowerShell

    Learn more  
  • How to cleanup AD using PowerShell

    Learn more  
  • How to remove users from Active Directory group using PowerShell

    Learn more  
  • How to delete Active Directory users using PowerShell

    Learn more  
  • How to remove a group from other groups in Active Directory using PowerShell scripts?

    Learn more  
  • How to remove a member from a group in Active Directory using PowerShell scripts?

    Learn more  
  • How to delete a group in Active Directory using PowerShell scripts?

    Learn more  
  • How to get all active users in Active Directory using PowerShell

    Learn more  
  • How to get Active Directory group members using Get-ADGroupMember

    Learn more  
  • How to use the Get-ADUser PowerShell cmdlet

    Learn more  
  • How to get an AD user account expiration date using PowerShell

    Learn more  
  • How to add an Active Directory group to another using PowerShell scripts?

    Learn more  
  • How to create a group in Active Directory using PowerShell scripts?

    Learn more  
  • How to create a new Active Directory user account using PowerShell

    Learn more  
  • How to add an Active Directory group to another using PowerShell scripts?

    Learn more  
  • How to add users to a group in Active Directory using PowerShell

    Learn more  
  • How to import users into Active Directory from CSV

    Learn more  
  • How to disable an Active Directory account using PowerShell

    Learn more  
  • How to enable an Active Directory account using PowerShell

    Learn more  
  • How to enable an Active Directory computer account using PowerShell

    Learn more  
  • How to disable an Active Directory computer account using PowerShell

    Learn more  
  • How to enable an Active Directory user account using PowerShell

    Learn more  
  • How to find inactive Active Directory computers using PowerShell

    Learn more  
  • How to get the list of computer accounts in an Active Directory domain using Powershell

    Learn more  
  • How to get a list of Active Directory users with passwords that never expire using PowerShell

    Learn more  
  • How to get the list of all Active Directory user accounts that never expire using PowerShell

    Learn more  
  • Check AD account status using PowerShell

    Learn more  
  • How to get AD user's last logon information using PowerShell

    Learn more  
  • How to find locked out accounts in AD using PowerShell

    Learn more  
  • How to update AD user attributes using Set-ADUser

    Learn more  
  • How to search for an AD account using PowerShell script

    Learn more  
  • How to get a list of OUs in AD using PowerShell scripts

    Learn more  
  • How to move objects in AD using PowerShell scripts

    Learn more  
  • How to set a password for an AD Account using PowerShell

    Learn more  
  • How to modify AD group attributes using PowerShell scripts

    Learn more  
  • How to modify AD computer attributes using PowerShell

    Learn more  
  • How to unlock an AD account using PowerShell scripts

    Learn more  
  • How to set expiration date for AD Accounts using PowerShell

    Learn more  
  • How to modify AD account control using PowerShell scripts

    Learn more  
  • How to modify an Active Directory (AD) domain using PowerShell

    Learn more  
  • How to sync an Active Directory (AD) object using PowerShell

    Learn more  
  • How to modify an OU in Active Directory?

    Learn more  
  • How to disable a user account in Active Directory?

    Learn more  
  • How to modify an account in Active Directory?

    Learn more  
  • How to add a member to Active Directory groups using PowerShell scripts?

    Learn more  
  • How to disable a computer in Active Directory using PowerShell scripts?

    Learn more  
  • How to move a computer account in Active Directory?

    Learn more  
  • How to move AD users between OUs using Move-ADUser

    Learn more  
  • How to create a new OU in Active Directory using PowerShell scripts?

    Learn more  
  • Use the Powershell Cmdlet Get-ADDomain to get Active Directory (AD) domain information

    Learn more  
  • How to connect to Exchange Online PowerShell

    Learn more  
  • How to create a new user mailbox in Exchange Online

    Learn more  
  • How to create an Exchange Server mailbox for a user

    Learn more  
  • How to create a new distribution group in Exchange Online

    Learn more  
  • How to remove mailboxes from Exchange Online

    Learn more  
  • How to remove user mailboxes from Exchange Server

    Learn more  
  • How to create a new dynamic distribution groups in Exchange Online

    Learn more  
  • How to get dynamic distribution groups in Exchange Online and export the list

    Learn more  
  • How to get dynamic distribution group members using PowerShell from Exchange Online

    Learn more  
  • How to get distribution group members using PowerShell from Office 365

    Learn more  
  • How to add distribution group members in Exchange Online

    Learn more  
  • How to get distribution groups in Exchange Online and export the list

    Learn more  
  • How to connect to the Exchange Online PowerShell module

    Learn more  
  • How to export Office 365 group members using PowerShell

    Learn more  
  • Add users to Office 365 Groups using PowerShell

    Learn more  
  • Get Office 365 user license report using PowerShell

    Learn more  
  • View all Office 365 licenses in your account

    Learn more  
  • Assigning licenses for Office 365 users using PowerShell

    Learn more  
  • Remove Office 365 License from User Accounts using Powershell

    Learn more  
  • How to change Office 365 user licenses using PowerShell

    Learn more  
  • How to install and import PowerShell active directory module

    Learn more  
  • How to Connect to Office 365 Powershell Module

    Learn more  
  • How to check the last password change date in Active Directory using PowerShell

    Learn more  
  • How to enable the user must change password at next logon setting for Active Directory user accounts?

    Learn more  
  • How to add proxy addresses to Active Directory users using PowerShell

    Learn more  
  • How to generate and export NTFS permissions report with PowerShell scripts?

    Learn more  
  • How to set and modify folder permissions in Active Directory?

    Learn more  
  • How to Get ACL for folders using PowerShell

    Learn more  
  • How to view security permissions for any object in Active Directory (AD)

    Learn more  
  • How to clear the expiration date for a user account in Active Directory?

    Learn more  
  • How to set AD user passwords to never expire

    Learn more  
  • How to generate reports on last logon time AD computers using PowerShell scripts?

    Learn more  
  • How to view the password expiration date of Active Directory users with PowerShell scripts?

    Learn more  
  • How to backup and restore Group Policy Objects in Active Directory using PowerShell scripts?

    Learn more  
  • How to view unlinked GPOs in Active Directory?

    Learn more  
  • How to get GPOs list from a domain using PowerShell

    Learn more  
  • How to use PowerShell to get linked GPO and GPO links report

    Learn more  
  • How to create a GPO in Active Directory

    Learn more  
  • How to create or remove GPO links using PowerShell

    Learn more  
  • How to edit Group Policy Objects using PowerShell

    Learn more  
  • How to use the gpresult Powershell command

    Learn more  
  • Set-AzureADUserThumbnailPhoto

    Learn more  
  • Update-AzureADSignedInUserPassword

    Learn more  
  • Remove-AzureADUserExtension

    Learn more  
  • Confirm-AzureADDomain

    Learn more  
  • Get-AzureADDomain

    Learn more  
  • Get-AzureADContact

    Learn more  
  • Get-AzureADContactManager

    Learn more  
  • Get-AzureADDomainNameReference

    Learn more  
  • Get-AzureADDomainServiceConfigurationRecord

    Learn more  
  • New-AzureADDomain

    Learn more  
  • Remove-AzureADDomain

    Learn more  
  • Set-AzureADDomain

    Learn more  
  • Get-AzureADContactMembership

    Learn more  
  • Add-ADPermission

    Learn more  
  • Connect-AzureAD

    Learn more  
  • Disconnect-AzureAD

    Learn more  
  • Get-AzureADContactThumbnailPhoto

    Learn more  
  • Get-DomainController

    Learn more  
  • Get-OrganizationalUnit

    Learn more  
  • Remove-ADPermission

    Learn more  
  • Remove-AzureADContact

    Learn more  
  • Remove-AzureADContactManager

    Learn more  
  • Select-AzureADGroupIdsContactIsMemberOf

    Learn more  
  • Reset-AzureADMSLifeCycleGroup

    Learn more  
  • Set-AzureADGroup

    Learn more  
  • Set-AzureADMSGroup

    Learn more  
  • Set-AzureADMSGroupLifecyclePolicy

    Learn more  
  • Get-AzureADUser

    Learn more  
  • Get-AzureADUserAppRoleAssignment

    Learn more  
  • Get-AzureADUserCreatedObject

    Learn more  
  • Get-AzureADUserDirectReport

    Learn more  
  • Get-AzureADUserExtension

    Learn more  
  • Get-AzureADUserLicenseDetail

    Learn more  
  • Get-AzureADUserManager

    Learn more  
  • Get-AzureADUserMembership

    Learn more  
  • Get-AzureADUserOwnedObject

    Learn more  
  • Get-AzureADUserRegisteredDevice

    Learn more  
  • Get-AzureADUserThumbnailPhoto

    Learn more  
  • New-AzureADMSInvitation

    Learn more  
  • New-AzureADUser

    Learn more  
  • New-AzureADUserAppRoleAssignment

    Learn more  
  • Remove-AzureADUser

    Learn more  
  • How to add members to Azure Active Directory groups using PowerShell scripts

    Learn more  
  • How to use Get-AzADAppCredential in Azure Active Directory

    Learn more  
  • How to use Get-AzADAppFederatedCredential in Azure Active Directory

    Learn more  
  • How to use Get-AzADApplication in Azure Active Directory

    Learn more  
  • How to use Get-AzADAppPermission in Azure Active Directory

    Learn more  
  • How to list the Azure Active Directory groups using PowerShell scripts

    Learn more  
  • How to get the members of Azure Active Directory groups using PowerShell scripts

    Learn more  
  • How to get using PowerShell scripts

    Learn more  
  • How to get using PowerShell scripts

    Learn more  
  • How to get Azure AD users using PowerShell scripts

    Learn more  
  • How to find deleted objects in Azure AD environment using PowerShell scripts

    Learn more  
  • How to add members to Azure Active Directory groups using PowerShell scripts

    Learn more  
  • How to add an owner to an Azure Active Directory group using PowerShell scripts

    Learn more  
  • How to use Add-AzureADMSLifecyclePolicyGroup in Azure Active Directory

    Learn more  
  • How to list Azure Active Directory groups using PowerShell scripts

    Learn more  
  • How to use Get-AzureADGroupAppRoleAssignment in Azure Active Directory

    Learn more  
  • How to list members in an Azure AD group using PowerShell scripts

    Learn more  
  • How to find the owner of an Azure AD group using PowerShell scripts

    Learn more  
  • How to list Azure Active Directory groups using PowerShell scripts

    Learn more  
  • How to use Get-AzureADMSGroupLifecyclePolicy in Azure Active Directory

    Learn more  
  • How to create an Azure AD group using PowerShell scripts

    Learn more  
  • How to use New-AzureADGroupAppRoleAssignment in Azure Active Directory

    Learn more  
  • How to create an Azure AD group using PowerShell scripts

    Learn more  
  • How to create an Azure AD groupLifecyclePolicy using PowerShell scripts

    Learn more  
  • How to remove an Azure AD group using PowerShell scripts

    Learn more  
  • How to remove an Azure AD group application role assignment using PowerShell scripts

    Learn more  
  • How to remove a member from an Azure AD group using PowerShell scripts

    Learn more  
  • How to remove an Azure AD group owner using PowerShell scripts

    Learn more  
  • How to remove an Azure AD group using PowerShell scripts

    Learn more  
  • How to delete a groupLifecyclePolicies object using PowerShell scripts

    Learn more  
  • How to delete a group from a lifecycle policy using PowerShell scripts

    Learn more  
  • How to remove a user application role using PowerShell scripts

    Learn more  
  • How to remove a user's manager in Azure AD using PowerShell scripts

    Learn more  
  • How to update a user in Azure AD using PowerShell scripts

    Learn more  
  • How to set a user extension using PowerShell scripts

    Learn more  
  • How to select the groups that a user is a member of in Azure Active Directory using PowerShell scripts

    Learn more  
  • How to update a user's manager using PowerShell scripts

    Learn more  
  • Set-AzureADUserPassword

    Learn more  
  • How to create a new Azure AD group using PowerShell scripts

    Learn more  
  • How to create a new Azure AD user using PowerShell scripts

    Learn more  
  • How to use Remove-AzADAppCredential in Azure AD

    Learn more  
  • How to use Remove-AzADApplication in Azure Active Directory

    Learn more  
  • How to remove a Azure AD group using PowerShell scripts

    Learn more  
  • How to remove Azure AD group members using PowerShell scripts

    Learn more  
  • How to use Remove-AzADServicePrincipal in Azure AD

    Learn more  
  • How to use Remove-AzADSpCredential in Azure AD

    Learn more  
  • How to remove Azure AD users using PowerShell scripts

    Learn more  
  • How to use Update-AzADAppFederatedCredential in Azure AD

    Learn more  
  • How to update Azure AD groups using PowerShell scripts

    Learn more  
  • How to update Azure AD users using PowerShell scripts

    Learn more  
  • How to use Get-AzADDomainService in Azure AD

    Learn more  
  • How to use Get-AzADDomainService in Azure AD

    Learn more  
  • How to use New-AzADDomainServiceForestTrustObject in Azure AD

    Learn more  
  • How to use New-AzADDomainServiceReplicaSetObject in Azure Active Directory

    Learn more  
  • How to use Remove-AzADDomainService in Azure Active Directory

    Learn more  
  • How to use Update-AzADDomainService in Azure Active Directory

    Learn more  
  • How to set Microsoft Entra ID users' photos using Set-MgUserPhotoContent

    Learn more  
  • How to change Entra ID passwords using the Update-MgUserPassword cmdlet

    Learn more  
  • How to remove users' extensions using the Remove-MgUserExtension cmdlet

    Learn more  
  • How to confirm ownership of Microsoft Entra ID domains using the Confirm-MgDomain cmdlet

    Learn more  
  • How to retrieve domain details using the Get-MgDomain cmdlet

    Learn more  
  • How to get Microsoft Entra ID contacts using the Get-MgContact cmdlet

    Learn more  
  • Get Microsoft Entra ID contacts' managers using the Get-MgContactManager cmdlet

    Learn more  
  • List domain name references using the Get-MgDomainNameReference cmdlet

    Learn more  
  • Get domain service configuration records using Microsoft Graph PowerShell

    Learn more  
  • Creating a new domain in Microsoft Entra ID using Microsoft Graph PowerShell

    Learn more  
  • Removing a domain from Microsoft Entra ID using Microsoft Graph PowerShell

    Learn more  
  • Removing a domain from Microsoft Entra ID using Microsoft Graph PowerShell

    Learn more  
  • Updating Microsoft Entra ID domains using Microsoft Graph PowerShell

    Learn more  
  • Connecting to Microsoft Graph using Microsoft Graph PowerShell

    Learn more  
  • How to disconnect from a Microsoft Graph PowerShell session

    Learn more  
  • How to get a Microsoft Entra ID contact's thumbnail photo using Microsoft Graph PowerShell

    Learn more  
  • How to retrieve the properties and relationships of an administrative unit using Microsoft Graph PowerShell

    Learn more  
  • How to remove Microsoft Entra ID contacts using Microsoft Graph PowerShell

    Learn more  
  • How to find groups associated with a contact using Microsoft Graph PowerShell

    Learn more  
  • How to renew a Microsoft Entra group using Microsoft Graph PowerShell

    Learn more  
  • How to update an Entra ID group using Microsoft Graph PowerShell

    Learn more  
  • How to update a group life cycle policy using Microsoft Graph PowerShell

    Learn more  
  • How to get Microsoft Entra ID user app role assignments using Get-MgUserAppRoleAssignment

    Learn more  
  • How to get Microsoft Entra ID user-created objects using Get-MgUserCreatedObject

    Learn more  
  • How to get direct reports of a user in Microsoft Entra ID using Get-MgUserDirectReport

    Learn more  
  • How to get license details of a user in Microsoft Entra ID using Get-MgUserLicenseDetail

    Learn more  
  • How to find the manager of a user in Microsoft Entra ID using Get-MgUserManager

    Learn more  
  • How to find the memberships of a user in Microsoft Entra ID using Get-MgUserMemberOf

    Learn more  
  • How to get Microsoft Entra ID user-owned objects using Get-MgUserOwnedObject

    Learn more  
  • How to get Microsoft Entra ID user-registered devices using Get-MgUserRegisteredDevice

    Learn more  
  • How to assign app roles to users using New-MgUserAppRoleAssignment

    Learn more  
  • How to invite new external users into your directory using New-MgInvitation

    Learn more  
  • How to create Microsoft Entra ID users using New-MgUser

    Learn more  
  • How to assign app roles to users using New-MgUserAppRoleAssignment

    Learn more  
  • How to delete Microsoft Entra ID users using Remove-MgUser

    Learn more  
  • How to retrieve the properties and relationships of a service principal object using Get-MgServicePrincipal

    Learn more  
  • How to retrieve the properties of a recently deleted item using Get-MgDirectoryDeleted Item

    Learn more  
  • How to add members to Microsoft Entra ID groups using New-MgGroupMemberByRef

    Learn more  
  • How to add owners to Microsoft Entra ID groups using New-MgGroupOwnerByRef

    Learn more  
  • How to add groups to life cycle policies using Add-MgGroupToLifecyclePolicy

    Learn more  
  • How to get Microsoft Entra ID groups using Get-MgGroup

    Learn more  
  • How to get app roles of a Microsoft Entra ID group using Get-MgGroupAppRoleAssignment

    Learn more  
  • How to get Microsoft Entra ID group members using Get-MgGroupMember

    Learn more  
  • How to get Microsoft Entra ID group owners using Get-MgGroupOwner

    Learn more  
  • How to get the life cycle policy of a Microsoft Entra ID group using Get-MgGroupLifecyclePolicy

    Learn more  
  • How to create new Microsoft Entra ID groups using New-MgGroup

    Learn more  
  • How to assign app roles to Microsoft Entra ID groups using New-MgGroupAppRoleAssignment

    Learn more  
  • How to create Microsoft Entra ID group life cycle policies using New-MgGroupLifecyclePolicy

    Learn more  
  • How to delete Microsoft Entra ID groups using Remove-MgGroup

    Learn more  
  • How to delete app role assignments of Microsoft Entra ID groups using Remove-MgGroupAppRoleAssignment

    Learn more  
  • How to delete Microsoft Entra ID group members using Remove-MgGroupMemberByRef

    Learn more  
  • How to delete Microsoft Entra ID group owners using Remove-MgGroupOwnerByRef

    Learn more  
  • How to remove life cycle policies of Microsoft Entra ID groups using Remove-MgGroupLifecyclePolicy

    Learn more  
  • How to delete Microsoft Entra ID groups from life cycle policies using Remove-MgGroupFromLifecyclePolicy

    Learn more  
  • How to delete app role assignments of Microsoft Entra ID users using Remove-MgUserAppRoleAssignment

    Learn more  
  • How to remove managers of Microsoft Entra ID users using Remove-MgUserManagerByRef

    Learn more  
  • How to update Entra ID users using the Update-MgUser cmdlet in Microsoft Graph PowerShell

    Learn more  
  • How to get Microsoft Entra ID users' group memberships using the Get-MgUserMemberOf cmdlet

    Learn more  
  • How to set the manager for a Microsoft Entra ID user using the Set-MgUserManagerByRef cmdlet

    Learn more  
  • How to get Microsoft Entra ID users using Get-MgUser

    Learn more  

ADManager Plus Trusted By

The one-stop solution to Active Directory Management and Reporting