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

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
Windows 10

How to repair corrupted USB storage and reset to defaults

Whenever I connect my USB to PC it says “you need to format the disk in drive before you can use it”. When I try to format, it shows the disk capacity as 662MB which is the Linux image file size and not the original size of 8GB. How do I format the USB drive and start using it like before?

View More How to repair corrupted USB storage and reset to defaults
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

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
Google Chromebook

How to install PowerShell on Google Chromebook Linux mode

Here is quick code for installation of PowerShell on Google ChromeBook Pixel when support is turned on: sudo apt install curl gnupg apt-transport-https liblttng-ust-ctl2 liblttng-ust0…

View More How to install PowerShell on Google Chromebook Linux mode
Active Directory

Move all FSMO roles from server to another in Active Directory

Here is one liner to move all FSMO roles from one server to another. In most cases an administrator can keep the FSMO role holders…

View More Move all FSMO roles from server to another in Active Directory