Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

Running Conditional Powershell Script After IP Assignment from DHCP in AD ?!


  • Please log in to reply
1 reply to this topic

#1 TryllZ

TryllZ

  •  Avatar image
  • Members
  • 35 posts
  • OFFLINE
  •  
  • Local time:12:59 PM

Posted 20 April 2023 - 03:48 AM

Hi,
 
I wanted to know how to achieve this as I could not it find any where, and unsure if this is possible.
 
I have a DC server with DNS, DHCP configured. What I want to do is once a client receives an IP from the DHCP server (IP address is issued only for MAC address reserved against it), then a script should run on the client (bear in mind the client has not joined AD domain, it just received an IP).
 
Thank You

Edited by TryllZ, 20 April 2023 - 05:01 AM.


BC AdBot (Login to Remove)

 


#2 sflatechguy

sflatechguy

  •  Avatar image
  • BC Advisor
  • 2,747 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:11:59 PM

Posted 30 April 2023 - 01:28 PM

Not sure that is doable. If it hasn't yet been joined to the domain, there is no real way for the DC to instruct it to run the script.

This can be done with Linux systems, but Linux doesn't ordinarily use AD.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users