This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim objFSO, logFile | |
Set objFSO = CreateObject("Scripting.FileSystemObject") | |
Set logFile = objFSO.OpenTextFile("C:\scripts\addgroup.log", 2, True) | |
Set objWshNet = CreateObject("WScript.Network") | |
computerName= objWshNet.ComputerName | |
logFile.WriteLine "Computer Name: " & computerName | |
Dim fullUpn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim objFSO, logFile | |
Set objFSO = CreateObject("Scripting.FileSystemObject") | |
Set logFile = objFSO.OpenTextFile("C:\scripts\addgroup.log", 2, True) | |
Set objWshNet = CreateObject("WScript.Network") | |
computerName= objWshNet.ComputerName | |
logFile.WriteLine "Computer Name: " & computerName | |
Dim fullUpn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virtualMachineEntity=System.getModule("com.vmware.library.vcac").getVirtualMachineEntity(vCACHost,vcacVm); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var vCenterVms=System.getModule("com.vmware.library.vc.vm").getAllVMs(); | |
for (vm in vCenterVms) { | |
if (vm.id==machineProp.get("externalReference") && machineProp.get("externalReference")) { | |
vCenterVm=vm; | |
break; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var launchedFrom = eventPayloadProperties.get("lifecycleState"); | |
externalWFStub=launchedFrom.get("state")+":"+launchedFrom.get("phase"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": [], | |
"info": { | |
"name": "vRealize Operations 6", | |
"_postman_id": "8725de8d-4ad6-2dc9-887a-54fe8e1f879b", | |
"description": "", | |
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" | |
}, | |
"item": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM photon:latest | |
MAINTAINER John Dias "[email protected]" | |
RUN tdnf install python2 python-xml -y \ | |
&& curl -s https://bootstrap.pypa.io/get-pip.py > /tmp/get-pip.py \ | |
&& /usr/bin/python /tmp/get-pip.py \ | |
&& tdnf install git -y \ | |
&& git clone https://github.com/vmw-loginsight/webhook-shims.git ~/webhook-shims | |
WORKDIR /root/webhook-shims | |
RUN /usr/bin/pip install -r requirements.txt | |
#ENTRYPOINT ["python"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dashboards": [{ | |
"autoswitchEnabled": false, | |
"columnCount": 1, | |
"columnProportion": "1", | |
"creationTime": 1492613965544, | |
"description": "", | |
"disabled": false, | |
"id": "8abb8f61-f123-4ca4-8c56-dcfcaaa0aa17", | |
"importAttempts": 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<AdapterKinds> | |
<AdapterKind adapterKindKey="APPLICATIONDISCOVERY"> | |
<ResourceKind resourceKindKey="ApplicationDiscoveryAdapterInstance"> | |
<Metric attrkey="Instance Attributes|elapsed_collect_time" label="" unit="" yellow="" orange="" red=""/> | |
<Metric attrkey="Instance Attributes|new_metrics" label="" unit="" yellow="" orange="" red=""/> | |
<Metric attrkey="Instance Attributes|new_resources" label="" unit="" yellow="" orange="" red=""/> | |
<Metric attrkey="Instance Attributes|observations" label="" unit="" yellow="" orange="" red=""/> | |
</ResourceKind> | |
</AdapterKind> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var epoch = (new Date).getTime(); | |
postman.setEnvironmentVariable("epoch", epoch); | |
var epochPrev24 = epoch - (24*60*60*1000) | |
postman.setEnvironmentVariable("epochPrev24", epochPrev24) |
OlderNewer