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.
Powershell, automation, IT problem solving, Windows, Linux and more.......
Wednesday, November 9, 2016
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 !!!
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.
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.
Thursday, September 1, 2016
Wednesday, August 31, 2016
DNS Poisoning : how it works, precautions and a quick demo
Hi mates,
few months ago some friends asked me some additional info regarding specific attacks that were done to redirect user traffic to a desired/different web site.
The attack is called DNS Poisoning and it's done, simply speaking, polluting the DNS cache of specific servers. More popular is the web site attacked, more amplified will be the impact.
In that way when a user will try to resolve the name of the website that he/she is asking for, the DNS will give him/she a different IP instead of the right one.(consider that the same approach could be used for mail system for example)
few months ago some friends asked me some additional info regarding specific attacks that were done to redirect user traffic to a desired/different web site.
The attack is called DNS Poisoning and it's done, simply speaking, polluting the DNS cache of specific servers. More popular is the web site attacked, more amplified will be the impact.
In that way when a user will try to resolve the name of the website that he/she is asking for, the DNS will give him/she a different IP instead of the right one.(consider that the same approach could be used for mail system for example)
Friday, May 13, 2016
Powershell --> Powerquick : change Exchange 2003 user attributes
Hi mates,
a friend asked me if it is possible to manage specific parameters on his OLD Exchange environment.
Manage Exchange 2003 with Powershell is not possible...for sure is not possible as it is, conversely, with Exchange 2007 or newer versions.
So to modify, adjust, handle bunches of stuff you can leverage on Active Directory attributes.
Here below a quick example that shows how to change user quota for a specific group of user...logically if you want to do it with Powershell :
a friend asked me if it is possible to manage specific parameters on his OLD Exchange environment.
Manage Exchange 2003 with Powershell is not possible...for sure is not possible as it is, conversely, with Exchange 2007 or newer versions.
So to modify, adjust, handle bunches of stuff you can leverage on Active Directory attributes.
Here below a quick example that shows how to change user quota for a specific group of user...logically if you want to do it with Powershell :
Monday, May 9, 2016
Powershell : HTML report about event viewer errors
Hi mates,
few weeks ago a customer asked me if it was possible to receive, every morning, a sort of report that recaps all errors found in the System and Application log for each single server in the domain.
It's a long task : the script must connect remotely to each single server, analyze and retrieve all these kind of info.
Fortunately he added an important condition : only the Errors of the current day (or the previous if you prefer).
Anyway it remains a sort of "complication" : there are thousands of logs and the script may need hours to examine all.
few weeks ago a customer asked me if it was possible to receive, every morning, a sort of report that recaps all errors found in the System and Application log for each single server in the domain.
It's a long task : the script must connect remotely to each single server, analyze and retrieve all these kind of info.
Fortunately he added an important condition : only the Errors of the current day (or the previous if you prefer).
Anyway it remains a sort of "complication" : there are thousands of logs and the script may need hours to examine all.
Subscribe to:
Posts (Atom)