en-US/DeploymentModule-help.xml

<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh">
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
    <command:details>
      <command:name>Invoke-Deployment</command:name>
      <command:verb>Invoke</command:verb>
      <command:noun>Deployment</command:noun>
      <maml:description>
        <maml:para>Interno razvijen PowerShell modul za deployment novih verzija PITS aplikacija na TEST, ACC i PROD Citrix okruženja</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>- Nakon što je PMO odobrio deployment nove verzije aplikacije koja ide na Citrix okruženje, ICTOPS koristeći ovaj modul kopira novu verziju aplikacije na deljeni folder odakle će se dalje raditi distribucija na Citrix host servere</maml:para>
      <maml:para> - Izvršavanje skripte se loguje na lokaciji $HOME\&lt;App&gt;_deployment_log.txt</maml:para>
      <maml:para> - Dodatno se čuva Robocopy log na lokaciji \\&lt;Parent&gt;\&lt;App&gt;\DeploymentLog\&lt;Verzija&gt; RobocopyLog &lt;CitrixOkruženje&gt;_&lt;DateTime&gt;.txt. Robocopylog potrebno zakačiti u Omnitracker tiket</maml:para>
      <maml:para> - Nakon što je izvršeno kopiranje upoređuje se verzija aplikacije na source i destination folderu kao dodatni vid kontrole</maml:para>
      <maml:para> - Ukoliko je sve prošlo kako treba upisuju se podaci o odrađenoj isporuci verzije u bazu podataka RS10DEPLOYMENT na DENU00CL0079\LATINCOL</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Invoke-Deployment</maml:name>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>Test</maml:name>
          <maml:Description>
            <maml:para>Test Citrix okruženje</maml:para>
          </maml:Description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>SourceFolder</maml:name>
          <maml:Description>
            <maml:para>UNC putanja deljenog foldera u kojem se nalaze fajlovi nove verzije</maml:para>
          </maml:Description>
          <command:parameterValue required="true" variableLength="false">FileInfo</command:parameterValue>
          <dev:type>
            <maml:name>FileInfo</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>App</maml:name>
          <maml:Description>
            <maml:para>Aplikacija za deploy</maml:para>
          </maml:Description>
          <command:parameterValueGroup>
            <command:parameterValue required="false" command:variableLength="false">URA10</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">URAME</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">Recalc</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">SIV-RS</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">SIV-BA</command:parameterValue>
          </command:parameterValueGroup>
          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
          <dev:type>
            <maml:name>String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>DeploymentType</maml:name>
          <maml:Description>
            <maml:para>Tip deploymenta, kod Ure se koristi All jer se kopiraju svi fajlovi, dok se kod ostalih aplikacija kopira samo exe i zbog toga koristi OnlyExe</maml:para>
          </maml:Description>
          <command:parameterValueGroup>
            <command:parameterValue required="false" command:variableLength="false">All</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">OnlyExe</command:parameterValue>
          </command:parameterValueGroup>
          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
          <dev:type>
            <maml:name>String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
      <command:syntaxItem>
        <maml:name>Invoke-Deployment</maml:name>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>Acc</maml:name>
          <maml:Description>
            <maml:para>Acceptance Citrix okruženje</maml:para>
          </maml:Description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>SourceFolder</maml:name>
          <maml:Description>
            <maml:para>UNC putanja deljenog foldera u kojem se nalaze fajlovi nove verzije</maml:para>
          </maml:Description>
          <command:parameterValue required="true" variableLength="false">FileInfo</command:parameterValue>
          <dev:type>
            <maml:name>FileInfo</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>App</maml:name>
          <maml:Description>
            <maml:para>Aplikacija za deploy</maml:para>
          </maml:Description>
          <command:parameterValueGroup>
            <command:parameterValue required="false" command:variableLength="false">URA10</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">URAME</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">Recalc</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">SIV-RS</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">SIV-BA</command:parameterValue>
          </command:parameterValueGroup>
          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
          <dev:type>
            <maml:name>String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>DeploymentType</maml:name>
          <maml:Description>
            <maml:para>Tip deploymenta, kod Ure se koristi All jer se kopiraju svi fajlovi, dok se kod ostalih aplikacija kopira samo exe i zbog toga koristi OnlyExe</maml:para>
          </maml:Description>
          <command:parameterValueGroup>
            <command:parameterValue required="false" command:variableLength="false">All</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">OnlyExe</command:parameterValue>
          </command:parameterValueGroup>
          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
          <dev:type>
            <maml:name>String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
      <command:syntaxItem>
        <maml:name>Invoke-Deployment</maml:name>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>Prod</maml:name>
          <maml:Description>
            <maml:para>Produkciono Citrix okruženje</maml:para>
          </maml:Description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>SourceFolder</maml:name>
          <maml:Description>
            <maml:para>UNC putanja deljenog foldera u kojem se nalaze fajlovi nove verzije</maml:para>
          </maml:Description>
          <command:parameterValue required="true" variableLength="false">FileInfo</command:parameterValue>
          <dev:type>
            <maml:name>FileInfo</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>App</maml:name>
          <maml:Description>
            <maml:para>Aplikacija za deploy</maml:para>
          </maml:Description>
          <command:parameterValueGroup>
            <command:parameterValue required="false" command:variableLength="false">URA10</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">URAME</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">Recalc</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">SIV-RS</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">SIV-BA</command:parameterValue>
          </command:parameterValueGroup>
          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
          <dev:type>
            <maml:name>String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>DeploymentType</maml:name>
          <maml:Description>
            <maml:para>Tip deploymenta, kod Ure se koristi All jer se kopiraju svi fajlovi, dok se kod ostalih aplikacija kopira samo exe i zbog toga koristi OnlyExe</maml:para>
          </maml:Description>
          <command:parameterValueGroup>
            <command:parameterValue required="false" command:variableLength="false">All</command:parameterValue>
            <command:parameterValue required="false" command:variableLength="false">OnlyExe</command:parameterValue>
          </command:parameterValueGroup>
          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
          <dev:type>
            <maml:name>String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>Test</maml:name>
        <maml:Description>
          <maml:para>Test Citrix okruženje</maml:para>
        </maml:Description>
        <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>Acc</maml:name>
        <maml:Description>
          <maml:para>Acceptance Citrix okruženje</maml:para>
        </maml:Description>
        <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>Prod</maml:name>
        <maml:Description>
          <maml:para>Produkciono Citrix okruženje</maml:para>
        </maml:Description>
        <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>SourceFolder</maml:name>
        <maml:Description>
          <maml:para>UNC putanja deljenog foldera u kojem se nalaze fajlovi nove verzije</maml:para>
        </maml:Description>
        <command:parameterValue required="true" variableLength="false">FileInfo</command:parameterValue>
        <dev:type>
          <maml:name>FileInfo</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>App</maml:name>
        <maml:Description>
          <maml:para>Aplikacija za deploy</maml:para>
        </maml:Description>
        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
        <dev:type>
          <maml:name>String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>DeploymentType</maml:name>
        <maml:Description>
          <maml:para>Tip deploymenta, kod Ure se koristi All jer se kopiraju svi fajlovi, dok se kod ostalih aplikacija kopira samo exe i zbog toga koristi OnlyExe</maml:para>
        </maml:Description>
        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
        <dev:type>
          <maml:name>String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <maml:name>None</maml:name>
        </dev:type>
        <maml:description>
          <maml:para></maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>System.Object</maml:name>
        </dev:type>
        <maml:description>
          <maml:para></maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para></maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>-------------------------- Example 1 --------------------------</maml:title>
        <dev:code>PS C:\&gt; Invoke-Deployment -Acc -App URA10 -SourceFolder "\\rssi05ms0006\Data$\Ura10\Files\TEST\2018-08-07 Ura10 1.18.8.1" -DeploymentType All</dev:code>
        <dev:remarks>
          <maml:para>Deployment URA10 aplikacije na ACC okruženje. Fajlovi nove verzije se nalaze na UNC putanji \\rssi05ms0006\Data$\Ura10\Files\TEST\2018-08-07 Ura10 1.18.8.1. Deployment tip za URA10 aplikaciju je ALL tako da se na destinaciji brišu svi postojeći folderi i fajlovi i na nju kopiraju svi folderi i fajlovi iz source foldera nove verzije</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- Example 2 --------------------------</maml:title>
        <dev:code>PS C:\&gt; Invoke-Deployment -Prod -App SIV-RS -SourceFolder "\\rssi05ms0006\Data$\Unit-IT\SIV-RS\TEST" -DeploymentType OnlyExe</dev:code>
        <dev:remarks>
          <maml:para>Deployment SIV-RS aplikacije na PROD okruženje. Fajlovi nove verzije se nalaze na UNC putanji \\rssi05ms0006\Data$\Unit-IT\SIV-RS\TEST. Deployment tip za SIV-RS aplikaciju je OnlyExe što znači da se na destinaciji briše samo postojeći izvršni exe fajl i na nju kopira samo exe iz source foldera nove verzije</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <command:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Online Version:</maml:linkText>
        <maml:uri></maml:uri>
      </maml:navigationLink>
    </command:relatedLinks>
  </command:command>
</helpItems>