Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions