Search this Blog

Tuesday, August 11, 2020

Setting HomeFolder for Bulk Users in Active Directory

Hi All, how to add home folders for multiple users in active directory? here is a solution, go through this article and this powershell script will help you to add home folder and map it to a fileshare, this would be very much useful for sys admins who wants to add/modify home folder for number of users with one go.

Below the link to the script and few screen shots of script output.

Link to Script:- AddHomeFolderBulkUsers

 

 

Bulk User Creation with PowerShell

Hi All, this time we are going to create bulk users with powershell, there might be a requirement for system admins where we need to create a bunch of users, creating one by one via GUI is a daunting task, this powershell script will create users in few minutes, create a .csv file with list of information about users, key in the same in script and execute, in few minutes you have users ready in active directory.

Links for the script:- https://github.com/snagaraj85/PowerShellBulkUserCreation

Below screenshot of csv file



Monday, June 24, 2019

Active Directory User Lookup Tool

Hi All, this time I'm posting a handy tool made with PowerShell to lookup an user in active directory, this handy tool will fetch you the details such as user's account expiration date,email,password expiry status, lockout status,display name, OU path,last log on date,user principal name, account enable status etc.,Below the link to the script.


 Link to script:- ADUserLookupTool

Monday, June 03, 2019

Powershell Module to get local & remote system's disk space details

This handy PowerShell module helps us to get the disk space details of the local system as well the remote system. The script queries the WMI object and get the logical disks space details of each partitions. It lists the full details such as total volume size of the partition, drive letter, used space, free space as well the free space details in terms of percentage which will be very much useful. This wonderful module will assist to get the disk space details without logging to remote system.
And one more important thing is, if the computer parameter for remote system is not specified it defaults to the local system's disk details.
Usage: - Get-DiskSpace -Computer SERVER1
             Get-DiskSpace

Link to the script: Get-DiskSpace