Jump to content

Recommended Posts

Hi guys im not sure if this is the right section to post, but what i am doing right now is using windows cmd to output results of computer configurations to a text file for auditing purpose. I will like my raw data to check against the desired setting and output a fail notice if they are different/pass notice if they are exactly the same. However, i do not have any ideas how to do that hence i need some guidance on this. Thanks!

 

Example

Minimum password age (days):                          0

Maximum password age (days):                          42

Minimum password length:                              0

Length of password history maintained:                None

 

Desired Setting

Minimum password age (days):                          90

Maximum password age (days):                          90

Minimum password length:                              8

Length of password history maintained:                None

Link to comment
https://forums.phpfreaks.com/topic/208014-checking-the-contents-of-text-file/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.