Question: I need help writing a script for one of these automated tasks for powershell . I have completed one I just need help with one.

I need help writing a script for one of these automated tasks for powershell. I have completed one I just need help with one.

The domain contains 12 user accounts within three organizational units: Human Resources (HR), Finance, and Sales.

It needs to contain:

Script contains a repetition structure

Script contains a compound conditional statement

Script contains variable declaration and usage

I just need help writing one of these, below.

1. Use the Ping utility to report connections of all IP addresses that end in an odd number in the network, and output them to a text file called ping.txt

2. Check all employees for automatic password renewal, and output a list of users with Password Never Expires flag set in their profiles

3. Find all users with inactive and disabled accounts across all organizational units. Output the list to a text file named inactive_users.txt

Thank you in advance!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!