Posts

Showing posts from January, 2015

PowerShell Test Password complexity

Checking password whether it meets complexity using PowerShell.
Tweak or modify the script according to your own standard.
This can be used to check password complexity, on Active Directory user password.
The only thing it will not check whether the user account is also included on the string.
But the script will test the following:
- Check if the password is at least 9 characters in length - Check if the password is alphanumeric - Check if the password has upper case and lower case combination - Check if the password has at least 1 special character on it
And the script will also display what are the missing characters it needs to meet the password complexity.
For example: if the password does not contain numbers, or it does not contain special characters. The script will display the error/s on what the user needs to do to meet a complex password.
Copy and paste the script to PowerShell ISE for testing. Here’s the script:
==========================================
$stringx=Read-host&…

Unable to connect wireless network

Image

Clear or Remove comments in Excel

Linux sort output of 'ls' by last modified date

Sorting 'ls' command output in Linux by last modified date.

To dig further type: man ls

Here's a quick guide on how to sort or display the output by its modified ate.

ls -lt command:
Last modified date results shown at the top, bottom the oldest files.

ls -lt sample output:
-rwxrwxrwx 1 root root 1715357811 Jan 16 15:19 My_File_Year_2015Z.3.zip
-rwxrwxrwx 1 root root 2131315323 Jan 12 07:36 Another_File_Year_2015Z.zip
.
.
.
drwxrwxrwx 1 root root       4096 Mar 11  2013 Extras
-rwxrwxrwx 2 root root    4223936 Sep  7  2012 My Apps Setup.exe

 - - - - - -

ls-ltr command:
Newest file or new modified files result shown at the bottom, top results the oldest files.

ls-ltr sample output:

drwxrwxrwx 1 root root       4096 Mar 11  2013 Extras
-rwxrwxrwx 2 root root    4223936 Sep  7  2012 My Apps Setup.exe
.
.
.
-rwxrwxrwx 1 root root 1715357811 Jan 16 15:19 My_File_Year_2015z.3.zip
-rwxrwxrwx 1 root root 2131315323 Jan 12 07:36 Another_File_Year_2015Z.zip

If the list is quite long p…

Lepide Active Directory Cleaner, a boon to enhance IT Security

Inactive user and computer accounts are considered as threats for IT security of an organization. These obsolete AD accounts can be easily used by hackers or uninvited users to access the organization’s network. Once their access is auto-authorized through the backdoor of an inactive user account, the hacker can steal the precious data stored on the server and/or will have the ability to crash down the Windows Server resulting in downtimes or permanent operation failure.

To be on the safe side, it is advised to track and disable or remove the inactive user and computer accounts. However, the Administrator will face a big challenge to do so in a large organization having thousands of users. It will be quite complicated to find out which user or computer account is inactive in a pool of thousand users.

If you are looking for a perfect solution, then Lepide Active Directory Cleaner is here with its tremendous feature set. It automatically scans the Active Directory to find out the user …