コード例 #1
0
 /// <summary>
 /// Configure Windows based on template
 /// </summary>
 /// <param name="ipAddress"></param>
 /// <param name="windowsTemplate"></param>
 /// <returns></returns>
 private static async Task ConfigureWindows(string ipAddress, WindowsTemplate windowsTemplate)
 {
     if (windowsTemplate.EnableIis)
     {
         // configure IIS
     }
 }
コード例 #2
0
 private static string CreateWindowsDeploymentScriptBlock(WindowsTemplate windowsTemplate, string hostname)
 {
     return(File.ReadAllText(@"DeploymentScripts\deploy_win.ps1").Replace("<name>", hostname));
 }