PrepAway - Latest Free Exam Questions & Answers

You need to run the script once weekly only on the laptops

You network contains an Active Directory domain named contoso.com. The domain contains 1,000 desktop
computers and 500 laptops. An organizational unit (OU) named OU1 contains the computer accounts for the
desktop computers and the laptops.
You create a Windows PowerShell script named Script1.ps1 that removes temporary files and cookies. You
create a Group Policy object (GPO) named GPO1 and link GPO1 to OU1.
You need to run the script once weekly only on the laptops.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
In GPO1, create a File preference that uses item-level targeting.

B.
In GPO1, create a Scheduled Tasks preference that uses item-level targeting.

C.
In GPO1, configure the File System security policy. Attach a WMI filter to GPO1.

D.
In GPO1, add Script1.ps1 as a startup script. Attach a WMI filter to GPO1.


Leave a Reply