Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Stuffs from real IT system ADMINISTRATORS world and my LAB

Powershell Active Directory: Show treeview of User or Group memberof hierarchy

September 20, 2017 09:32AM

After going through many testing and successfully streamlining most of the Users and Groups member of in active directory environment using Powershell Active Directory: List complete hierarchy of upstream nested groups recursively of User. I was still facing some of the issues, Earlier script was not smart enough to detect the loop and will keep running if same group is in members and memberof, th…

Read more

Powershell Active Directory: List complete hierarchy of upstream nested groups recursively of User

September 15, 2017 05:27PM

Recently I had seen big mess in one of my client's Active directory environment, AD Groups where keep nested into groups and further, Due to this clients where having hard time to get either exact effective permissions of particular users, and causing users have unnecessary authorization or getting unnecessary emails due to member of upstream groups, which he should not. Just to show demo here I h…

Read more

Enable or disable SSH on VMWare vCenter Server Appliance (VCSA)

September 11, 2017 05:37PM

Keeping disabled SSH service in VMWare Environment is a best practices, specially on Esxi server and VCSA appliance. Use only when required to reduce any attack surface, this might be your information security who ask you to implement SSH related settings. For Esxi to change settings follow my earlier article VMWARE SECURITY BEST PRACTICES: POWERCLI ENABLE OR DISABLE ESXI SSH. When you deploy a…

Read more

Deploy install VCSA (vCenter server appliance 6.5) on VMWare Workstation

September 9, 2017 04:23PM

VMware plans to deprecate vCenter Server for Windows with the next numbered release (not update release) of vSphere.  The next version of vSphere will be the terminal release for which vCenter Server for Windows will be available. For more info check on Farewell, vCenter Server for Windows. I had installed Windows vCenter Server 6.5 in my Lab previously PART 2 : VCENTER SERVER 6.0 INSTALLATION…

Read more

SOFTERRA ADAXES - A new way to manage Active Directory

September 2, 2017 08:26PM

What is Adaxes?
Adaxes is a rescuer for any Active Directory, Exchange and Office 365 environment. It gives additional features automates repetitive everyday operations, enhances security, enforces standards and reduces the load on your IT department. Managing your IT environment with Adaxes is simpler and more efficient.

Key Features 

  1. Active Directory Management Adaxes provides enhance…

Read more

Installing, importing and using any module in powershell

August 26, 2017 12:25PM

With PowerShell you can achieve great way to automation using additional modules. Modules are additional functionalities or extensions to Powershell. You can also treat them as client softwares, with them you can connect to particular softwares, You will see limitation if you want additional commands and modules does not exist. After installing them you can use related .net objects or adapters. Fo…

Read more

Reset forgotten ESXi root password on Domain joined Esxi using vSphere web client and Powercli

August 25, 2017 05:44PM

This article shows one of the reason why you always should follow best practices while configuring any environment. Here I will take a reference of my earlier blog . Few days back I received one personal project to work on, There was an issue, clients were wanted to perform some activity on ESXi ssh putty, but they forgot or unaware of the root password. Task was to reset the forgotten esxi root …

Read more

Powershell Active Directory: ADGroup Managedby - Checkbox Manager can update membership list

August 23, 2017 10:40AM

I found one of the query "How to click checkbox manager can update membership list on Active directory group using powershell" on the whatsapp group Powershell scripting. There is already official MicroSoft blog written for same purpose and there are two parts to it and they are worth reading. I went through the script and found complete logic is built using .net objects, and this might puzzle non…

Read more

Active Directory Powershell: Aduser A value for the attribute was not in the acceptable range of values

August 21, 2017 08:02PM

While writing and testing script Active Directory Powershell: Create bulk users from CSV file, Simulating single user creation I came across an error. This error says.

New-ADUser : A value for the attribute was not in the acceptable range of values
At line:1 char:1
+ New-ADUser -Name TestUser -PasswordNotRequired $true -path 'ou=new,dc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~…

Read more

Active Directory Powershell: Create bulk users from CSV file

August 19, 2017 11:00PM

Creating bulk multiple user accounts on Active Directory Users and Computers mmc console is very boring and tough task also it is most of the time consuming and error prone tend to be lots of mistakes. If same task is done using automation it will be interesting and happen in less time. Active directory Powershell is best way to automate the task of importing users from excel file. 

Download …

Read more

View older posts »