5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
Hi, With Nutanix Dev API reference i found the required parameter in JSON data. Now my json data is :{ "metadata":{ "kind":"vm" }, "spec":{ "name":"T0-SRV1", "resources":{ "power_state":"OFF", "hardware_clock_timezone": "UTC", "nic_list":[ { "uuid":"d7684227-25a9-485b-a064-1789276617c3", "mac_address":"50:6b:8d:ab:0e:dd", "subnet_reference":{ "kind":"subnet", "name":"TEST0-SUB", "uuid":"c8c4ee2b-a39f-466b-9cc4-2ccce4ebea79" } } ] } }} A task was created :{ "status": { "state": "PENDING", "execution_context": { "task_uuid": "e5cc28b7-a056-4219-9d1d-61fb906d8006" } }, "spec": { "name": "T0-SRV1", "resources": { "hardware_clock_timezone": "UTC", "nic_list": [ { "subnet_reference": { "kind": "subnet", "name": "TEST0-SUB", "
Hi,Your idea is too place a batch into %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup and if i do this i need to copied the script on the source VM before cloning it.I don’t want to add or modify something on the source VM because it is a DC of our Production environnement.I am giving up because :i need to execute a powershell script at startup without modify source VMI need to execute the script to adapat the A.D. Domain with “Admins Domain” permission…Matt
Hi,I know that.It is not for production but test environement !We already do it manually and we want to do it automaticaly by Ansible.Matt
Hi,I want to automaticaly clone a Domain Controler to an isolated network.And i need to execute a script just one time at first boot for seize FSMO role.Here an example of a powershell script that i need to execute just one time at first boot :#Define variable for CDM EXEC$Roles = "role"$conn = "connections"$conn2 = '"connect to server VMDC01"'$exit = "q"$RID = '"seize RID master"'$schema = '"seize schema master"'$nameMaster = '"seize naming master"'$PDC = '"seize pdc"'$infraMaster = '"seize infrastructure master"'$all = $Roles + " " + $conn + " " + $conn2 + " " + $exit + " " + $RID + " " + $schema + " " + $nameMaster + " " + $PDC + " " + $infraMaster + " " + $exit + " " + $exit#Launch CMD to transfert FSMO RID and SCHEME ROLESStart-Process "ntdsutil" $all Matt
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.