2017-12-11 2 views

Antwort

0

Sie können script \ dsc extensión wie auf einer normalen VM verwenden.

Probe DSC extensión:

{ 
    "name": "Microsoft.Powershell.DSC", 
    "properties": { 
     "publisher": "Microsoft.Powershell", 
     "type": "DSC", 
     "typeHandlerVersion": "2.19", 
     "autoUpgradeMinorVersion": true, 
     "settings": { 
      "configuration": { 
       "url": "url_goes_here.ps1", 
       "script": "script.ps1", 
       "function": "function" 
      }, 
      "configurationArguments": { 
       "domainName": "domain.name" 
      } 
     }, 
     "protectedSettings": { 
      "configurationArguments": { 
       "adminCreds": { 
        "userName": "User", 
        "password": "Password" 
       } 
      } 
     } 
    } 
} 
+0

So ist die einzige Art und Weise ist es Konto mit einer Automation zu tun? – Jeffrey

+0

Sie brauchen kein Automatisierungskonto für das – 4c74356b41

+0

Ich verstehe nicht, wie ich es dann mache? Muss ich es in einer Vorlage tun, dann erstellen Sie die vmss – Jeffrey