# send JSON payload to AA to create csv file that gets moved to itdwinautop1.nd.gov (and will be built) $RestMethodParams = @{ Method = 'Post'; Uri = 'https://96bdfe01-af80-4575-8f23-e7057184c8f6.webhook.cus.azure-automation.net/webhooks?token=4cWZz%2fq97AqMdlNak6qv2lUurLPFsWmPJmovLmAE%2fNg%3d'; Headers = @{ITD = 'mXJU74ABYyDHcVY6iJihPDk8LidJ2ibBA2sA3RAwKaBHS6Gw7Rr2Zz5JZAhPm6wMuvY7X54ZzJxAXaM7ig3PHG4MKvtkBf8X7q3jGNcePgUqg9WCwCSJ3JWG7AA6M39x4vpihKeZV' }; Body = [PSCustomObject]@{ target_platform = "VMware" target_hostname = 'itdk12cladgwp1.nd.gov'; target_cpus = 4; target_memory = 8; target_osdisk = 80; target_datadisk = 9; # this is now swap target_subnet = '10.2.82.208/29'; target_os = 'Windows Server 2022 Datacenter'; target_environment = 'Production'; target_vm_app_name = 'ITD-Edutech-ClassLink'; target_datacenter = 'Bismarck'; target_licensingrestrictions = 'No Licensing Restrictions'; } | ConvertTo-Json; } Invoke-RestMethod @RestMethodParams