18 lines
909 B
Plaintext
18 lines
909 B
Plaintext
$RestMethodParams = @{
|
|
Method = 'Post';
|
|
Uri = 'https://96bdfe01-af80-4575-8f23-e7057184c8f6.webhook.cus.azure-automation.net/webhooks?token=dVIj9zHSJwNeR2Ow8QTOoiSoKaPPux9EVJsQAMiGUPg%3d';
|
|
Headers = @{ITD = 'mXJU74ABYyDHcVY6iJihPDk8LidJ2ibBA2sA3RAwKaBHS6Gw7Rr2Zz5JZAhPm6wMuvY7X54ZzJxAXaM7ig3PHG4MKvtkBf8X7q3jGNcePgUqg9WCwCSJ3JWG7AA6M39x4vpihKeZV'};
|
|
Body = [PSCustomObject]@{
|
|
ComputerName = 'itddhsharvestp1.nd.gov';
|
|
CPU = 2;
|
|
MemoryGB = 24;
|
|
VlanId = 3822;
|
|
OS = 'Windows Server 2022 Datacenter';
|
|
Environment = 'Production';
|
|
Datacenter = 'Bismarck';
|
|
AppName = 'DHS-Orchard-Harvest';
|
|
LicensingRestrictions = 'No Licensing Restrictions';
|
|
} | ConvertTo-Json;
|
|
}
|
|
|
|
Invoke-RestMethod @RestMethodParams | ConvertTo-Json |