AntiMalware Status

Check if user is member of the group

Here is another quick PowerShell script to check if user is a member of given group. Clear-Host if (Get-Module -ListAvailable -Name ActiveDirectory) { Import-Module ActiveDirectory…

View More Check if user is member of the group
AntiMalware Status

Find out the current version of the Active Directory Schema

Quick one liner to find out current version of the Active Directory Schema on your network especially of you have mix of servers. Using dsquery…

View More Find out the current version of the Active Directory Schema
AntiMalware Status

PowerShell – Get user’s Manager, Department and Title information

Here is another quick helper for Help Desk guys to pull quickly information about user in PowerShell: SamAccountName Title Department Manager In this case the…

View More PowerShell – Get user’s Manager, Department and Title information
AntiMalware Status

Reset Password for user in Active Directory

Quick Help Desk script tool in PowerShell to reset user password : Clear-Host Import-Module ActiveDirectory $newpwd = Read-Host "[ Enter the new password ]" -AsSecureString…

View More Reset Password for user in Active Directory
Windows 10

Get list of installed software on machine from command line

This is handy command line if you want pull quickly list of installed software on the machine. You can output it in to terminal or…

View More Get list of installed software on machine from command line

Stop opening Server Manager at logon in Windows Server 2012 R2

The Server Manager wizard provides information of installed roles and features in . This Server Manager wizard will be automatically launched at logon when you…

View More Stop opening Server Manager at logon in Windows Server 2012 R2
AntiMalware Status

Remove all Group Membership from Disabled user except Domain User Group in PowerShell

Here is quick PowerShell script to remove ALL Group Membership from Disabled user in . We will remove all Group membership from this user except…

View More Remove all Group Membership from Disabled user except Domain User Group in PowerShell
AntiMalware Status

Report on user count in Active Directory with PowerShell

Here is quick script that provides information on user count in : Total Number of All user accounts Total Number of Enabled accounts TotalNumber of…

View More Report on user count in Active Directory with PowerShell
AntiMalware Status

List Direct Reports to Manager in PowerShell

Here is the task for today to use . I was asked to find the list of employees under a specific manager. In you can…

View More List Direct Reports to Manager in PowerShell
AntiMalware Status

Change or Update UPN for users of specific group in Active Directory

Here is a quick almost one liner in to update/change UPN for users of specific group in . Lets say we need to change UPN…

View More Change or Update UPN for users of specific group in Active Directory