Monday, March 6, 2017

Powershell --> Powerquick : force active directory replication from a specific domain controller to the remaining others

Hi Mates,
quick and useful : how many times you needed to replicate an Active Directory change to the entire domain ?.....quickly, without waiting the system times.
The GUI is pretty clear but open the administration tool, expand, right click......and so on.....too long sometime....clearly too long
It happens me every day : someone call me from another site/plant and ask me to make some changes. YES I know that we have some replication priority inside AD, it depends on the value that you are going to change.

Wednesday, March 1, 2017

Powershell --> Powerquick : move disabled users from a group to another


Hi Mates,
quick and useful : how many times you needed to have a clean group because to this specific group there was associated a software usage/number of licenses ?
It happened to me but my need was also to have a trace of the users that were members of this group.
So I started creating a group that hosts all disabled user account that TODAY are not using the software "attached" to the main group, but tomorrow I could need to know if a "returning" user had right to be a part of it......a sort of history.

Wednesday, February 22, 2017

Today challenge n.2 : Windows 7 issue with profile

Hi Mates,
this is the second appointment with this new section that wants to describe, briefly, what happens every day in my technical-sysadmin life.
Sometimes what happens is really interesting, other time is not......I would try to give you the most interesting things.
In this article I'll give you an alternative solution, not easy to find on the web, related to Windows 7. An early formatted computer, joined to an active directory domain, was not able to build the user profile. An administrator, instead, could login without any kind of issue.
Most of the articles that you find surfing the web are inherent to a corrupted profile that must be deleted from the GUI interface and from the registry too.
In my case the end user was not able to login THE FIRST TIME......so no profile was created, no registry keys and so on.

The error was similar to the screenshot posted below :

Tuesday, January 31, 2017

Today challenge : Domain Password policies and Fine-Grained P.P.

Hi Mates,
this is a new section that wants to describe, briefly, what happens every day in my technical-sysadmin life.
I don't want to bore you with complicate concepts but only to focus on a simple "adventure" that every day "stole" me sometime  (leaving also on me something that I had forgotten or that I didn't know).
Today I had to face up with a GPO in a customer Active Directory domain (Windows 2008 R2). Practically the customer told me that even if the value of the parameter "Minimum password age" was set to 0 she was not able to change repeatedly her password.
The core of the issue was that being her a SysAdmin she was added in a group (Shadow) part of the Fine-Grained Password Policy.

Wednesday, November 9, 2016

Powershell : retrieve external consultant list and send a report to the related internal reference manager

Hi mates,
few weeks ago a friend asked me to prepare a report that recaps every single external consultant situation.
For "situation" she meant some information that could help her to have a quick view on the status of the account, expiration date and who's internally responsible to "manage" the partner.
Having a lot of project "on going" she wanted to be sure that all nominal accounts have a related internal manager defined.
Since she usually put an expiration date for consultants she wants to be sure that every single manager receive, weekly, a report that
shows what's the current situation.

Monday, October 24, 2016

Powershell --> Powerquick : bulk change DHCP Scope Options

Hi mates,
few months ago a customer asked me to automate some changes on several DHCP server inside his network.
The objective was to change the DNS servers for at least 50 scopes......a lot....and do it manually seemed to be time consuming.
Few things.....nothing special.
Pay attentions that DHCP command in Powershell are available only with Windows 8.1 and Windows 2012.
First of all point a server and obtain the list of Scope ID......then....it's done !!!

Friday, October 21, 2016

Powershell --> Powerquick : search email alias and prepare for Exchange bulk migration

Hi mates,
few days ago a customer asked me to automate some steps of the exchange 2003 --> exchange 2010 migration.
Few things.....nothing special.
Point an OU, extract users list, retrieve their alias and then create the file to feed another part of the script that launch the move request.