@Ahmed Alshatawi, Thanks for posting in Q&A.
Q1. Is there any way to deploy a PowerShell script for ONLY newly enrolled windows devices from Intune?
A1. If you enroll the devices using Autopilot, you can create a PowerShell script, assign it to device group and configure Block device use until all apps and profiles are installed Yes under ESP page, after the PowerShell script will execute during the device enrollment.
Q2. Is there any way to create a dynamic group for ONLY newly enrolled devices?
A2. Unfortunately, as of now there is no such thing as a property to use to filter devices based on the enrollmentDate. There are the properties available which can be used for devices while creating rules for Dynamic groups.
https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership#rules-for-devices
None of the available properties can be used to create a group with enrolled devices post particular date.
However, you can submit this feedback in our Azure feedback portal asking for this feature in the future. This channel is monitored by our PM team. They can help you in replying to your queries,
https://feedback.azure.com/d365community/forum/22920db1-ad25-ec11-b6e6-000d3a4f0789
Let us know if you have any further questions on this.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.