Powershell Script to query for an event ID and take action accordingly
$mydate = (Get-date).addminutes(-15) #$mydate = (Get-date).Addhours(-5) $EventID = Get-EventLog -LogName System | ? {$_.EventID -eq 429 -and $_.timegenerated -gt $mydate } if($eventid) { #found desired...
View ArticleEnable PowerShell Remoting with Client Outside of Server’s Domain (Trusted...
To enable remote powershelling with servers not in the same domain as the client machine you will need to perform the following steps: Note: Do not allow unencrypted communication for internet use. On...
View ArticlePowerShell v3 has some great GUI
If you’re a Power Shell scripting guy and want to try GUI mode of it… Here is the article describing it’s features…...
View ArticlePowerShell: How to get nested Active Directory group members
PowerShell: How to get nested Active Directory group members Filed under: PowerShell
View ArticlePowershell scripts library for windows system administrators
You may find the below collection of scripts useful for your daily windows administration. [SOURCE : http://techibee.com] General Powershell: How to find your powershell version How to change text to...
View ArticlePowerShell Command to Identify Stale Computers and move to specific OU
Here is the simple Power Shell Command to identify Stale Computers and move to specific OU. $d = [DateTime]::Today.AddDays(-3600); Get-ADComputer -Filter ‘PasswordLastSet -ge $d’|adobject -targetpath...
View ArticlePowerShell
It’s been quite long time that I wrote any articles in my blog. So, this time I would like to write few articles on PowerShell. PowerShell, most of us have been hearing this word from quite few years....
View ArticlePowerShell-2
In this article, let’s see what PowerShell modules are and how they help system administrators & developers in automation of regular and routine tasks. Here is the typical definition of a module A...
View ArticleSwap Primary and Secondary email addresses using PowerShell
One or the other time, every system administrator would need to swap primary & secondary mail addresses due to various reasons like company merge, acquire, branding etc. In such cases, there would...
View ArticlePowerShell -3
In this article let us learn few basic cmd-lets. As mentioned in the first series of the article, PowerShell is very user friendly tool.You need not remember the whole command for any instance,...
View Article