Automating deployment of Windows Server core with PowerShell or Answer file ?

EnterpriseArchitect 6,041 Reputation points
2022-10-03T11:37:16.567+00:00

Hi All,

Using the Windows Server 2022.ISO file from https://info.microsoft.com/ww-landing-windows-server-2022.html, I wonder how can I automate the deployment of the Windows Server Core 2022 as a VM with the following specification:

1. Named as ServerX-VM  
2. Using Static IP: 10.1.1.X, Static Primary and Secondary DNS Servers.  
3. Joined the AD DS Domain name: Corp.local  
4. Check, Download and Apply the latest Windows update patch.  

I will need to deploy about 10+ VMs, so the X above will be replaced with digits from 0 to 9 and so on.

How can I do it automatically? using PowerShell or other methods?

Thank you in advance.

Windows for business Windows Server Devices and deployment Set up, install, or upgrade
Windows for business Windows Server User experience PowerShell
Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,916 Reputation points
    2022-10-06T07:54:18.787+00:00

    Hi,

    Thank you for posting your query.

    Kindly check the details below.

    With Windows PowerShell you can easily run deployment commands to change the configuration of your deployment, like tasks that can be performed from the Deployment Manager user interface. You can also use the methods described in the Dynamics 365 Customer Engagement Web Services to perform these tasks. The PowerShell cmdlets are installed on the computer when you install a Full Server role or when you install the Deployment Tools server role, if you’re installing individual server roles. To execute commands, you must first register the Dynamics 365 for Customer Engagement commands with PowerShell. This topic describes how to do these plus additional tasks to help you use PowerShell.

    Go to this link for your reference https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/deploy/administer-the-deployment-using-windows-powershell?view=op-9-1

    Do not hesitate to message us if you need further assistance.

    ------------------------------------------------------------------------------------------------------------------------------------------------

    If the answer is helpful kindly click "Accept as Answer" and upvote it. Thanks.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.