internal/templates/PSFProject-1.3.2.0.xml

<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04">
  <Obj RefId="0">
    <TN RefId="0">
      <T>PSModuleDevelopment.Template.Template</T>
      <T>System.Object</T>
    </TN>
    <ToString>PSModuleDevelopment.Template.Template</ToString>
    <Props>
      <S N="Name">PSFProject</S>
      <Obj N="Type" RefId="1">
        <TN RefId="1">
          <T>PSModuleDevelopment.Template.TemplateType</T>
          <T>System.Enum</T>
          <T>System.ValueType</T>
          <T>System.Object</T>
        </TN>
        <ToString>Project</ToString>
        <I32>1</I32>
      </Obj>
      <Version N="Version">1.3.2.0</Version>
      <S N="Description">PowerShell Framework based project scaffold</S>
      <S N="Author">Friedrich Weinmann</S>
      <DT N="CreatedOn">2020-05-30T00:00:00+00:00</DT>
      <Obj N="Tags" RefId="2">
        <TN RefId="2">
          <T>System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</T>
          <T>System.Object</T>
        </TN>
        <LST>
          <S>module</S>
          <S>psframework</S>
        </LST>
      </Obj>
      <Obj N="Parameters" RefId="3">
        <TNRef RefId="2" />
        <LST>
          <S>name</S>
          <S>author</S>
          <S>company</S>
          <S>description</S>
        </LST>
      </Obj>
      <Obj N="Scripts" RefId="4">
        <TN RefId="3">
          <T>System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[PSModuleDevelopment.Template.ParameterScript, PSModuleDevelopment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]]</T>
          <T>System.Object</T>
        </TN>
        <DCT>
          <En>
            <S N="Key">year</S>
            <Obj N="Value" RefId="5">
              <TN RefId="4">
                <T>PSModuleDevelopment.Template.ParameterScript</T>
                <T>System.Object</T>
              </TN>
              <ToString>PSModuleDevelopment.Template.ParameterScript</ToString>
              <Props>
                <S N="StringScript">_x000D__x000A__x0009__x0009__x0009_Get-Date -Format "yyyy"_x000D__x000A__x0009__x0009_</S>
                <S N="Name">year</S>
                <SBK N="ScriptBlock">_x000D__x000A__x0009__x0009__x0009_Get-Date -Format "yyyy"_x000D__x000A__x0009__x0009_</SBK>
              </Props>
              <MS>
                <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAwDAAAAX1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24sIFZlcnNpb249My4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0zMWJmMzg1NmFkMzY0ZTM1BQEAAAAsUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5QYXJhbWV0ZXJTY3JpcHQCAAAABE5hbWULU2NyaXB0QmxvY2sBBDtTeXN0ZW0uTWFuYWdlbWVudC5BdXRvbWF0aW9uLlNjcmlwdEJsb2NrU2VyaWFsaXphdGlvbkhlbHBlcgMAAAACAAAABgQAAAAEeWVhcgkFAAAABQUAAAA7U3lzdGVtLk1hbmFnZW1lbnQuQXV0b21hdGlvbi5TY3JpcHRCbG9ja1NlcmlhbGl6YXRpb25IZWxwZXIBAAAAClNjcmlwdFRleHQBAwAAAAYGAAAAIA0KCQkJR2V0LURhdGUgLUZvcm1hdCAieXl5eSINCgkJCw==</BA>
              </MS>
            </Obj>
          </En>
          <En>
            <S N="Key">guid2</S>
            <Obj N="Value" RefId="6">
              <TNRef RefId="4" />
              <ToString>PSModuleDevelopment.Template.ParameterScript</ToString>
              <Props>
                <S N="StringScript">_x000D__x000A__x0009__x0009__x0009_[System.Guid]::NewGuid().ToString().ToUpper()_x000D__x000A__x0009__x0009_</S>
                <S N="Name">guid2</S>
                <SBK N="ScriptBlock">_x000D__x000A__x0009__x0009__x0009_[System.Guid]::NewGuid().ToString().ToUpper()_x000D__x000A__x0009__x0009_</SBK>
              </Props>
              <MS>
                <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAwDAAAAX1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24sIFZlcnNpb249My4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0zMWJmMzg1NmFkMzY0ZTM1BQEAAAAsUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5QYXJhbWV0ZXJTY3JpcHQCAAAABE5hbWULU2NyaXB0QmxvY2sBBDtTeXN0ZW0uTWFuYWdlbWVudC5BdXRvbWF0aW9uLlNjcmlwdEJsb2NrU2VyaWFsaXphdGlvbkhlbHBlcgMAAAACAAAABgQAAAAFZ3VpZDIJBQAAAAUFAAAAO1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24uU2NyaXB0QmxvY2tTZXJpYWxpemF0aW9uSGVscGVyAQAAAApTY3JpcHRUZXh0AQMAAAAGBgAAADYNCgkJCVtTeXN0ZW0uR3VpZF06Ok5ld0d1aWQoKS5Ub1N0cmluZygpLlRvVXBwZXIoKQ0KCQkL</BA>
              </MS>
            </Obj>
          </En>
          <En>
            <S N="Key">testfolder</S>
            <Obj N="Value" RefId="7">
              <TNRef RefId="4" />
              <ToString>PSModuleDevelopment.Template.ParameterScript</ToString>
              <Props>
                <S N="StringScript">_x000D__x000A__x0009__x0009__x0009_@'_x000D__x000A_Write-PSFMessage -Level Important -Message "Creating test result folder"_x000D__x000A_$null = New-Item -Path "$PSScriptRoot\..\.." -Name TestResults -ItemType Directory -Force_x000D__x000A_'@_x000D__x000A__x0009__x0009_</S>
                <S N="Name">testfolder</S>
                <SBK N="ScriptBlock">_x000D__x000A__x0009__x0009__x0009_@'_x000D__x000A_Write-PSFMessage -Level Important -Message "Creating test result folder"_x000D__x000A_$null = New-Item -Path "$PSScriptRoot\..\.." -Name TestResults -ItemType Directory -Force_x000D__x000A_'@_x000D__x000A__x0009__x0009_</SBK>
              </Props>
              <MS>
                <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAwDAAAAX1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24sIFZlcnNpb249My4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0zMWJmMzg1NmFkMzY0ZTM1BQEAAAAsUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5QYXJhbWV0ZXJTY3JpcHQCAAAABE5hbWULU2NyaXB0QmxvY2sBBDtTeXN0ZW0uTWFuYWdlbWVudC5BdXRvbWF0aW9uLlNjcmlwdEJsb2NrU2VyaWFsaXphdGlvbkhlbHBlcgMAAAACAAAABgQAAAAKdGVzdGZvbGRlcgkFAAAABQUAAAA7U3lzdGVtLk1hbmFnZW1lbnQuQXV0b21hdGlvbi5TY3JpcHRCbG9ja1NlcmlhbGl6YXRpb25IZWxwZXIBAAAAClNjcmlwdFRleHQBAwAAAAYGAAAAtAENCgkJCUAnDQpXcml0ZS1QU0ZNZXNzYWdlIC1MZXZlbCBJbXBvcnRhbnQgLU1lc3NhZ2UgIkNyZWF0aW5nIHRlc3QgcmVzdWx0IGZvbGRlciINCiRudWxsID0gTmV3LUl0ZW0gLVBhdGggIiRQU1NjcmlwdFJvb3RcLi5cLi4iIC1OYW1lIFRlc3RSZXN1bHRzIC1JdGVtVHlwZSBEaXJlY3RvcnkgLUZvcmNlDQonQA0KCQkL</BA>
              </MS>
            </Obj>
          </En>
          <En>
            <S N="Key">guid</S>
            <Obj N="Value" RefId="8">
              <TNRef RefId="4" />
              <ToString>PSModuleDevelopment.Template.ParameterScript</ToString>
              <Props>
                <S N="StringScript">_x000D__x000A__x0009__x0009__x0009_[System.Guid]::NewGuid().ToString()_x000D__x000A__x0009__x0009_</S>
                <S N="Name">guid</S>
                <SBK N="ScriptBlock">_x000D__x000A__x0009__x0009__x0009_[System.Guid]::NewGuid().ToString()_x000D__x000A__x0009__x0009_</SBK>
              </Props>
              <MS>
                <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAwDAAAAX1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24sIFZlcnNpb249My4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0zMWJmMzg1NmFkMzY0ZTM1BQEAAAAsUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5QYXJhbWV0ZXJTY3JpcHQCAAAABE5hbWULU2NyaXB0QmxvY2sBBDtTeXN0ZW0uTWFuYWdlbWVudC5BdXRvbWF0aW9uLlNjcmlwdEJsb2NrU2VyaWFsaXphdGlvbkhlbHBlcgMAAAACAAAABgQAAAAEZ3VpZAkFAAAABQUAAAA7U3lzdGVtLk1hbmFnZW1lbnQuQXV0b21hdGlvbi5TY3JpcHRCbG9ja1NlcmlhbGl6YXRpb25IZWxwZXIBAAAAClNjcmlwdFRleHQBAwAAAAYGAAAALA0KCQkJW1N5c3RlbS5HdWlkXTo6TmV3R3VpZCgpLlRvU3RyaW5nKCkNCgkJCw==</BA>
              </MS>
            </Obj>
          </En>
          <En>
            <S N="Key">guid3</S>
            <Obj N="Value" RefId="9">
              <TNRef RefId="4" />
              <ToString>PSModuleDevelopment.Template.ParameterScript</ToString>
              <Props>
                <S N="StringScript">_x000D__x000A__x0009__x0009__x0009_[System.Guid]::NewGuid().ToString().ToUpper()_x000D__x000A__x0009__x0009_</S>
                <S N="Name">guid3</S>
                <SBK N="ScriptBlock">_x000D__x000A__x0009__x0009__x0009_[System.Guid]::NewGuid().ToString().ToUpper()_x000D__x000A__x0009__x0009_</SBK>
              </Props>
              <MS>
                <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAwDAAAAX1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24sIFZlcnNpb249My4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0zMWJmMzg1NmFkMzY0ZTM1BQEAAAAsUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5QYXJhbWV0ZXJTY3JpcHQCAAAABE5hbWULU2NyaXB0QmxvY2sBBDtTeXN0ZW0uTWFuYWdlbWVudC5BdXRvbWF0aW9uLlNjcmlwdEJsb2NrU2VyaWFsaXphdGlvbkhlbHBlcgMAAAACAAAABgQAAAAFZ3VpZDMJBQAAAAUFAAAAO1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24uU2NyaXB0QmxvY2tTZXJpYWxpemF0aW9uSGVscGVyAQAAAApTY3JpcHRUZXh0AQMAAAAGBgAAADYNCgkJCVtTeXN0ZW0uR3VpZF06Ok5ld0d1aWQoKS5Ub1N0cmluZygpLlRvVXBwZXIoKQ0KCQkL</BA>
              </MS>
            </Obj>
          </En>
          <En>
            <S N="Key">psframework</S>
            <Obj N="Value" RefId="10">
              <TNRef RefId="4" />
              <ToString>PSModuleDevelopment.Template.ParameterScript</ToString>
              <Props>
                <S N="StringScript">_x000D__x000A__x0009__x0009__x0009_(Get-Module PSFramework).Version.ToString()_x000D__x000A__x0009__x0009_</S>
                <S N="Name">psframework</S>
                <SBK N="ScriptBlock">_x000D__x000A__x0009__x0009__x0009_(Get-Module PSFramework).Version.ToString()_x000D__x000A__x0009__x0009_</SBK>
              </Props>
              <MS>
                <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAwDAAAAX1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24sIFZlcnNpb249My4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0zMWJmMzg1NmFkMzY0ZTM1BQEAAAAsUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5QYXJhbWV0ZXJTY3JpcHQCAAAABE5hbWULU2NyaXB0QmxvY2sBBDtTeXN0ZW0uTWFuYWdlbWVudC5BdXRvbWF0aW9uLlNjcmlwdEJsb2NrU2VyaWFsaXphdGlvbkhlbHBlcgMAAAACAAAABgQAAAALcHNmcmFtZXdvcmsJBQAAAAUFAAAAO1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24uU2NyaXB0QmxvY2tTZXJpYWxpemF0aW9uSGVscGVyAQAAAApTY3JpcHRUZXh0AQMAAAAGBgAAADQNCgkJCShHZXQtTW9kdWxlIFBTRnJhbWV3b3JrKS5WZXJzaW9uLlRvU3RyaW5nKCkNCgkJCw==</BA>
              </MS>
            </Obj>
          </En>
          <En>
            <S N="Key">date</S>
            <Obj N="Value" RefId="11">
              <TNRef RefId="4" />
              <ToString>PSModuleDevelopment.Template.ParameterScript</ToString>
              <Props>
                <S N="StringScript">_x000D__x000A__x0009__x0009__x0009_Get-Date -Format "yyyy-MM-dd"_x000D__x000A__x0009__x0009_</S>
                <S N="Name">date</S>
                <SBK N="ScriptBlock">_x000D__x000A__x0009__x0009__x0009_Get-Date -Format "yyyy-MM-dd"_x000D__x000A__x0009__x0009_</SBK>
              </Props>
              <MS>
                <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAwDAAAAX1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24sIFZlcnNpb249My4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0zMWJmMzg1NmFkMzY0ZTM1BQEAAAAsUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5QYXJhbWV0ZXJTY3JpcHQCAAAABE5hbWULU2NyaXB0QmxvY2sBBDtTeXN0ZW0uTWFuYWdlbWVudC5BdXRvbWF0aW9uLlNjcmlwdEJsb2NrU2VyaWFsaXphdGlvbkhlbHBlcgMAAAACAAAABgQAAAAEZGF0ZQkFAAAABQUAAAA7U3lzdGVtLk1hbmFnZW1lbnQuQXV0b21hdGlvbi5TY3JpcHRCbG9ja1NlcmlhbGl6YXRpb25IZWxwZXIBAAAAClNjcmlwdFRleHQBAwAAAAYGAAAAJg0KCQkJR2V0LURhdGUgLUZvcm1hdCAieXl5eS1NTS1kZCINCgkJCw==</BA>
              </MS>
            </Obj>
          </En>
          <En>
            <S N="Key">pesterconfig</S>
            <Obj N="Value" RefId="12">
              <TNRef RefId="4" />
              <ToString>PSModuleDevelopment.Template.ParameterScript</ToString>
              <Props>
                <S N="StringScript">_x000D__x000A_'$config.TestResult.Enabled = $true'_x000D__x000A__x0009__x0009_</S>
                <S N="Name">pesterconfig</S>
                <SBK N="ScriptBlock">_x000D__x000A_'$config.TestResult.Enabled = $true'_x000D__x000A__x0009__x0009_</SBK>
              </Props>
              <MS>
                <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAwDAAAAX1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24sIFZlcnNpb249My4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0zMWJmMzg1NmFkMzY0ZTM1BQEAAAAsUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5QYXJhbWV0ZXJTY3JpcHQCAAAABE5hbWULU2NyaXB0QmxvY2sBBDtTeXN0ZW0uTWFuYWdlbWVudC5BdXRvbWF0aW9uLlNjcmlwdEJsb2NrU2VyaWFsaXphdGlvbkhlbHBlcgMAAAACAAAABgQAAAAMcGVzdGVyY29uZmlnCQUAAAAFBQAAADtTeXN0ZW0uTWFuYWdlbWVudC5BdXRvbWF0aW9uLlNjcmlwdEJsb2NrU2VyaWFsaXphdGlvbkhlbHBlcgEAAAAKU2NyaXB0VGV4dAEDAAAABgYAAAAqDQonJGNvbmZpZy5UZXN0UmVzdWx0LkVuYWJsZWQgPSAkdHJ1ZScNCgkJCw==</BA>
              </MS>
            </Obj>
          </En>
          <En>
            <S N="Key">guid4</S>
            <Obj N="Value" RefId="13">
              <TNRef RefId="4" />
              <ToString>PSModuleDevelopment.Template.ParameterScript</ToString>
              <Props>
                <S N="StringScript">_x000D__x000A__x0009__x0009__x0009_[System.Guid]::NewGuid().ToString().ToUpper()_x000D__x000A__x0009__x0009_</S>
                <S N="Name">guid4</S>
                <SBK N="ScriptBlock">_x000D__x000A__x0009__x0009__x0009_[System.Guid]::NewGuid().ToString().ToUpper()_x000D__x000A__x0009__x0009_</SBK>
              </Props>
              <MS>
                <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAwDAAAAX1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24sIFZlcnNpb249My4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0zMWJmMzg1NmFkMzY0ZTM1BQEAAAAsUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5QYXJhbWV0ZXJTY3JpcHQCAAAABE5hbWULU2NyaXB0QmxvY2sBBDtTeXN0ZW0uTWFuYWdlbWVudC5BdXRvbWF0aW9uLlNjcmlwdEJsb2NrU2VyaWFsaXphdGlvbkhlbHBlcgMAAAACAAAABgQAAAAFZ3VpZDQJBQAAAAUFAAAAO1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24uU2NyaXB0QmxvY2tTZXJpYWxpemF0aW9uSGVscGVyAQAAAApTY3JpcHRUZXh0AQMAAAAGBgAAADYNCgkJCVtTeXN0ZW0uR3VpZF06Ok5ld0d1aWQoKS5Ub1N0cmluZygpLlRvVXBwZXIoKQ0KCQkL</BA>
              </MS>
            </Obj>
          </En>
          <En>
            <S N="Key">dynamicscript_859658</S>
            <Obj N="Value" RefId="14">
              <TNRef RefId="4" />
              <ToString>PSModuleDevelopment.Template.ParameterScript</ToString>
              <Props>
                <S N="StringScript"> Get-Date -Format 'yyyy-MM-dd' </S>
                <S N="Name">dynamicscript_859658</S>
                <SBK N="ScriptBlock"> Get-Date -Format 'yyyy-MM-dd' </SBK>
              </Props>
              <MS>
                <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAwDAAAAX1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24sIFZlcnNpb249My4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0zMWJmMzg1NmFkMzY0ZTM1BQEAAAAsUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5QYXJhbWV0ZXJTY3JpcHQCAAAABE5hbWULU2NyaXB0QmxvY2sBBDtTeXN0ZW0uTWFuYWdlbWVudC5BdXRvbWF0aW9uLlNjcmlwdEJsb2NrU2VyaWFsaXphdGlvbkhlbHBlcgMAAAACAAAABgQAAAAUZHluYW1pY3NjcmlwdF84NTk2NTgJBQAAAAUFAAAAO1N5c3RlbS5NYW5hZ2VtZW50LkF1dG9tYXRpb24uU2NyaXB0QmxvY2tTZXJpYWxpemF0aW9uSGVscGVyAQAAAApTY3JpcHRUZXh0AQMAAAAGBgAAAB8gR2V0LURhdGUgLUZvcm1hdCAneXl5eS1NTS1kZCcgCw==</BA>
              </MS>
            </Obj>
          </En>
        </DCT>
      </Obj>
      <Obj N="Children" RefId="15">
        <TN RefId="5">
          <T>System.Collections.Generic.List`1[[PSModuleDevelopment.Template.TemplateItemBase, PSModuleDevelopment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]]</T>
          <T>System.Object</T>
        </TN>
        <LST>
          <Obj RefId="16">
            <TN RefId="6">
              <T>PSModuleDevelopment.Template.TemplateItemFolder</T>
              <T>PSModuleDevelopment.Template.TemplateItemBase</T>
              <T>System.Object</T>
            </TN>
            <ToString>PSModuleDevelopment.Template.TemplateItemFolder</ToString>
            <Props>
              <Obj N="Children" RefId="17">
                <TNRef RefId="5" />
                <LST>
                  <S>PSModuleDevelopment.Template.TemplateItemFolder</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFolder</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFolder</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                </LST>
              </Obj>
              <S N="Name">azFunctionResources</S>
              <S N="RelativePath">azFunctionResources</S>
              <S N="Identifier">þ</S>
              <Obj N="FileSystemParameterFlat" RefId="18">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <Obj N="FileSystemParameterScript" RefId="19">
                <TNRef RefId="2" />
                <LST />
              </Obj>
            </Props>
            <MS>
              <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAUBAAAAL1BTTW9kdWxlRGV2ZWxvcG1lbnQuVGVtcGxhdGUuVGVtcGxhdGVJdGVtRm9sZGVyBgAAAAhDaGlsZHJlbgROYW1lDFJlbGF0aXZlUGF0aApJZGVudGlmaWVyF0ZpbGVTeXN0ZW1QYXJhbWV0ZXJGbGF0GUZpbGVTeXN0ZW1QYXJhbWV0ZXJTY3JpcHQDAQEBAwOeAVN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5UZW1wbGF0ZUl0ZW1CYXNlLCBQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1df1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZywgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV1/U3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tTeXN0ZW0uU3RyaW5nLCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXQIAAAAJAwAAAAYEA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AAAAAAAAR6QAAAAQAAAAG7QAAAARuYW1lDQMR6wAAAAQAAAAG7gAAAARuYW1lDQML</BA>
            </MS>
          </Obj>
          <Obj RefId="20">
            <TNRef RefId="6" />
            <ToString>PSModuleDevelopment.Template.TemplateItemFolder</ToString>
            <Props>
              <Obj N="Children" RefId="21">
                <TNRef RefId="5" />
                <LST>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                </LST>
              </Obj>
              <S N="Name">build</S>
              <S N="RelativePath">build</S>
              <S N="Identifier">þ</S>
              <Obj N="FileSystemParameterFlat" RefId="22">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <Obj N="FileSystemParameterScript" RefId="23">
                <TNRef RefId="2" />
                <LST />
              </Obj>
            </Props>
            <MS>
              <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAUBAAAAL1BTTW9kdWxlRGV2ZWxvcG1lbnQuVGVtcGxhdGUuVGVtcGxhdGVJdGVtRm9sZGVyBgAAAAhDaGlsZHJlbgROYW1lDFJlbGF0aXZlUGF0aApJZGVudGlmaWVyF0ZpbGVTeXN0ZW1QYXJhbWV0ZXJGbGF0GUZpbGVTeXN0ZW1QYXJhbWV0ZXJTY3JpcHQDAQEBAwOeAVN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5UZW1wbGF0ZUl0ZW1CYXNlLCBQU01vZHVsZURldmVsb3BtZW50LCBWZXJza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saWRhdGUucHMxCQYAAAAJPwAAAAlAAAAAARIAAAAHAAAACQoAAAAAAAAAAAAAAAETAAAABwAAAAkKAAAAAAAAAAAAAAABFwAAAAcAAAAJCgAAAAAAAAAAAAAAARgAAAAHAAAACQoAAAAAAAAAAAAAAAEaAAAABwAAAAlCAAAAAQAAAAEAAAABGwAAAAcAAAAJCgAAAAAAAAAAAAAAAR8AAAAHAAAACQoAAAAAAAAAAAAAAAEgAAAABwAAAAkKAAAAAAAAAAAAAAABIgAAAAcAAAAJRAAAAAEAAAABAAAAASMAAAAHAAAACQoAAAAAAAAAAAAAAAEnAAAABwAAAAkKAAAAAAAAAAAAAAABKAAAAAcAAAAJCgAAAAAAAAAAAAAAASoAAAAHAAAACUYAAAABAAAAAQAAAAErAAAABwAAAAkKAAAAAAAAAAAAAAABLwAAAAcAAAAJCgAAAAAAAAAAAAAAATAAAAAHAAAACQoAAAAAAAAAAAAAAAEyAAAABwAAAAlIAAAAAQAAAAEAAAABMwAAAAcAAAAJCgAAAAAAAAAAAAAAATcAAAAHAAAACQoAAAAAAAAAAAAAAAE4AAAABwAAAAkKAAAAAAAAAAAAAAABOgAAAAcAAAAJSgAAAAEAAAABAAAAATsAAAAHAAAACQoAAAAAAAAAAAAAAAE/AAAABwAAAAkKAAAAAAAAAAAAAAABQAAAAAcAAAAJCgAAAAAAAAAAAAAAEUIAAAAEAAAABkwAAAAEbmFtZQ0DEUQAAAAEAAAABk0AAAAEbmFtZQ0DEUYAAAAEAAAABk4AAAAEbmFtZQ0DEUgAAAAEAAAABk8AAAAEbmFtZQ0DEUoAAAAEAAAABlAAAAAEbmFtZQ0DCw==</BA>
            </MS>
          </Obj>
          <Obj RefId="24">
            <TNRef RefId="6" />
            <ToString>PSModuleDevelopment.Template.TemplateItemFolder</ToString>
            <Props>
              <Obj N="Children" RefId="25">
                <TNRef RefId="5" />
                <LST>
                  <S>PSModuleDevelopment.Template.TemplateItemFolder</S>
                </LST>
              </Obj>
              <S N="Name">library</S>
              <S N="RelativePath">library</S>
              <S N="Identifier">þ</S>
              <Obj N="FileSystemParameterFlat" RefId="26">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <Obj N="FileSystemParameterScript" RefId="27">
                <TNRef RefId="2" />
                <LST />
              </Obj>
            </Props>
            <MS>
              <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAUBAAAAL1BTTW9kdWxlRGV2ZWxvcG1lbnQuVGVtcGxhdGUuVGVtcGxhdGVJdGVtRm9sZGVyBgAAAAhDaGlsZHJlbgROYW1lDFJlbGF0aXZlUGF0aApJZGVudGlmaWVyF0ZpbGVTeXN0ZW1QYXJhbWV0ZXJGbGF0GUZpbGVTeXN0ZW1QYXJhbWV0ZXJTY3JpcHQDAQEBAwOeAVN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbUFNNb2R1bGVEZXZlbG9wbWVudC5UZW1wbGF0ZS5UZW1wbGF0ZUl0ZW1CYXNlLCBQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1df1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZywgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV1/U3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tTeXN0ZW0uU3RyaW5nLCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXQ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jc3Byb2oGRQAAAClsaWJyYXJ5XMO+bmFtZcO+XMO+bmFtZcO+XMO+bmFtZcO+LmNzcHJvagkGAAAACUcAAAAJSAAAAAE6AAAABwAAAAlJAAAAAQAAAAEAAAABOwAAAAcAAAAJCgAAAAAAAAAAAAAAAT8AAAAHAAAACQoAAAAAAAAAAAAAAAFAAAAABwAAAAkKAAAAAAAAAAAAAAABQgAAAAcAAAAJSwAAAAEAAAABAAAAAUMAAAAHAAAACQoAAAAAAAAAAAAAAAFHAAAABwAAAAlNAAAAAQAAAAEAAAABSAAAAAcAAAAJCgAAAAAAAAAAAAAAEUkAAAAEAAAABk8AAAAEbmFtZQ0DEUsAAAAEAAAABlAAAAAEbmFtZQ0DEU0AAAAEAAAABlEAAAAEbmFtZQ0DCw==</BA>
            </MS>
          </Obj>
          <Obj RefId="28">
            <TNRef RefId="6" />
            <ToString>PSModuleDevelopment.Template.TemplateItemFolder</ToString>
            <Props>
              <Obj N="Children" RefId="29">
                <TNRef RefId="5" />
                <LST>
                  <S>PSModuleDevelopment.Template.TemplateItemFolder</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFolder</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFolder</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFolder</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFolder</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFolder</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                  <S>PSModuleDevelopment.Template.TemplateItemFile</S>
                </LST>
              </Obj>
              <S N="Name">þnameþ</S>
              <S N="RelativePath">þnameþ</S>
              <S N="Identifier">þ</S>
              <Obj N="FileSystemParameterFlat" RefId="30">
                <TNRef RefId="2" />
                <LST>
                  <S>name</S>
                </LST>
              </Obj>
              <Obj N="FileSystemParameterScript" RefId="31">
                <TNRef RefId="2" />
                <LST />
              </Obj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Pg0KICA8IS0tIEZvby5CYXIgLS0+DQogIDxUeXBlPg0KICAgIDxOYW1lPkRlc2VyaWFsaXplZC5Gb28uQmFyPC9OYW1lPg0KICAgIDxNZW1iZXJzPg0KICAgICAgPE1lbWJlclNldD4NCiAgICAgICAgPE5hbWU+UFNTdGFuZGFyZE1lbWJlcnM8L05hbWU+DQogICAgICAgIDxNZW1iZXJzPg0KICAgICAgICAgIDxOb3RlUHJvcGVydHk+DQogICAgICAgICAgICA8TmFtZT4NCiAgICAgICAgICAgICAgVGFyZ2V0VHlwZUZvckRlc2VyaWFsaXphdGlvbg0KICAgICAgICAgICAgPC9OYW1lPg0KICAgICAgICAgICAgPFZhbHVlPg0KICAgICAgICAgICAgICBGb28uQmFyDQogICAgICAgICAgICA8L1ZhbHVlPg0KICAgICAgICAgIDwvTm90ZVByb3BlcnR5Pg0KICAgICAgICA8L01lbWJlcnM+DQogICAgICA8L01lbWJlclNldD4NCiAgICA8L01lbWJlcnM+DQogIDwvVHlwZT4NCiAgPFR5cGU+DQogICAgPE5hbWU+Rm9vLkJhcjwvTmFtZT4NCiAgICA8TWVtYmVycz4NCiAgICAgIDxDb2RlUHJvcGVydHkgSXNIaWRkZW49InRydWUiPg0KICAgICAgICA8TmFtZT5TZXJpYWxpemF0aW9uRGF0YTwvTmFtZT4NCiAgICAgICAgPEdldENvZGVSZWZlcmVuY2U+DQogICAgICAgICAgPFR5cGVOYW1lPlBTRnJhbWV3b3JrLlNlcmlhbGl6YXRpb24uU2VyaWFsaXphdGlvblR5cGVDb252ZXJ0ZXI8L1R5cGVOYW1lPg0KICAgICAgICAgIDxNZXRob2ROYW1lPkdldFNlcmlhbGl6YXRpb25EYXRhPC9NZXRob2ROYW1lPg0KICAgICAgICA8L0dldENvZGVSZWZlcmVuY2U+DQogICAgICA8L0NvZGVQcm9wZXJ0eT4NCiAgICA8L01lbWJlcnM+DQogICAgPFR5cGVDb252ZXJ0ZXI+DQogICAgICA8VHlwZU5hbWU+UFNGcmFtZX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AdgBAAAHAAAACQsAAAAAAAAAAAAAABHZAQAABAAAAAbsAQAABG5hbWUNAxHbAQAABAAAAAbtAQAABG5hbWUNAxHdAQAABAAAAAbuAQAABG5hbWUG7wEAAAZhdXRob3INAhHeAQAABAAAAAbwAQAABGRhdGUG8QEAAAR5ZWFyDQIR4AEAAAQAAAAG8gEAAARuYW1lDQMR4gEAAAQAAAAG8wEAAARuYW1lDQMR5AEAAAQAAAAG9AEAAARuYW1lDQMR5gEAAAQAAAAG9QEAAARuYW1lDQMR6AEAAAQAAAAG9gEAAARuYW1lDQMR6gEAAAQAAAAG9wEAAARuYW1lDQML</BA>
            </MS>
          </Obj>
          <Obj RefId="32">
            <TN RefId="7">
              <T>PSModuleDevelopment.Template.TemplateItemFile</T>
              <T>PSModuleDevelopment.Template.TemplateItemBase</T>
              <T>System.Object</T>
            </TN>
            <ToString>PSModuleDevelopment.Template.TemplateItemFile</ToString>
            <Props>
              <S N="Value"># Auto detect text files and perform LF normalization_x000D__x000A_* text=auto</S>
              <B N="PlainText">true</B>
              <Obj N="ContentParameterFlat" RefId="33">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <Obj N="ContentParameterScript" RefId="34">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <S N="Name">.gitattributes</S>
              <S N="RelativePath">.gitattributes</S>
              <S N="Identifier">þ</S>
              <Obj N="FileSystemParameterFlat" RefId="35">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <Obj N="FileSystemParameterScript" RefId="36">
                <TNRef RefId="2" />
                <LST />
              </Obj>
            </Props>
            <MS>
              <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAUBAAAALVBTTW9kdWxlRGV2ZWxvcG1lbnQuVGVtcGxhdGUuVGVtcGxhdGVJdGVtRmlsZQkAAAAFVmFsdWU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wYIAAAAAsO+CQkAAAAJCgAAAAQEAAAAf1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZywgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0DAAAABl9pdGVtcwVfc2l6ZQhfdmVyc2lvbgYAAAgICQsAAAAAAAAAAAAAAAEFAAAABAAAAAkLAAAAAAAAAAAAAAABCQAAAAQAAAAJCwAAAAAAAAAAAAAAAQoAAAAEAAAACQsAAAAAAAAAAAAAABELAAAAAAAAAAs=</BA>
            </MS>
          </Obj>
          <Obj RefId="37">
            <TNRef RefId="7" />
            <ToString>PSModuleDevelopment.Template.TemplateItemFile</ToString>
            <Props>
              <S N="Value">_x000D__x000A_# ignore the settings folder and files for VSCode and PSS_x000D__x000A_.vscode/*_x000D__x000A_*.psproj_x000D__x000A_*TempPoint*_x000D__x000A__x000D__x000A_# Ignore staging info from Visual Studio_x000D__x000A_library/þnameþ/.vs/*_x000D__x000A_library/þnameþ/þnameþ/bin/*_x000D__x000A_library/þnameþ/þnameþ/obj/*_x000D__x000A__x000D__x000A_# ignore PowerShell Studio MetaData_x000D__x000A_þnameþ/þnameþ.psproj_x000D__x000A_þnameþ/þnameþ.psproj.bak_x000D__x000A_þnameþ/þnameþ.psprojs_x000D__x000A_þnameþ/þnameþ.psproj_x000D__x000A__x000D__x000A_# ignore the TestResults_x000D__x000A_TestResults/*_x000D__x000A__x000D__x000A_# ignore the publishing Directory_x000D__x000A_publish/*</S>
              <B N="PlainText">true</B>
              <Obj N="ContentParameterFlat" RefId="38">
                <TNRef RefId="2" />
                <LST>
                  <S>name</S>
                </LST>
              </Obj>
              <Obj N="ContentParameterScript" RefId="39">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <S N="Name">.gitignore</S>
              <S N="RelativePath">.gitignore</S>
              <S N="Identifier">þ</S>
              <Obj N="FileSystemParameterFlat" RefId="40">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <Obj N="FileSystemParameterScript" RefId="41">
                <TNRef RefId="2" />
                <LST />
              </Obj>
            </Props>
            <MS>
              <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAUBAAAALVBTTW9kdWxlRGV2ZWxvcG1lbnQuVGVtcGxhdGUuVGVtcGxhdGVJdGVtRmlsZQkAAAAFVmFsdWUJUGxhaW5UZXh0FENvbnRlbnRQYXJhbWV0ZXJGbGF0FkNvbnRlbnRQYXJhbWV0ZXJTY3JpcHQETmFtZQxSZWxhdGl2ZVBhdGgKSWRlbnRpZmllchdGaWxlU3lzdGVtUGFyYW1ldGVyRmxhdBlGaWxlU3lzdGVtUGFyYW1ldGVyU2NyaXB0AQADAwEBAQMDAX9TeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN0YDFbW1N5c3RlbS5TdHJpbmcsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV1df1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZywgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV1/U3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tTeXN0ZW0uU3RyaW5nLCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwOD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bj1iNzdhNWM1NjE5MzRlMDg5XV0DAAAABl9pdGVtcwVfc2l6ZQhfdmVyc2lvbgYAAAgICQsAAAABAAAAAQAAAAEFAAAABAAAAAkMAAAAAAAAAAAAAAABCQAAAAQAAAAJDAAAAAAAAAAAAAAAAQoAAAAEAAAACQwAAAAAAAAAAAAAABELAAAABAAAAAYNAAAABG5hbWUNAxEMAAAAAAAAAAs=</BA>
            </MS>
          </Obj>
          <Obj RefId="42">
            <TNRef RefId="7" />
            <ToString>PSModuleDevelopment.Template.TemplateItemFile</ToString>
            <Props>
              <S N="Value">pool:_x000D__x000A_ name: Hosted VS2017_x000D__x000A_steps:_x000D__x000A_- task: PowerShell@2_x000D__x000A_ displayName: Prerequisites_x000D__x000A_ inputs:_x000D__x000A_ targetType: filePath_x000D__x000A_ filePath: './build/vsts-prerequisites.ps1'_x000D__x000A__x000D__x000A_- task: PowerShell@2_x000D__x000A_ displayName: Validate_x000D__x000A_ inputs:_x000D__x000A_ targetType: filePath_x000D__x000A_ filePath: './build/vsts-validate.ps1'_x000D__x000A__x000D__x000A_- task: PublishTestResults@2_x000D__x000A_ displayName: 'Publish Test Results **/TEST-*.xml'_x000D__x000A_ inputs:_x000D__x000A_ testResultsFormat: NUnit_x000D__x000A_ condition: always()_x000D__x000A_</S>
              <B N="PlainText">true</B>
              <Obj N="ContentParameterFlat" RefId="43">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <Obj N="ContentParameterScript" RefId="44">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <S N="Name">azure-pipelines.yml</S>
              <S N="RelativePath">azure-pipelines.yml</S>
              <S N="Identifier">þ</S>
              <Obj N="FileSystemParameterFlat" RefId="45">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <Obj N="FileSystemParameterScript" RefId="46">
                <TNRef RefId="2" />
                <LST />
              </Obj>
            </Props>
            <MS>
              <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LC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Id="47">
            <TNRef RefId="7" />
            <ToString>PSModuleDevelopment.Template.TemplateItemFile</ToString>
            <Props>
              <S N="Value">&lt;#_x000D__x000A__x0009_.SYNOPSIS_x000D__x000A__x0009__x0009_Installs the þnameþ Module from github_x000D__x000A__x0009__x0009__x000D__x000A__x0009_.DESCRIPTION_x000D__x000A__x0009__x0009_This script installs the þnameþ Module from github._x000D__x000A__x0009__x0009__x000D__x000A__x0009__x0009_It does so by ..._x000D__x000A__x0009__x0009_- downloading the specified branch as zip to $env:TEMP_x000D__x000A__x0009__x0009_- Unpacking that zip file to a folder in $env:TEMP_x000D__x000A__x0009__x0009_- Moving that content to a module folder in either program files (default) or the user profile_x000D__x000A__x0009__x000D__x000A__x0009_.PARAMETER Branch_x000D__x000A__x0009__x0009_The branch to install. Installs master by default._x000D__x000A__x0009__x0009_Unknown branches will terminate the script in error._x000D__x000A__x0009__x000D__x000A__x0009_.PARAMETER UserMode_x000D__x000A__x0009__x0009_The downloaded module will be moved to the user profile, rather than program files._x000D__x000A__x0009__x0009__x000D__x000A__x0009_.PARAMETER Scope_x000D__x000A__x0009__x0009_By default, the downloaded module will be moved to program files._x000D__x000A__x0009__x0009_Setting this to 'CurrentUser' installs to the userprofile of the current user._x000D__x000A__x000D__x000A__x0009_.PARAMETER Force_x000D__x000A__x0009__x0009_The install script will overwrite an existing module._x000D__x000A_#&gt;_x000D__x000A_[CmdletBinding()]_x000D__x000A_Param (_x000D__x000A__x0009_[string]_x000D__x000A__x0009_$Branch = "master",_x000D__x000A__x0009__x000D__x000A__x0009_[switch]_x000D__x000A__x0009_$UserMode,_x000D__x000A__x0009__x000D__x000A__x0009_[ValidateSet('AllUsers', 'CurrentUser')]_x000D__x000A__x0009_[string]_x000D__x000A__x0009_$Scope = "AllUsers",_x000D__x000A__x0009__x000D__x000A__x0009_[switch]_x000D__x000A__x0009_$Force_x000D__x000A_)_x000D__x000A__x000D__x000A_#region Configuration for cloning script_x000D__x000A_# Name of the module that is being cloned_x000D__x000A_$ModuleName = "þnameþ"_x000D__x000A__x000D__x000A_# Base path to the github repository_x000D__x000A_$BaseUrl = "https://github.com/&lt;InsertUsernameHere&gt;/þnameþ"_x000D__x000A__x000D__x000A_# If the module is in a subfolder of the cloned repository, specify relative path here. Empty string to skip._x000D__x000A_$SubFolder = "þnameþ"_x000D__x000A_#endregion Configuration for cloning script_x000D__x000A__x000D__x000A_#region Parameter Calculation_x000D__x000A_$doUserMode = $false_x000D__x000A_if ($UserMode) { $doUserMode = $true }_x000D__x000A_if ($install_CurrentUser) { $doUserMode = $true }_x000D__x000A_if ($Scope -eq 'CurrentUser') { $doUserMode = $true }_x000D__x000A__x000D__x000A_if ($install_Branch) { $Branch = $install_Branch }_x000D__x000A_#endregion Parameter Calculation_x000D__x000A__x000D__x000A_#region Utility Functions_x000D__x000A_function Compress-Archive_x000D__x000A_{_x000D__x000A__x0009_&lt;#_x000D__x000A__x0009__x0009_.SYNOPSIS_x000D__x000A__x0009__x0009__x0009_Creates an archive, or zipped file, from specified files and folders._x000D__x000A__x000D__x000A__x0009__x0009_.DESCRIPTION_x000D__x000A__x0009__x0009__x0009_The Compress-Archive cmdlet creates a zipped (or compressed) archive file from one or more specified files or folders. An archive file allows multiple files to be packaged, and optionally compressed, into a single zipped file for easier distribution and storage. An archive file can be compressed by using the compression algorithm specified by the CompressionLevel parameter._x000D__x000A__x000D__x000A__x0009__x0009__x0009_Because Compress-Archive relies upon the Microsoft .NET Framework API System.IO.Compression.ZipArchive to compress files, the maximum file size that you can compress by using Compress-Archive is currently 2 GB. This is a limitation of the underlying API._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER Path_x000D__x000A__x0009__x0009__x0009_Specifies the path or paths to the files that you want to add to the archive zipped file. This parameter can accept wildcard characters. Wildcard characters allow you to add all files in a folder to your zipped archive file. To specify multiple paths, and include files in multiple locations in your output zipped file, use commas to separate the paths._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER LiteralPath_x000D__x000A__x0009__x0009__x0009_Specifies the path or paths to the files that you want to add to the archive zipped file. Unlike the Path parameter, the value of LiteralPath is used exactly as it is typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose each escape character in single quotation marks, to instruct Windows PowerShell not to interpret any characters as escape sequences. To specify multiple paths, and include files in multiple locations in your output zipped file, use commas to separate the paths._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER DestinationPath_x000D__x000A__x0009__x0009__x0009_Specifies the path to the archive output file. This parameter is required. The specified DestinationPath value should include the desired name of the output zipped file; it specifies either the absolute or relative path to the zipped file. If the file name specified in DestinationPath does not have a .zip file name extension, the cmdlet adds a .zip file name extension._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER CompressionLevel_x000D__x000A__x0009__x0009__x0009_Specifies how much compression to apply when you are creating the archive file. Faster compression requires less time to create the file, but can result in larger file sizes. The acceptable values for this parameter are:_x000D__x000A__x000D__x000A__x0009__x0009__x0009_- Fastest. Use the fastest compression method available to decrease processing time; this can result in larger file sizes._x000D__x000A__x0009__x0009__x0009_- NoCompression. Do not compress the source files._x000D__x000A__x0009__x0009__x0009_- Optimal. Processing time is dependent on file size._x000D__x000A__x000D__x000A__x0009__x0009__x0009_If this parameter is not specified, the command uses the default value, Optimal._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER Update_x000D__x000A__x0009__x0009__x0009_Updates the specified archive by replacing older versions of files in the archive with newer versions of files that have the same names. You can also add this parameter to add files to an existing archive._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER Force_x000D__x000A__x0009__x0009__x0009_@{Text=}_x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER Confirm_x000D__x000A__x0009__x0009__x0009_Prompts you for confirmation before running the cmdlet._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER WhatIf_x000D__x000A__x0009__x0009__x0009_Shows what would happen if the cmdlet runs. The cmdlet is not run._x000D__x000A__x000D__x000A__x0009__x0009_.EXAMPLE_x000D__x000A__x0009__x0009__x0009_Example 1: Create an archive file_x000D__x000A__x000D__x000A__x0009__x0009__x0009_PS C:\&gt;Compress-Archive -LiteralPath C:\Reference\Draftdoc.docx, C:\Reference\Images\diagram2.vsd -CompressionLevel Optimal -DestinationPath C:\Archives\Draft.Zip_x000D__x000A__x000D__x000A__x0009__x0009__x0009_This command creates a new archive file, Draft.zip, by compressing two files, Draftdoc.docx and diagram2.vsd, specified by the LiteralPath parameter. The compression level specified for this operation is Optimal._x000D__x000A__x000D__x000A__x0009__x0009_.EXAMPLE_x000D__x000A__x0009__x0009__x0009_Example 2: Create an archive with wildcard characters_x000D__x000A__x000D__x000A__x0009__x0009__x0009_PS C:\&gt;Compress-Archive -Path C:\Reference\* -CompressionLevel Fastest -DestinationPath C:\Archives\Draft_x000D__x000A__x000D__x000A__x0009__x0009__x0009_This command creates a new archive file, Draft.zip, in the C:\Archives folder. Note that though the file name extension .zip was not added to the value of the DestinationPath parameter, Windows PowerShell appends this to the specified archive file name automatically. The new archive file contains every file in the C:\Reference folder, because a wildcard character was used in place of specific file names in the Path parameter. The specified compression level is Fastest, which might result in a larger output file, but compresses a large number of files faster._x000D__x000A__x000D__x000A__x0009__x0009_.EXAMPLE_x000D__x000A__x0009__x0009__x0009_Example 3: Update an existing archive file_x000D__x000A__x000D__x000A__x0009__x0009__x0009_PS C:\&gt;Compress-Archive -Path C:\Reference\* -Update -DestinationPath C:\Archives\Draft.Zip_x000D__x000A__x000D__x000A__x0009__x0009__x0009_This command updates an existing archive file, Draft.Zip, in the C:\Archives folder. The command is run to update Draft.Zip with newer versions of existing files that came from the C:\Reference folder, and also to add new files that have been added to C:\Reference since Draft.Zip was initially created._x000D__x000A__x000D__x000A__x0009__x0009_.EXAMPLE_x000D__x000A__x0009__x0009__x0009_Example 4: Create an archive from an entire folder_x000D__x000A__x000D__x000A__x0009__x0009__x0009_PS C:\&gt;Compress-Archive -Path C:\Reference -DestinationPath C:\Archives\Draft_x000D__x000A__x000D__x000A__x0009__x0009__x0009_This command creates an archive from an entire folder, C:\Reference. Note that though the file name extension .zip was not added to the value of the DestinationPath parameter, Windows PowerShell appends this to the specified archive file name automatically._x000D__x000A__x0009_#&gt;_x000D__x000A__x0009_[CmdletBinding(DefaultParameterSetName = "Path", SupportsShouldProcess = $true, HelpUri = "http://go.microsoft.com/fwlink/?LinkID=393252")]_x000D__x000A__x0009_param_x000D__x000A__x0009_(_x000D__x000A__x0009__x0009_[parameter (mandatory = $true, Position = 0, ParameterSetName = "Path", ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)]_x000D__x000A__x0009__x0009_[parameter (mandatory = $true, Position = 0, ParameterSetName = "PathWithForce", ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)]_x000D__x000A__x0009__x0009_[parameter (mandatory = $true, Position = 0, ParameterSetName = "PathWithUpdate", ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)]_x000D__x000A__x0009__x0009_[ValidateNotNullOrEmpty()]_x000D__x000A__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009_$Path,_x000D__x000A__x000D__x000A__x0009__x0009_[parameter (mandatory = $true, ParameterSetName = "LiteralPath", ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $true)]_x000D__x000A__x0009__x0009_[parameter (mandatory = $true, ParameterSetName = "LiteralPathWithForce", ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $true)]_x000D__x000A__x0009__x0009_[parameter (mandatory = $true, ParameterSetName = "LiteralPathWithUpdate", ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $true)]_x000D__x000A__x0009__x0009_[ValidateNotNullOrEmpty()]_x000D__x000A__x0009__x0009_[Alias("PSPath")]_x000D__x000A__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009_$LiteralPath,_x000D__x000A__x000D__x000A__x0009__x0009_[parameter (mandatory = $true,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_Position = 1,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ValueFromPipeline = $false,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ValueFromPipelineByPropertyName = $false)]_x000D__x000A__x0009__x0009_[ValidateNotNullOrEmpty()]_x000D__x000A__x0009__x0009_[string]_x000D__x000A__x0009__x0009_$DestinationPath,_x000D__x000A__x000D__x000A__x0009__x0009_[parameter (_x000D__x000A__x0009__x0009__x0009__x0009__x0009_mandatory = $false,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ValueFromPipeline = $false,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ValueFromPipelineByPropertyName = $false)]_x000D__x000A__x0009__x0009_[ValidateSet("Optimal", "NoCompression", "Fastest")]_x000D__x000A__x0009__x0009_[string]_x000D__x000A__x0009__x0009_$CompressionLevel = "Optimal",_x000D__x000A__x000D__x000A__x0009__x0009_[parameter(mandatory = $true, ParameterSetName = "PathWithUpdate", ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $false)]_x000D__x000A__x0009__x0009_[parameter(mandatory = $true, ParameterSetName = "LiteralPathWithUpdate", ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $false)]_x000D__x000A__x0009__x0009_[switch]_x000D__x000A__x0009__x0009_$Update = $false,_x000D__x000A__x000D__x000A__x0009__x0009_[parameter(mandatory = $true, ParameterSetName = "PathWithForce", ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $false)]_x000D__x000A__x0009__x0009_[parameter(mandatory = $true, ParameterSetName = "LiteralPathWithForce", ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $false)]_x000D__x000A__x0009__x0009_[switch]_x000D__x000A__x0009__x0009_$Force = $false_x000D__x000A__x0009_)_x000D__x000A__x000D__x000A__x0009_BEGIN_x000D__x000A__x0009_{_x000D__x000A__x0009__x0009_Add-Type -AssemblyName System.IO.Compression -ErrorAction Ignore_x000D__x000A__x0009__x0009_Add-Type -AssemblyName System.IO.Compression.FileSystem -ErrorAction Ignore_x000D__x000A__x000D__x000A__x0009__x0009_$zipFileExtension = ".zip"_x000D__x000A__x000D__x000A__x0009__x0009_$LocalizedData = ConvertFrom-StringData @'_x000D__x000A_PathNotFoundError=The path '{0}' either does not exist or is not a valid file system path._x000D__x000A_ExpandArchiveInValidDestinationPath=The path '{0}' is not a valid file system directory path._x000D__x000A_InvalidZipFileExtensionError={0} is not a supported archive file format. {1} is the only supported archive file format._x000D__x000A_ArchiveFileIsReadOnly=The attributes of the archive file {0} is set to 'ReadOnly' hence it cannot be updated. If you intend to update the existing archive file, remove the 'ReadOnly' attribute on the archive file else use -Force parameter to override and create a new archive file._x000D__x000A_ZipFileExistError=The archive file {0} already exists. Use the -Update parameter to update the existing archive file or use the -Force parameter to overwrite the existing archive file._x000D__x000A_DuplicatePathFoundError=The input to {0} parameter contains a duplicate path '{1}'. Provide a unique set of paths as input to {2} parameter._x000D__x000A_ArchiveFileIsEmpty=The archive file {0} is empty._x000D__x000A_CompressProgressBarText=The archive file '{0}' creation is in progress..._x000D__x000A_ExpandProgressBarText=The archive file '{0}' expansion is in progress..._x000D__x000A_AppendArchiveFileExtensionMessage=The archive file path '{0}' supplied to the DestinationPath patameter does not include .zip extension. Hence .zip is appended to the supplied DestinationPath path and the archive file would be created at '{1}'._x000D__x000A_AddItemtoArchiveFile=Adding '{0}'._x000D__x000A_CreateFileAtExpandedPath=Created '{0}'._x000D__x000A_InvalidArchiveFilePathError=The archive file path '{0}' specified as input to the {1} parameter is resolving to multiple file system paths. Provide a unique path to the {2} parameter where the archive file has to be created._x000D__x000A_InvalidExpandedDirPathError=The directory path '{0}' specified as input to the DestinationPath parameter is resolving to multiple file system paths. Provide a unique path to the Destination parameter where the archive file contents have to be expanded._x000D__x000A_FileExistsError=Failed to create file '{0}' while expanding the archive file '{1}' contents as the file '{2}' already exists. Use the -Force parameter if you want to overwrite the existing directory '{3}' contents when expanding the archive file._x000D__x000A_DeleteArchiveFile=The partially created archive file '{0}' is deleted as it is not usable._x000D__x000A_InvalidDestinationPath=The destination path '{0}' does not contain a valid archive file name._x000D__x000A_PreparingToCompressVerboseMessage=Preparing to compress..._x000D__x000A_PreparingToExpandVerboseMessage=Preparing to expand..._x000D__x000A_'@_x000D__x000A__x000D__x000A__x0009__x0009_#region Utility Functions_x000D__x000A__x0009__x0009_function GetResolvedPathHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$path,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[boolean]_x000D__x000A__x0009__x0009__x0009__x0009_$isLiteralPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[System.Management.Automation.PSCmdlet]_x000D__x000A__x0009__x0009__x0009__x0009_$callerPSCmdlet_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$resolvedPaths = @()_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# null and empty check are are already done on Path parameter at the cmdlet layer._x000D__x000A__x0009__x0009__x0009_foreach ($currentPath in $path)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($isLiteralPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$currentResolvedPaths = Resolve-Path -LiteralPath $currentPath -ErrorAction Stop_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$currentResolvedPaths = Resolve-Path -Path $currentPath -ErrorAction Stop_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_catch_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.PathNotFoundError -f $currentPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$exception = New-Object System.InvalidOperationException $errorMessage, $_.Exception_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorRecord = CreateErrorRecordHelper "ArchiveCmdletPathNotFound" $null ([System.Management.Automation.ErrorCategory]::InvalidArgument) $exception $currentPath_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$callerPSCmdlet.ThrowTerminatingError($errorRecord)_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_foreach ($currentResolvedPath in $currentResolvedPaths)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$resolvedPaths += $currentResolvedPath.ProviderPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$resolvedPaths_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function Add-CompressionAssemblies_x000D__x000A__x0009__x0009_{_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ($PSEdition -eq "Desktop")_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_Add-Type -AssemblyName System.IO.Compression_x000D__x000A__x0009__x0009__x0009__x0009_Add-Type -AssemblyName System.IO.Compression.FileSystem_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function IsValidFileSystemPath_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$path_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$result = $true;_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# null and empty check are are already done on Path parameter at the cmdlet layer._x000D__x000A__x0009__x0009__x0009_foreach ($currentPath in $path)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_if (!([System.IO.File]::Exists($currentPath) -or [System.IO.Directory]::Exists($currentPath)))_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.PathNotFoundError -f $currentPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "PathNotFound" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $currentPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $result;_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x000D__x000A__x0009__x0009_function ValidateDuplicateFileSystemPath_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$inputParameter,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$path_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$uniqueInputPaths = @()_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# null and empty check are are already done on Path parameter at the cmdlet layer._x000D__x000A__x0009__x0009__x0009_foreach ($currentPath in $path)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$currentInputPath = $currentPath.ToUpper()_x000D__x000A__x0009__x0009__x0009__x0009_if ($uniqueInputPaths.Contains($currentInputPath))_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.DuplicatePathFoundError -f $inputParameter, $currentPath, $inputParameter)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "DuplicatePathFound" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $currentPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$uniqueInputPaths += $currentInputPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function CompressionLevelMapper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$compressionLevel_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$compressionLevelFormat = [System.IO.Compression.CompressionLevel]::Optimal_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# CompressionLevel format is already validated at the cmdlet layer._x000D__x000A__x0009__x0009__x0009_switch ($compressionLevel.ToString())_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_"Fastest"_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$compressionLevelFormat = [System.IO.Compression.CompressionLevel]::Fastest_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_"NoCompression"_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$compressionLevelFormat = [System.IO.Compression.CompressionLevel]::NoCompression_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $compressionLevelFormat_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function CompressArchiveHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$sourcePath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$destinationPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$compressionLevel,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[bool]_x000D__x000A__x0009__x0009__x0009__x0009_$isUpdateMode_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$numberOfItemsArchived = 0_x000D__x000A__x0009__x0009__x0009_$sourceFilePaths = @()_x000D__x000A__x0009__x0009__x0009_$sourceDirPaths = @()_x000D__x000A__x000D__x000A__x0009__x0009__x0009_foreach ($currentPath in $sourcePath)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$result = Test-Path -LiteralPath $currentPath -PathType Leaf_x000D__x000A__x0009__x0009__x0009__x0009_if ($result -eq $true)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$sourceFilePaths += $currentPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$sourceDirPaths += $currentPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# The Soure Path contains one or more directory (this directory can have files under it) and no files to be compressed._x000D__x000A__x0009__x0009__x0009_if ($sourceFilePaths.Count -eq 0 -and $sourceDirPaths.Count -gt 0)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight = 100/[double]$sourceDirPaths.Count_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight = 0_x000D__x000A__x0009__x0009__x0009__x0009_foreach ($currentSourceDirPath in $sourceDirPaths)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$count = CompressSingleDirHelper $currentSourceDirPath $destinationPath $compressionLevel $true $isUpdateMode $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$numberOfItemsArchived += $count_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$previousSegmentWeight += $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# The Soure Path contains only files to be compressed._x000D__x000A__x0009__x0009__x0009_elseIf ($sourceFilePaths.Count -gt 0 -and $sourceDirPaths.Count -eq 0)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# $previousSegmentWeight is equal to 0 as there are no prior segments._x000D__x000A__x0009__x0009__x0009__x0009_# $currentSegmentWeight is set to 100 as all files have equal weightage._x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight = 0_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight = 100_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$numberOfItemsArchived = CompressFilesHelper $sourceFilePaths $destinationPath $compressionLevel $isUpdateMode $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_# The Soure Path contains one or more files and one or more directories (this directory can have files under it) to be compressed._x000D__x000A__x0009__x0009__x0009_elseif ($sourceFilePaths.Count -gt 0 -and $sourceDirPaths.Count -gt 0)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# each directory is considered as an individual segments &amp; all the individual files are clubed in to a separate sgemnet._x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight = 100/[double]($sourceDirPaths.Count + 1)_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight = 0_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_foreach ($currentSourceDirPath in $sourceDirPaths)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$count = CompressSingleDirHelper $currentSourceDirPath $destinationPath $compressionLevel $true $isUpdateMode $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$numberOfItemsArchived += $count_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$previousSegmentWeight += $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$count = CompressFilesHelper $sourceFilePaths $destinationPath $compressionLevel $isUpdateMode $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009__x0009_$numberOfItemsArchived += $count_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $numberOfItemsArchived_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function CompressFilesHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$sourceFilePaths,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$destinationPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$compressionLevel,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[bool]_x000D__x000A__x0009__x0009__x0009__x0009_$isUpdateMode,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$numberOfItemsArchived = ZipArchiveHelper $sourceFilePaths $destinationPath $compressionLevel $isUpdateMode $null $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $numberOfItemsArchived_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function CompressSingleDirHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$sourceDirPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$destinationPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$compressionLevel,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[bool]_x000D__x000A__x0009__x0009__x0009__x0009_$useParentDirAsRoot,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[bool]_x000D__x000A__x0009__x0009__x0009__x0009_$isUpdateMode,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_[System.Collections.Generic.List[System.String]]$subDirFiles = @()_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ($useParentDirAsRoot)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$sourceDirInfo = New-Object -TypeName System.IO.DirectoryInfo -ArgumentList $sourceDirPath_x000D__x000A__x0009__x0009__x0009__x0009_$sourceDirFullName = $sourceDirInfo.Parent.FullName_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# If the directory is present at the drive level the DirectoryInfo.Parent include '\' example: C:\_x000D__x000A__x0009__x0009__x0009__x0009_# On the other hand if the directory exists at a deper level then DirectoryInfo.Parent_x000D__x000A__x0009__x0009__x0009__x0009_# has just the path (without an ending '\'). example C:\source_x000D__x000A__x0009__x0009__x0009__x0009_if ($sourceDirFullName.Length -eq 3)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$modifiedSourceDirFullName = $sourceDirFullName_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$modifiedSourceDirFullName = $sourceDirFullName + "\"_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$sourceDirFullName = $sourceDirPath_x000D__x000A__x0009__x0009__x0009__x0009_$modifiedSourceDirFullName = $sourceDirFullName + "\"_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$dirContents = Get-ChildItem -LiteralPath $sourceDirPath -Recurse_x000D__x000A__x0009__x0009__x0009_foreach ($currentContent in $dirContents)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$isContainer = $currentContent -is [System.IO.DirectoryInfo]_x000D__x000A__x0009__x0009__x0009__x0009_if (!$isContainer)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$subDirFiles.Add($currentContent.FullName)_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# The currentContent points to a directory._x000D__x000A__x0009__x0009__x0009__x0009__x0009_# We need to check if the directory is an empty directory, if so such a_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# directory has to be explictly added to the archive file._x000D__x000A__x0009__x0009__x0009__x0009__x0009_# if there are no files in the directory the GetFiles() API returns an empty array._x000D__x000A__x0009__x0009__x0009__x0009__x0009_$files = $currentContent.GetFiles()_x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($files.Count -eq 0)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$subDirFiles.Add($currentContent.FullName + "\")_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$numberOfItemsArchived = ZipArchiveHelper $subDirFiles.ToArray() $destinationPath $compressionLevel $isUpdateMode $modifiedSourceDirFullName $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $numberOfItemsArchived_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function ZipArchiveHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[System.Collections.Generic.List[System.String]]_x000D__x000A__x0009__x0009__x0009__x0009_$sourcePaths,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$destinationPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$compressionLevel,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[bool]_x000D__x000A__x0009__x0009__x0009__x0009_$isUpdateMode,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$modifiedSourceDirFullName,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$numberOfItemsArchived = 0_x000D__x000A__x0009__x0009__x0009_$fileMode = [System.IO.FileMode]::Create_x000D__x000A__x0009__x0009__x0009_$result = Test-Path -LiteralPath $DestinationPath -PathType Leaf_x000D__x000A__x0009__x0009__x0009_if ($result -eq $true)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$fileMode = [System.IO.FileMode]::Open_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_Add-CompressionAssemblies_x000D__x000A__x000D__x000A__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# At this point we are sure that the archive file has write access._x000D__x000A__x0009__x0009__x0009__x0009_$archiveFileStreamArgs = @($destinationPath, $fileMode)_x000D__x000A__x0009__x0009__x0009__x0009_$archiveFileStream = New-Object -TypeName System.IO.FileStream -ArgumentList $archiveFileStreamArgs_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$zipArchiveArgs = @($archiveFileStream, [System.IO.Compression.ZipArchiveMode]::Update, $false)_x000D__x000A__x0009__x0009__x0009__x0009_$zipArchive = New-Object -TypeName System.IO.Compression.ZipArchive -ArgumentList $zipArchiveArgs_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$currentEntryCount = 0_x000D__x000A__x0009__x0009__x0009__x0009_$progressBarStatus = ($LocalizedData.CompressProgressBarText -f $destinationPath)_x000D__x000A__x0009__x0009__x0009__x0009_$bufferSize = 4kb_x000D__x000A__x0009__x0009__x0009__x0009_$buffer = New-Object Byte[] $bufferSize_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_foreach ($currentFilePath in $sourcePaths)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($modifiedSourceDirFullName -ne $null -and $modifiedSourceDirFullName.Length -gt 0)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$index = $currentFilePath.IndexOf($modifiedSourceDirFullName, [System.StringComparison]::OrdinalIgnoreCase)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$currentFilePathSubString = $currentFilePath.Substring($index, $modifiedSourceDirFullName.Length)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$relativeFilePath = $currentFilePath.Replace($currentFilePathSubString, "").Trim()_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$relativeFilePath = [System.IO.Path]::GetFileName($currentFilePath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_# Update mode is selected._x000D__x000A__x0009__x0009__x0009__x0009__x0009_# Check to see if archive file already contains one or more zip files in it._x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($isUpdateMode -eq $true -and $zipArchive.Entries.Count -gt 0)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$entryToBeUpdated = $null_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# Check if the file already exists in the archive file._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# If so replace it with new file from the input source._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# If the file does not exist in the archive file then default to_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# create mode and create the entry in the archive file._x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_foreach ($currentArchiveEntry in $zipArchive.Entries)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($currentArchiveEntry.FullName -eq $relativeFilePath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$entryToBeUpdated = $currentArchiveEntry_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_break_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_if ($entryToBeUpdated -ne $null)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$addItemtoArchiveFileMessage = ($LocalizedData.AddItemtoArchiveFile -f $currentFilePath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$entryToBeUpdated.Delete()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_$compression = CompressionLevelMapper $compressionLevel_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_# If a directory needs to be added to an archive file,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# by convention the .Net API's expect the path of the diretcory_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# to end with '\' to detect the path as an directory._x000D__x000A__x0009__x0009__x0009__x0009__x0009_if (!$relativeFilePath.EndsWith("\", [StringComparison]::OrdinalIgnoreCase))_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$currentFileStream = [System.IO.File]::Open($currentFilePath, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_catch_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# Failed to access the file. Write a non terminating error to the pipeline_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# and move on with the remaining files._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$exception = $_.Exception_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($null -ne $_.Exception -and_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$null -ne $_.Exception.InnerException)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$exception = $_.Exception.InnerException_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$errorRecord = CreateErrorRecordHelper "CompressArchiveUnauthorizedAccessError" $null ([System.Management.Automation.ErrorCategory]::PermissionDenied) $exception $currentFilePath_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Write-Error -ErrorRecord $errorRecord_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($null -ne $currentFileStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$srcStream = New-Object System.IO.BinaryReader $currentFileStream_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntry = $zipArchive.CreateEntry($relativeFilePath, $compression)_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# Updating the File Creation time so that the same timestamp would be retained after expanding the compressed file._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# At this point we are sure that Get-ChildItem would succeed._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntry.LastWriteTime = (Get-Item -LiteralPath $currentFilePath).LastWriteTime_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$destStream = New-Object System.IO.BinaryWriter $currentArchiveEntry.Open()_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_while ($numberOfBytesRead = $srcStream.Read($buffer, 0, $bufferSize))_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$destStream.Write($buffer, 0, $numberOfBytesRead)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$destStream.Flush()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$numberOfItemsArchived += 1_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$addItemtoArchiveFileMessage = ($LocalizedData.AddItemtoArchiveFile -f $currentFilePath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_finally_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_If ($null -ne $currentFileStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$currentFileStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_If ($null -ne $srcStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$srcStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_If ($null -ne $destStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$destStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntry = $zipArchive.CreateEntry("$relativeFilePath", $compression)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$numberOfItemsArchived += 1_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$addItemtoArchiveFileMessage = ($LocalizedData.AddItemtoArchiveFile -f $currentFilePath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($null -ne $addItemtoArchiveFileMessage)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_Write-Verbose $addItemtoArchiveFileMessage_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_$currentEntryCount += 1_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ProgressBarHelper "Compress-Archive" $progressBarStatus $previousSegmentWeight $currentSegmentWeight $sourcePaths.Count $currentEntryCount_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_finally_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_If ($null -ne $zipArchive)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$zipArchive.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_If ($null -ne $archiveFileStream)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$archiveFileStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# Complete writing progress._x000D__x000A__x0009__x0009__x0009__x0009_Write-Progress -Activity "Compress-Archive" -Completed_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $numberOfItemsArchived_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# ValidateArchivePathHelper: This is a helper function used to validate the archive file_x000D__x000A_# path &amp; its file format. The only supported archive file format is .zip_x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function ValidateArchivePathHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$archiveFile_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ([System.IO.File]::Exists($archiveFile))_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$extension = [system.IO.Path]::GetExtension($archiveFile)_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# Invalid file extension is specifed for the zip file._x000D__x000A__x0009__x0009__x0009__x0009_if ($extension -ne $zipFileExtension)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.InvalidZipFileExtensionError -f $extension, $zipFileExtension)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "NotSupportedArchiveFileExtension" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $extension_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.PathNotFoundError -f $archiveFile)_x000D__x000A__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "PathNotFound" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $archiveFile_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# ExpandArchiveHelper: This is a helper function used to expand the archive file contents_x000D__x000A_# to the specified directory._x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function ExpandArchiveHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$archiveFile,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$expandedDir,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[ref]_x000D__x000A__x0009__x0009__x0009__x0009_$expandedItems,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[boolean]_x000D__x000A__x0009__x0009__x0009__x0009_$force,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[boolean]_x000D__x000A__x0009__x0009__x0009__x0009_$isVerbose,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[boolean]_x000D__x000A__x0009__x0009__x0009__x0009_$isConfirm_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_Add-CompressionAssemblies_x000D__x000A__x000D__x000A__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# The existance of archive file has already been validated by ValidateArchivePathHelper_x000D__x000A__x0009__x0009__x0009__x0009_# before calling this helper function._x000D__x000A__x0009__x0009__x0009__x0009_$archiveFileStreamArgs = @($archiveFile, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read)_x000D__x000A__x0009__x0009__x0009__x0009_$archiveFileStream = New-Object -TypeName System.IO.FileStream -ArgumentList $archiveFileStreamArgs_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$zipArchiveArgs = @($archiveFileStream, [System.IO.Compression.ZipArchiveMode]::Read, $false)_x000D__x000A__x0009__x0009__x0009__x0009_$zipArchive = New-Object -TypeName System.IO.Compression.ZipArchive -ArgumentList $zipArchiveArgs_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_if ($zipArchive.Entries.Count -eq 0)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$archiveFileIsEmpty = ($LocalizedData.ArchiveFileIsEmpty -f $archiveFile)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_Write-Verbose $archiveFileIsEmpty_x000D__x000A__x0009__x0009__x0009__x0009__x0009_return_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$currentEntryCount = 0_x000D__x000A__x0009__x0009__x0009__x0009_$progressBarStatus = ($LocalizedData.ExpandProgressBarText -f $archiveFile)_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# The archive entries can either be empty directories or files._x000D__x000A__x0009__x0009__x0009__x0009_foreach ($currentArchiveEntry in $zipArchive.Entries)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntryPath = Join-Path -Path $expandedDir -ChildPath $currentArchiveEntry.FullName_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$extension = [system.IO.Path]::GetExtension($currentArchiveEntryPath)_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_# The current archive entry is an empty directory_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# The FullName of the Archive Entry representing a directory would end with a trailing '\'._x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($extension -eq [string]::Empty -and_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntryPath.EndsWith("\", [StringComparison]::OrdinalIgnoreCase))_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$pathExists = Test-Path -LiteralPath $currentArchiveEntryPath_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# The current archive entry expects an empty directory._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# Check if the existing directory is empty. If its not empty_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# then it means that user has added this directory by other means._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_if ($pathExists -eq $false)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_New-Item $currentArchiveEntryPath -ItemType Directory -Confirm:$isConfirm | Out-Null_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if (Test-Path -LiteralPath $currentArchiveEntryPath -PathType Container)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$addEmptyDirectorytoExpandedPathMessage = ($LocalizedData.AddItemtoArchiveFile -f $currentArchiveEntryPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Write-Verbose $addEmptyDirectorytoExpandedPathMessage_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$expandedItems.Value += $currentArchiveEntryPath_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntryFileInfo = New-Object -TypeName System.IO.FileInfo -ArgumentList $currentArchiveEntryPath_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$parentDirExists = Test-Path -LiteralPath $currentArchiveEntryFileInfo.DirectoryName -PathType Container_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# If the Parent directory of the current entry in the archive file does not exist, then create it._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($parentDirExists -eq $false)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_New-Item $currentArchiveEntryFileInfo.DirectoryName -ItemType Directory -Confirm:$isConfirm | Out-Null_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if (!(Test-Path -LiteralPath $currentArchiveEntryFileInfo.DirectoryName -PathType Container))_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# The directory referred by $currentArchiveEntryFileInfo.DirectoryName was not successfully created._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# This could be because the user has specified -Confirm paramter when Expand-Archive was invoked_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# and authorization was not provided when confirmation was prompted. In such a scenario,_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# we skip the current file in the archive and continue with the remaining archive file contents._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Continue_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$expandedItems.Value += $currentArchiveEntryFileInfo.DirectoryName_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$hasNonTerminatingError = $false_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# Check if the file in to which the current archive entry contents_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# would be expanded already exists._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($currentArchiveEntryFileInfo.Exists)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($force)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Remove-Item -LiteralPath $currentArchiveEntryFileInfo.FullName -Force -ErrorVariable ev -Verbose:$isVerbose -Confirm:$isConfirm_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($ev -ne $null)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$hasNonTerminatingError = $true_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if (Test-Path -LiteralPath $currentArchiveEntryFileInfo.FullName -PathType Leaf)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# The file referred by $currentArchiveEntryFileInfo.FullName was not successfully removed._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# This could be because the user has specified -Confirm paramter when Expand-Archive was invoked_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# and authorization was not provided when confirmation was prompted. In such a scenario,_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# we skip the current file in the archive and continue with the remaining archive file contents._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Continue_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# Write non-terminating error to the pipeline._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.FileExistsError -f $currentArchiveEntryFileInfo.FullName, $archiveFile, $currentArchiveEntryFileInfo.FullName, $currentArchiveEntryFileInfo.FullName)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$errorRecord = CreateErrorRecordHelper "ExpandArchiveFileExists" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidOperation) $null $currentArchiveEntryFileInfo.FullName_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Write-Error -ErrorRecord $errorRecord_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$hasNonTerminatingError = $true_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if (!$hasNonTerminatingError)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_[System.IO.Compression.ZipFileExtensions]::ExtractToFile($currentArchiveEntry, $currentArchiveEntryPath, $false)_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# Add the expanded file path to the $expandedItems array,_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# to keep track of all the expanded files created while expanding the archive file._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# If user enters CTRL + C then at that point of time, all these expanded files_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# would be deleted as part of the clean up process._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$expandedItems.Value += $currentArchiveEntryPath_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$addFiletoExpandedPathMessage = ($LocalizedData.CreateFileAtExpandedPath -f $currentArchiveEntryPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Write-Verbose $addFiletoExpandedPathMessage_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_finally_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_If ($null -ne $destStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$destStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_If ($null -ne $srcStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$srcStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_$currentEntryCount += 1_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# $currentSegmentWeight is Set to 100 giving equal weightage to each file that is getting expanded._x000D__x000A__x0009__x0009__x0009__x0009__x0009_# $previousSegmentWeight is set to 0 as there are no prior segments._x000D__x000A__x0009__x0009__x0009__x0009__x0009_$previousSegmentWeight = 0_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$currentSegmentWeight = 100_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ProgressBarHelper "Expand-Archive" $progressBarStatus $previousSegmentWeight $currentSegmentWeight $zipArchive.Entries.Count $currentEntryCount_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_finally_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_If ($null -ne $zipArchive)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$zipArchive.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_If ($null -ne $archiveFileStream)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$archiveFileStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# Complete writing progress._x000D__x000A__x0009__x0009__x0009__x0009_Write-Progress -Activity "Expand-Archive" -Completed_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# ProgressBarHelper: This is a helper function used to display progress message._x000D__x000A_# This function is used by both Compress-Archive &amp; Expand-Archive to display archive file_x000D__x000A_# creation/expansion progress._x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function ProgressBarHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$cmdletName,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$status,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[int]_x000D__x000A__x0009__x0009__x0009__x0009_$totalNumberofEntries,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[int]_x000D__x000A__x0009__x0009__x0009__x0009_$currentEntryCount_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ($currentEntryCount -gt 0 -and_x000D__x000A__x0009__x0009__x0009__x0009_$totalNumberofEntries -gt 0 -and_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight -ge 0 -and_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight -gt 0)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$entryDefaultWeight = $currentSegmentWeight/[double]$totalNumberofEntries_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$percentComplete = $previousSegmentWeight + ($entryDefaultWeight * $currentEntryCount)_x000D__x000A__x0009__x0009__x0009__x0009_Write-Progress -Activity $cmdletName -Status $status -PercentComplete $percentComplete_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# CSVHelper: This is a helper function used to append comma after each path specifid by_x000D__x000A_# the SourcePath array. This helper function is used to display all the user supplied paths_x000D__x000A_# in the WhatIf message._x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function CSVHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$sourcePath_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# SourcePath has already been validated by the calling funcation._x000D__x000A__x0009__x0009__x0009_if ($sourcePath.Count -gt 1)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$sourcePathInCsvFormat = "`n"_x000D__x000A__x0009__x0009__x0009__x0009_for ($currentIndex = 0; $currentIndex -lt $sourcePath.Count; $currentIndex++)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($currentIndex -eq $sourcePath.Count - 1)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$sourcePathInCsvFormat += $sourcePath[$currentIndex]_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$sourcePathInCsvFormat += $sourcePath[$currentIndex] + "`n"_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$sourcePathInCsvFormat = $sourcePath_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $sourcePathInCsvFormat_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# ThrowTerminatingErrorHelper: This is a helper function used to throw terminating error._x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function ThrowTerminatingErrorHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$errorId,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$errorMessage,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[System.Management.Automation.ErrorCategory]_x000D__x000A__x0009__x0009__x0009__x0009_$errorCategory,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[object]_x000D__x000A__x0009__x0009__x0009__x0009_$targetObject,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[Exception]_x000D__x000A__x0009__x0009__x0009__x0009_$innerException_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ($innerException -eq $null)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$exception = New-object System.IO.IOException $errorMessage_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$exception = New-Object System.IO.IOException $errorMessage, $innerException_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$exception = New-Object System.IO.IOException $errorMessage_x000D__x000A__x0009__x0009__x0009_$errorRecord = New-Object System.Management.Automation.ErrorRecord $exception, $errorId, $errorCategory, $targetObject_x000D__x000A__x0009__x0009__x0009_$PSCmdlet.ThrowTerminatingError($errorRecord)_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# CreateErrorRecordHelper: This is a helper function used to create an ErrorRecord_x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function CreateErrorRecordHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$errorId,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$errorMessage,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[System.Management.Automation.ErrorCategory]_x000D__x000A__x0009__x0009__x0009__x0009_$errorCategory,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[Exception]_x000D__x000A__x0009__x0009__x0009__x0009_$exception,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[object]_x000D__x000A__x0009__x0009__x0009__x0009_$targetObject_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ($null -eq $exception)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$exception = New-Object System.IO.IOException $errorMessage_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$errorRecord = New-Object System.Management.Automation.ErrorRecord $exception, $errorId, $errorCategory, $targetObject_x000D__x000A__x0009__x0009__x0009_return $errorRecord_x000D__x000A__x0009__x0009_}_x000D__x000A__x0009__x0009_#endregion Utility Functions_x000D__x000A__x000D__x000A__x0009__x0009_$inputPaths = @()_x000D__x000A__x0009__x0009_$destinationParentDir = [system.IO.Path]::GetDirectoryName($DestinationPath)_x000D__x000A__x0009__x0009_if ($null -eq $destinationParentDir)_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$errorMessage = ($LocalizedData.InvalidDestinationPath -f $DestinationPath)_x000D__x000A__x0009__x0009__x0009_ThrowTerminatingErrorHelper "InvalidArchiveFilePath" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $DestinationPath_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_if ($destinationParentDir -eq [string]::Empty)_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$destinationParentDir = '.'_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_$achiveFileName = [system.IO.Path]::GetFileName($DestinationPath)_x000D__x000A__x0009__x0009_$destinationParentDir = GetResolvedPathHelper $destinationParentDir $false $PSCmdlet_x000D__x000A__x000D__x000A__x0009__x0009_if ($destinationParentDir.Count -gt 1)_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$errorMessage = ($LocalizedData.InvalidArchiveFilePathError -f $DestinationPath, "DestinationPath", "DestinationPath")_x000D__x000A__x0009__x0009__x0009_ThrowTerminatingErrorHelper "InvalidArchiveFilePath" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $DestinationPath_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_IsValidFileSystemPath $destinationParentDir | Out-Null_x000D__x000A__x0009__x0009_$DestinationPath = Join-Path -Path $destinationParentDir -ChildPath $achiveFileName_x000D__x000A__x000D__x000A__x0009__x0009_# GetExtension API does not validate for the actual existance of the path._x000D__x000A__x0009__x0009_$extension = [system.IO.Path]::GetExtension($DestinationPath)_x000D__x000A__x000D__x000A__x0009__x0009_# If user does not specify .Zip extension, we append it._x000D__x000A__x0009__x0009_If ($extension -eq [string]::Empty)_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$DestinationPathWithOutExtension = $DestinationPath_x000D__x000A__x0009__x0009__x0009_$DestinationPath = $DestinationPathWithOutExtension + $zipFileExtension_x000D__x000A__x0009__x0009__x0009_$appendArchiveFileExtensionMessage = ($LocalizedData.AppendArchiveFileExtensionMessage -f $DestinationPathWithOutExtension, $DestinationPath)_x000D__x000A__x0009__x0009__x0009_Write-Verbose $appendArchiveFileExtensionMessage_x000D__x000A__x0009__x0009_}_x000D__x000A__x0009__x0009_else_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_# Invalid file extension is specified for the zip file to be created._x000D__x000A__x0009__x0009__x0009_if ($extension -ne $zipFileExtension)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.InvalidZipFileExtensionError -f $extension, $zipFileExtension)_x000D__x000A__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "NotSupportedArchiveFileExtension" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $extension_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_$archiveFileExist = Test-Path -LiteralPath $DestinationPath -PathType Leaf_x000D__x000A__x000D__x000A__x0009__x0009_if ($archiveFileExist -and ($Update -eq $false -and $Force -eq $false))_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$errorMessage = ($LocalizedData.ZipFileExistError -f $DestinationPath)_x000D__x000A__x0009__x0009__x0009_ThrowTerminatingErrorHelper "ArchiveFileExists" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $DestinationPath_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_# If archive file already exists and if -Update is specified, then we check to see_x000D__x000A__x0009__x0009_# if we have write access permission to update the existing archive file._x000D__x000A__x0009__x0009_if ($archiveFileExist -and $Update -eq $true)_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$item = Get-Item -Path $DestinationPath_x000D__x000A__x0009__x0009__x0009_if ($item.Attributes.ToString().Contains("ReadOnly"))_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.ArchiveFileIsReadOnly -f $DestinationPath)_x000D__x000A__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "ArchiveFileIsReadOnly" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidOperation) $DestinationPath_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_$isWhatIf = $psboundparameters.ContainsKey("WhatIf")_x000D__x000A__x0009__x0009_if (!$isWhatIf)_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$preparingToCompressVerboseMessage = ($LocalizedData.PreparingToCompressVerboseMessage)_x000D__x000A__x0009__x0009__x0009_Write-Verbose $preparingToCompressVerboseMessage_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$progressBarStatus = ($LocalizedData.CompressProgressBarText -f $DestinationPath)_x000D__x000A__x0009__x0009__x0009_ProgressBarHelper "Compress-Archive" $progressBarStatus 0 100 100 1_x000D__x000A__x0009__x0009_}_x000D__x000A__x0009_}_x000D__x000A__x0009_PROCESS_x000D__x000A__x0009_{_x000D__x000A__x0009__x0009_if ($PsCmdlet.ParameterSetName -eq "Path" -or_x000D__x000A__x0009__x0009__x0009_$PsCmdlet.ParameterSetName -eq "PathWithForce" -or_x000D__x000A__x0009__x0009__x0009_$PsCmdlet.ParameterSetName -eq "PathWithUpdate")_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$inputPaths += $Path_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_if ($PsCmdlet.ParameterSetName -eq "LiteralPath" -or_x000D__x000A__x0009__x0009__x0009_$PsCmdlet.ParameterSetName -eq "LiteralPathWithForce" -or_x000D__x000A__x0009__x0009__x0009_$PsCmdlet.ParameterSetName -eq "LiteralPathWithUpdate")_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$inputPaths += $LiteralPath_x000D__x000A__x0009__x0009_}_x000D__x000A__x0009_}_x000D__x000A__x0009_END_x000D__x000A__x0009_{_x000D__x000A__x0009__x0009_# If archive file already exists and if -Force is specified, we delete the_x000D__x000A__x0009__x0009_# existing artchive file and create a brand new one._x000D__x000A__x0009__x0009_if (($PsCmdlet.ParameterSetName -eq "PathWithForce" -or_x000D__x000A__x0009__x0009__x0009__x0009_$PsCmdlet.ParameterSetName -eq "LiteralPathWithForce") -and $archiveFileExist)_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_Remove-Item -Path $DestinationPath -Force -ErrorAction Stop_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_# Validate Source Path depeding on parameter set being used._x000D__x000A__x0009__x0009_# The specified source path conatins one or more files or directories that needs_x000D__x000A__x0009__x0009_# to be compressed._x000D__x000A__x0009__x0009_$isLiteralPathUsed = $false_x000D__x000A__x0009__x0009_if ($PsCmdlet.ParameterSetName -eq "LiteralPath" -or_x000D__x000A__x0009__x0009__x0009_$PsCmdlet.ParameterSetName -eq "LiteralPathWithForce" -or_x000D__x000A__x0009__x0009__x0009_$PsCmdlet.ParameterSetName -eq "LiteralPathWithUpdate")_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$isLiteralPathUsed = $true_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_ValidateDuplicateFileSystemPath $PsCmdlet.ParameterSetName $inputPaths_x000D__x000A__x0009__x0009_$resolvedPaths = GetResolvedPathHelper $inputPaths $isLiteralPathUsed $PSCmdlet_x000D__x000A__x0009__x0009_IsValidFileSystemPath $resolvedPaths | Out-Null_x000D__x000A__x000D__x000A__x0009__x0009_$sourcePath = $resolvedPaths;_x000D__x000A__x000D__x000A__x0009__x0009_# CSVHelper: This is a helper function used to append comma after each path specifid by_x000D__x000A__x0009__x0009_# the $sourcePath array. The comma saperated paths are displayed in the -WhatIf message._x000D__x000A__x0009__x0009_$sourcePathInCsvFormat = CSVHelper $sourcePath_x000D__x000A__x0009__x0009_if ($pscmdlet.ShouldProcess($sourcePathInCsvFormat))_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# StopProcessing is not avaliable in Script cmdlets. However the pipleline execution_x000D__x000A__x0009__x0009__x0009__x0009_# is terminated when ever 'CTRL + C' is entered by user to terminate the cmdlet execution._x000D__x000A__x0009__x0009__x0009__x0009_# The finally block is executed whenever pipleline is terminated._x000D__x000A__x0009__x0009__x0009__x0009_# $isArchiveFileProcessingComplete variable is used to track if 'CTRL + C' is entered by the_x000D__x000A__x0009__x0009__x0009__x0009_# user._x000D__x000A__x0009__x0009__x0009__x0009_$isArchiveFileProcessingComplete = $false_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$numberOfItemsArchived = CompressArchiveHelper $sourcePath $DestinationPath $CompressionLevel $Update_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$isArchiveFileProcessingComplete = $true_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_finally_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# The $isArchiveFileProcessingComplete would be set to $false if user has typed 'CTRL + C' to_x000D__x000A__x0009__x0009__x0009__x0009_# terminate the cmdlet execution or if an unhandled exception is thrown._x000D__x000A__x0009__x0009__x0009__x0009_# $numberOfItemsArchived contains the count of number of files or directories add to the archive file._x000D__x000A__x0009__x0009__x0009__x0009_# If the newly created archive file is empty then we delete it as its not usable._x000D__x000A__x0009__x0009__x0009__x0009_if (($isArchiveFileProcessingComplete -eq $false) -or_x000D__x000A__x0009__x0009__x0009__x0009__x0009_($numberOfItemsArchived -eq 0))_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$DeleteArchiveFileMessage = ($LocalizedData.DeleteArchiveFile -f $DestinationPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_Write-Verbose $DeleteArchiveFileMessage_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_# delete the partial archive file created._x000D__x000A__x0009__x0009__x0009__x0009__x0009_if (Test-Path $DestinationPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_Remove-Item -LiteralPath $DestinationPath -Force -Recurse -ErrorAction SilentlyContinue_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x0009_}_x000D__x000A_}_x000D__x000A__x000D__x000A_function Expand-Archive_x000D__x000A_{_x000D__x000A__x0009_&lt;#_x000D__x000A__x0009__x0009_.SYNOPSIS_x000D__x000A__x0009__x0009__x0009_Extracts files from a specified archive (zipped) file._x000D__x000A__x000D__x000A__x0009__x0009_.DESCRIPTION_x000D__x000A__x0009__x0009__x0009_The Expand-Archive cmdlet extracts files from a specified zipped archive file to a specified destination folder. An archive file allows multiple files to be packaged, and optionally compressed, into a single zipped file for easier distribution and storage._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER Path_x000D__x000A__x0009__x0009__x0009_Specifies the path to the archive file._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER LiteralPath_x000D__x000A__x0009__x0009__x0009_Specifies the path to an archive file. Unlike the Path parameter, the value of LiteralPath is used exactly as it is typed. Wildcard characters are not supported. If the path includes escape characters, enclose each escape character in single quotation marks, to instruct Windows PowerShell not to interpret any characters as escape sequences._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER DestinationPath_x000D__x000A__x0009__x0009__x0009_Specifies the path to the folder in which you want the command to save extracted files. Enter the path to a folder, but do not specify a file name or file name extension. This parameter is required._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER Force_x000D__x000A__x0009__x0009__x0009_Forces the command to run without asking for user confirmation._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER Confirm_x000D__x000A__x0009__x0009__x0009_Prompts you for confirmation before running the cmdlet._x000D__x000A__x000D__x000A__x0009__x0009_.PARAMETER WhatIf_x000D__x000A__x0009__x0009__x0009_Shows what would happen if the cmdlet runs. The cmdlet is not run._x000D__x000A__x000D__x000A__x0009__x0009_.EXAMPLE_x000D__x000A__x0009__x0009__x0009_Example 1: Extract the contents of an archive_x000D__x000A__x000D__x000A__x0009__x0009__x0009_PS C:\&gt;Expand-Archive -LiteralPath C:\Archives\Draft.Zip -DestinationPath C:\Reference_x000D__x000A__x000D__x000A__x0009__x0009__x0009_This command extracts the contents of an existing archive file, Draft.zip, into the folder specified by the DestinationPath parameter, C:\Reference._x000D__x000A__x000D__x000A__x0009__x0009_.EXAMPLE_x000D__x000A__x0009__x0009__x0009_Example 2: Extract the contents of an archive in the current folder_x000D__x000A__x000D__x000A__x0009__x0009__x0009_PS C:\&gt;Expand-Archive -Path Draft.Zip -DestinationPath C:\Reference_x000D__x000A__x000D__x000A__x0009__x0009__x0009_This command extracts the contents of an existing archive file in the current folder, Draft.zip, into the folder specified by the DestinationPath parameter, C:\Reference._x000D__x000A__x0009_#&gt;_x000D__x000A__x0009_[CmdletBinding(_x000D__x000A__x0009__x0009__x0009__x0009_ DefaultParameterSetName = "Path",_x000D__x000A__x0009__x0009__x0009__x0009_ SupportsShouldProcess = $true,_x000D__x000A__x0009__x0009__x0009__x0009_ HelpUri = "http://go.microsoft.com/fwlink/?LinkID=393253")]_x000D__x000A__x0009_param_x000D__x000A__x0009_(_x000D__x000A__x0009__x0009_[parameter (_x000D__x000A__x0009__x0009__x0009__x0009__x0009_mandatory = $true,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_Position = 0,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ParameterSetName = "Path",_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ValueFromPipeline = $true,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ValueFromPipelineByPropertyName = $true)]_x000D__x000A__x0009__x0009_[ValidateNotNullOrEmpty()]_x000D__x000A__x0009__x0009_[string]_x000D__x000A__x0009__x0009_$Path,_x000D__x000A__x000D__x000A__x0009__x0009_[parameter (_x000D__x000A__x0009__x0009__x0009__x0009__x0009_mandatory = $true,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ParameterSetName = "LiteralPath",_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ValueFromPipelineByPropertyName = $true)]_x000D__x000A__x0009__x0009_[ValidateNotNullOrEmpty()]_x000D__x000A__x0009__x0009_[Alias("PSPath")]_x000D__x000A__x0009__x0009_[string]_x000D__x000A__x0009__x0009_$LiteralPath,_x000D__x000A__x000D__x000A__x0009__x0009_[parameter (mandatory = $false,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_Position = 1,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ValueFromPipeline = $false,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ValueFromPipelineByPropertyName = $false)]_x000D__x000A__x0009__x0009_[ValidateNotNullOrEmpty()]_x000D__x000A__x0009__x0009_[string]_x000D__x000A__x0009__x0009_$DestinationPath,_x000D__x000A__x000D__x000A__x0009__x0009_[parameter (mandatory = $false,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ValueFromPipeline = $false,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ValueFromPipelineByPropertyName = $false)]_x000D__x000A__x0009__x0009_[switch]_x000D__x000A__x0009__x0009_$Force_x000D__x000A__x0009_)_x000D__x000A__x000D__x000A__x0009_BEGIN_x000D__x000A__x0009_{_x000D__x000A__x0009__x0009_Add-Type -AssemblyName System.IO.Compression -ErrorAction Ignore_x000D__x000A__x0009__x0009_Add-Type -AssemblyName System.IO.Compression.FileSystem -ErrorAction Ignore_x000D__x000A__x000D__x000A__x0009__x0009_$zipFileExtension = ".zip"_x000D__x000A__x000D__x000A__x0009__x0009_$LocalizedData = ConvertFrom-StringData @'_x000D__x000A_PathNotFoundError=The path '{0}' either does not exist or is not a valid file system path._x000D__x000A_ExpandArchiveInValidDestinationPath=The path '{0}' is not a valid file system directory path._x000D__x000A_InvalidZipFileExtensionError={0} is not a supported archive file format. {1} is the only supported archive file format._x000D__x000A_ArchiveFileIsReadOnly=The attributes of the archive file {0} is set to 'ReadOnly' hence it cannot be updated. If you intend to update the existing archive file, remove the 'ReadOnly' attribute on the archive file else use -Force parameter to override and create a new archive file._x000D__x000A_ZipFileExistError=The archive file {0} already exists. Use the -Update parameter to update the existing archive file or use the -Force parameter to overwrite the existing archive file._x000D__x000A_DuplicatePathFoundError=The input to {0} parameter contains a duplicate path '{1}'. Provide a unique set of paths as input to {2} parameter._x000D__x000A_ArchiveFileIsEmpty=The archive file {0} is empty._x000D__x000A_CompressProgressBarText=The archive file '{0}' creation is in progress..._x000D__x000A_ExpandProgressBarText=The archive file '{0}' expansion is in progress..._x000D__x000A_AppendArchiveFileExtensionMessage=The archive file path '{0}' supplied to the DestinationPath patameter does not include .zip extension. Hence .zip is appended to the supplied DestinationPath path and the archive file would be created at '{1}'._x000D__x000A_AddItemtoArchiveFile=Adding '{0}'._x000D__x000A_CreateFileAtExpandedPath=Created '{0}'._x000D__x000A_InvalidArchiveFilePathError=The archive file path '{0}' specified as input to the {1} parameter is resolving to multiple file system paths. Provide a unique path to the {2} parameter where the archive file has to be created._x000D__x000A_InvalidExpandedDirPathError=The directory path '{0}' specified as input to the DestinationPath parameter is resolving to multiple file system paths. Provide a unique path to the Destination parameter where the archive file contents have to be expanded._x000D__x000A_FileExistsError=Failed to create file '{0}' while expanding the archive file '{1}' contents as the file '{2}' already exists. Use the -Force parameter if you want to overwrite the existing directory '{3}' contents when expanding the archive file._x000D__x000A_DeleteArchiveFile=The partially created archive file '{0}' is deleted as it is not usable._x000D__x000A_InvalidDestinationPath=The destination path '{0}' does not contain a valid archive file name._x000D__x000A_PreparingToCompressVerboseMessage=Preparing to compress..._x000D__x000A_PreparingToExpandVerboseMessage=Preparing to expand..._x000D__x000A_'@_x000D__x000A__x000D__x000A__x0009__x0009_#region Utility Functions_x000D__x000A__x0009__x0009_function GetResolvedPathHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$path,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[boolean]_x000D__x000A__x0009__x0009__x0009__x0009_$isLiteralPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[System.Management.Automation.PSCmdlet]_x000D__x000A__x0009__x0009__x0009__x0009_$callerPSCmdlet_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$resolvedPaths = @()_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# null and empty check are are already done on Path parameter at the cmdlet layer._x000D__x000A__x0009__x0009__x0009_foreach ($currentPath in $path)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($isLiteralPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$currentResolvedPaths = Resolve-Path -LiteralPath $currentPath -ErrorAction Stop_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$currentResolvedPaths = Resolve-Path -Path $currentPath -ErrorAction Stop_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_catch_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.PathNotFoundError -f $currentPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$exception = New-Object System.InvalidOperationException $errorMessage, $_.Exception_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorRecord = CreateErrorRecordHelper "ArchiveCmdletPathNotFound" $null ([System.Management.Automation.ErrorCategory]::InvalidArgument) $exception $currentPath_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$callerPSCmdlet.ThrowTerminatingError($errorRecord)_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_foreach ($currentResolvedPath in $currentResolvedPaths)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$resolvedPaths += $currentResolvedPath.ProviderPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$resolvedPaths_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function Add-CompressionAssemblies_x000D__x000A__x0009__x0009_{_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ($PSEdition -eq "Desktop")_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_Add-Type -AssemblyName System.IO.Compression_x000D__x000A__x0009__x0009__x0009__x0009_Add-Type -AssemblyName System.IO.Compression.FileSystem_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function IsValidFileSystemPath_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$path_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$result = $true;_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# null and empty check are are already done on Path parameter at the cmdlet layer._x000D__x000A__x0009__x0009__x0009_foreach ($currentPath in $path)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_if (!([System.IO.File]::Exists($currentPath) -or [System.IO.Directory]::Exists($currentPath)))_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.PathNotFoundError -f $currentPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "PathNotFound" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $currentPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $result;_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x000D__x000A__x0009__x0009_function ValidateDuplicateFileSystemPath_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$inputParameter,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$path_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$uniqueInputPaths = @()_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# null and empty check are are already done on Path parameter at the cmdlet layer._x000D__x000A__x0009__x0009__x0009_foreach ($currentPath in $path)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$currentInputPath = $currentPath.ToUpper()_x000D__x000A__x0009__x0009__x0009__x0009_if ($uniqueInputPaths.Contains($currentInputPath))_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.DuplicatePathFoundError -f $inputParameter, $currentPath, $inputParameter)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "DuplicatePathFound" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $currentPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$uniqueInputPaths += $currentInputPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function CompressionLevelMapper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$compressionLevel_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$compressionLevelFormat = [System.IO.Compression.CompressionLevel]::Optimal_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# CompressionLevel format is already validated at the cmdlet layer._x000D__x000A__x0009__x0009__x0009_switch ($compressionLevel.ToString())_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_"Fastest"_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$compressionLevelFormat = [System.IO.Compression.CompressionLevel]::Fastest_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_"NoCompression"_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$compressionLevelFormat = [System.IO.Compression.CompressionLevel]::NoCompression_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $compressionLevelFormat_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function CompressArchiveHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$sourcePath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$destinationPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$compressionLevel,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[bool]_x000D__x000A__x0009__x0009__x0009__x0009_$isUpdateMode_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$numberOfItemsArchived = 0_x000D__x000A__x0009__x0009__x0009_$sourceFilePaths = @()_x000D__x000A__x0009__x0009__x0009_$sourceDirPaths = @()_x000D__x000A__x000D__x000A__x0009__x0009__x0009_foreach ($currentPath in $sourcePath)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$result = Test-Path -LiteralPath $currentPath -PathType Leaf_x000D__x000A__x0009__x0009__x0009__x0009_if ($result -eq $true)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$sourceFilePaths += $currentPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$sourceDirPaths += $currentPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# The Soure Path contains one or more directory (this directory can have files under it) and no files to be compressed._x000D__x000A__x0009__x0009__x0009_if ($sourceFilePaths.Count -eq 0 -and $sourceDirPaths.Count -gt 0)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight = 100/[double]$sourceDirPaths.Count_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight = 0_x000D__x000A__x0009__x0009__x0009__x0009_foreach ($currentSourceDirPath in $sourceDirPaths)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$count = CompressSingleDirHelper $currentSourceDirPath $destinationPath $compressionLevel $true $isUpdateMode $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$numberOfItemsArchived += $count_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$previousSegmentWeight += $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# The Soure Path contains only files to be compressed._x000D__x000A__x0009__x0009__x0009_elseIf ($sourceFilePaths.Count -gt 0 -and $sourceDirPaths.Count -eq 0)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# $previousSegmentWeight is equal to 0 as there are no prior segments._x000D__x000A__x0009__x0009__x0009__x0009_# $currentSegmentWeight is set to 100 as all files have equal weightage._x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight = 0_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight = 100_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$numberOfItemsArchived = CompressFilesHelper $sourceFilePaths $destinationPath $compressionLevel $isUpdateMode $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_# The Soure Path contains one or more files and one or more directories (this directory can have files under it) to be compressed._x000D__x000A__x0009__x0009__x0009_elseif ($sourceFilePaths.Count -gt 0 -and $sourceDirPaths.Count -gt 0)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# each directory is considered as an individual segments &amp; all the individual files are clubed in to a separate sgemnet._x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight = 100/[double]($sourceDirPaths.Count + 1)_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight = 0_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_foreach ($currentSourceDirPath in $sourceDirPaths)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$count = CompressSingleDirHelper $currentSourceDirPath $destinationPath $compressionLevel $true $isUpdateMode $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$numberOfItemsArchived += $count_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$previousSegmentWeight += $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$count = CompressFilesHelper $sourceFilePaths $destinationPath $compressionLevel $isUpdateMode $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x0009__x0009__x0009__x0009_$numberOfItemsArchived += $count_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $numberOfItemsArchived_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function CompressFilesHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$sourceFilePaths,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$destinationPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$compressionLevel,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[bool]_x000D__x000A__x0009__x0009__x0009__x0009_$isUpdateMode,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$numberOfItemsArchived = ZipArchiveHelper $sourceFilePaths $destinationPath $compressionLevel $isUpdateMode $null $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $numberOfItemsArchived_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function CompressSingleDirHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$sourceDirPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$destinationPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$compressionLevel,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[bool]_x000D__x000A__x0009__x0009__x0009__x0009_$useParentDirAsRoot,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[bool]_x000D__x000A__x0009__x0009__x0009__x0009_$isUpdateMode,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_[System.Collections.Generic.List[System.String]]$subDirFiles = @()_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ($useParentDirAsRoot)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$sourceDirInfo = New-Object -TypeName System.IO.DirectoryInfo -ArgumentList $sourceDirPath_x000D__x000A__x0009__x0009__x0009__x0009_$sourceDirFullName = $sourceDirInfo.Parent.FullName_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# If the directory is present at the drive level the DirectoryInfo.Parent include '\' example: C:\_x000D__x000A__x0009__x0009__x0009__x0009_# On the other hand if the directory exists at a deper level then DirectoryInfo.Parent_x000D__x000A__x0009__x0009__x0009__x0009_# has just the path (without an ending '\'). example C:\source_x000D__x000A__x0009__x0009__x0009__x0009_if ($sourceDirFullName.Length -eq 3)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$modifiedSourceDirFullName = $sourceDirFullName_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$modifiedSourceDirFullName = $sourceDirFullName + "\"_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$sourceDirFullName = $sourceDirPath_x000D__x000A__x0009__x0009__x0009__x0009_$modifiedSourceDirFullName = $sourceDirFullName + "\"_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$dirContents = Get-ChildItem -LiteralPath $sourceDirPath -Recurse_x000D__x000A__x0009__x0009__x0009_foreach ($currentContent in $dirContents)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$isContainer = $currentContent -is [System.IO.DirectoryInfo]_x000D__x000A__x0009__x0009__x0009__x0009_if (!$isContainer)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$subDirFiles.Add($currentContent.FullName)_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# The currentContent points to a directory._x000D__x000A__x0009__x0009__x0009__x0009__x0009_# We need to check if the directory is an empty directory, if so such a_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# directory has to be explictly added to the archive file._x000D__x000A__x0009__x0009__x0009__x0009__x0009_# if there are no files in the directory the GetFiles() API returns an empty array._x000D__x000A__x0009__x0009__x0009__x0009__x0009_$files = $currentContent.GetFiles()_x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($files.Count -eq 0)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$subDirFiles.Add($currentContent.FullName + "\")_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$numberOfItemsArchived = ZipArchiveHelper $subDirFiles.ToArray() $destinationPath $compressionLevel $isUpdateMode $modifiedSourceDirFullName $previousSegmentWeight $currentSegmentWeight_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $numberOfItemsArchived_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_function ZipArchiveHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[System.Collections.Generic.List[System.String]]_x000D__x000A__x0009__x0009__x0009__x0009_$sourcePaths,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$destinationPath,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$compressionLevel,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[bool]_x000D__x000A__x0009__x0009__x0009__x0009_$isUpdateMode,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$modifiedSourceDirFullName,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$numberOfItemsArchived = 0_x000D__x000A__x0009__x0009__x0009_$fileMode = [System.IO.FileMode]::Create_x000D__x000A__x0009__x0009__x0009_$result = Test-Path -LiteralPath $DestinationPath -PathType Leaf_x000D__x000A__x0009__x0009__x0009_if ($result -eq $true)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$fileMode = [System.IO.FileMode]::Open_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_Add-CompressionAssemblies_x000D__x000A__x000D__x000A__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# At this point we are sure that the archive file has write access._x000D__x000A__x0009__x0009__x0009__x0009_$archiveFileStreamArgs = @($destinationPath, $fileMode)_x000D__x000A__x0009__x0009__x0009__x0009_$archiveFileStream = New-Object -TypeName System.IO.FileStream -ArgumentList $archiveFileStreamArgs_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$zipArchiveArgs = @($archiveFileStream, [System.IO.Compression.ZipArchiveMode]::Update, $false)_x000D__x000A__x0009__x0009__x0009__x0009_$zipArchive = New-Object -TypeName System.IO.Compression.ZipArchive -ArgumentList $zipArchiveArgs_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$currentEntryCount = 0_x000D__x000A__x0009__x0009__x0009__x0009_$progressBarStatus = ($LocalizedData.CompressProgressBarText -f $destinationPath)_x000D__x000A__x0009__x0009__x0009__x0009_$bufferSize = 4kb_x000D__x000A__x0009__x0009__x0009__x0009_$buffer = New-Object Byte[] $bufferSize_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_foreach ($currentFilePath in $sourcePaths)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($modifiedSourceDirFullName -ne $null -and $modifiedSourceDirFullName.Length -gt 0)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$index = $currentFilePath.IndexOf($modifiedSourceDirFullName, [System.StringComparison]::OrdinalIgnoreCase)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$currentFilePathSubString = $currentFilePath.Substring($index, $modifiedSourceDirFullName.Length)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$relativeFilePath = $currentFilePath.Replace($currentFilePathSubString, "").Trim()_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$relativeFilePath = [System.IO.Path]::GetFileName($currentFilePath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_# Update mode is selected._x000D__x000A__x0009__x0009__x0009__x0009__x0009_# Check to see if archive file already contains one or more zip files in it._x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($isUpdateMode -eq $true -and $zipArchive.Entries.Count -gt 0)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$entryToBeUpdated = $null_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# Check if the file already exists in the archive file._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# If so replace it with new file from the input source._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# If the file does not exist in the archive file then default to_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# create mode and create the entry in the archive file._x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_foreach ($currentArchiveEntry in $zipArchive.Entries)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($currentArchiveEntry.FullName -eq $relativeFilePath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$entryToBeUpdated = $currentArchiveEntry_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_break_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_if ($entryToBeUpdated -ne $null)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$addItemtoArchiveFileMessage = ($LocalizedData.AddItemtoArchiveFile -f $currentFilePath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$entryToBeUpdated.Delete()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_$compression = CompressionLevelMapper $compressionLevel_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_# If a directory needs to be added to an archive file,_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# by convention the .Net API's expect the path of the diretcory_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# to end with '\' to detect the path as an directory._x000D__x000A__x0009__x0009__x0009__x0009__x0009_if (!$relativeFilePath.EndsWith("\", [StringComparison]::OrdinalIgnoreCase))_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$currentFileStream = [System.IO.File]::Open($currentFilePath, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_catch_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# Failed to access the file. Write a non terminating error to the pipeline_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# and move on with the remaining files._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$exception = $_.Exception_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($null -ne $_.Exception -and_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$null -ne $_.Exception.InnerException)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$exception = $_.Exception.InnerException_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$errorRecord = CreateErrorRecordHelper "CompressArchiveUnauthorizedAccessError" $null ([System.Management.Automation.ErrorCategory]::PermissionDenied) $exception $currentFilePath_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Write-Error -ErrorRecord $errorRecord_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($null -ne $currentFileStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$srcStream = New-Object System.IO.BinaryReader $currentFileStream_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntry = $zipArchive.CreateEntry($relativeFilePath, $compression)_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# Updating the File Creation time so that the same timestamp would be retained after expanding the compressed file._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# At this point we are sure that Get-ChildItem would succeed._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntry.LastWriteTime = (Get-Item -LiteralPath $currentFilePath).LastWriteTime_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$destStream = New-Object System.IO.BinaryWriter $currentArchiveEntry.Open()_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_while ($numberOfBytesRead = $srcStream.Read($buffer, 0, $bufferSize))_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$destStream.Write($buffer, 0, $numberOfBytesRead)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$destStream.Flush()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$numberOfItemsArchived += 1_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$addItemtoArchiveFileMessage = ($LocalizedData.AddItemtoArchiveFile -f $currentFilePath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_finally_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_If ($null -ne $currentFileStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$currentFileStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_If ($null -ne $srcStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$srcStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_If ($null -ne $destStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$destStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntry = $zipArchive.CreateEntry("$relativeFilePath", $compression)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$numberOfItemsArchived += 1_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$addItemtoArchiveFileMessage = ($LocalizedData.AddItemtoArchiveFile -f $currentFilePath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($null -ne $addItemtoArchiveFileMessage)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_Write-Verbose $addItemtoArchiveFileMessage_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_$currentEntryCount += 1_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ProgressBarHelper "Compress-Archive" $progressBarStatus $previousSegmentWeight $currentSegmentWeight $sourcePaths.Count $currentEntryCount_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_finally_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_If ($null -ne $zipArchive)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$zipArchive.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_If ($null -ne $archiveFileStream)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$archiveFileStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# Complete writing progress._x000D__x000A__x0009__x0009__x0009__x0009_Write-Progress -Activity "Compress-Archive" -Completed_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $numberOfItemsArchived_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# ValidateArchivePathHelper: This is a helper function used to validate the archive file_x000D__x000A_# path &amp; its file format. The only supported archive file format is .zip_x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function ValidateArchivePathHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$archiveFile_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ([System.IO.File]::Exists($archiveFile))_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$extension = [system.IO.Path]::GetExtension($archiveFile)_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# Invalid file extension is specifed for the zip file._x000D__x000A__x0009__x0009__x0009__x0009_if ($extension -ne $zipFileExtension)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.InvalidZipFileExtensionError -f $extension, $zipFileExtension)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "NotSupportedArchiveFileExtension" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $extension_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.PathNotFoundError -f $archiveFile)_x000D__x000A__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "PathNotFound" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $archiveFile_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# ExpandArchiveHelper: This is a helper function used to expand the archive file contents_x000D__x000A_# to the specified directory._x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function ExpandArchiveHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$archiveFile,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$expandedDir,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[ref]_x000D__x000A__x0009__x0009__x0009__x0009_$expandedItems,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[boolean]_x000D__x000A__x0009__x0009__x0009__x0009_$force,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[boolean]_x000D__x000A__x0009__x0009__x0009__x0009_$isVerbose,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[boolean]_x000D__x000A__x0009__x0009__x0009__x0009_$isConfirm_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_Add-CompressionAssemblies_x000D__x000A__x000D__x000A__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# The existance of archive file has already been validated by ValidateArchivePathHelper_x000D__x000A__x0009__x0009__x0009__x0009_# before calling this helper function._x000D__x000A__x0009__x0009__x0009__x0009_$archiveFileStreamArgs = @($archiveFile, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read)_x000D__x000A__x0009__x0009__x0009__x0009_$archiveFileStream = New-Object -TypeName System.IO.FileStream -ArgumentList $archiveFileStreamArgs_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$zipArchiveArgs = @($archiveFileStream, [System.IO.Compression.ZipArchiveMode]::Read, $false)_x000D__x000A__x0009__x0009__x0009__x0009_$zipArchive = New-Object -TypeName System.IO.Compression.ZipArchive -ArgumentList $zipArchiveArgs_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_if ($zipArchive.Entries.Count -eq 0)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$archiveFileIsEmpty = ($LocalizedData.ArchiveFileIsEmpty -f $archiveFile)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_Write-Verbose $archiveFileIsEmpty_x000D__x000A__x0009__x0009__x0009__x0009__x0009_return_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$currentEntryCount = 0_x000D__x000A__x0009__x0009__x0009__x0009_$progressBarStatus = ($LocalizedData.ExpandProgressBarText -f $archiveFile)_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# The archive entries can either be empty directories or files._x000D__x000A__x0009__x0009__x0009__x0009_foreach ($currentArchiveEntry in $zipArchive.Entries)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntryPath = Join-Path -Path $expandedDir -ChildPath $currentArchiveEntry.FullName_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$extension = [system.IO.Path]::GetExtension($currentArchiveEntryPath)_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_# The current archive entry is an empty directory_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# The FullName of the Archive Entry representing a directory would end with a trailing '\'._x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($extension -eq [string]::Empty -and_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntryPath.EndsWith("\", [StringComparison]::OrdinalIgnoreCase))_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$pathExists = Test-Path -LiteralPath $currentArchiveEntryPath_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# The current archive entry expects an empty directory._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# Check if the existing directory is empty. If its not empty_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# then it means that user has added this directory by other means._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_if ($pathExists -eq $false)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_New-Item $currentArchiveEntryPath -ItemType Directory -Confirm:$isConfirm | Out-Null_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if (Test-Path -LiteralPath $currentArchiveEntryPath -PathType Container)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$addEmptyDirectorytoExpandedPathMessage = ($LocalizedData.AddItemtoArchiveFile -f $currentArchiveEntryPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Write-Verbose $addEmptyDirectorytoExpandedPathMessage_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$expandedItems.Value += $currentArchiveEntryPath_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$currentArchiveEntryFileInfo = New-Object -TypeName System.IO.FileInfo -ArgumentList $currentArchiveEntryPath_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$parentDirExists = Test-Path -LiteralPath $currentArchiveEntryFileInfo.DirectoryName -PathType Container_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# If the Parent directory of the current entry in the archive file does not exist, then create it._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($parentDirExists -eq $false)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_New-Item $currentArchiveEntryFileInfo.DirectoryName -ItemType Directory -Confirm:$isConfirm | Out-Null_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if (!(Test-Path -LiteralPath $currentArchiveEntryFileInfo.DirectoryName -PathType Container))_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# The directory referred by $currentArchiveEntryFileInfo.DirectoryName was not successfully created._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# This could be because the user has specified -Confirm paramter when Expand-Archive was invoked_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# and authorization was not provided when confirmation was prompted. In such a scenario,_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# we skip the current file in the archive and continue with the remaining archive file contents._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Continue_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$expandedItems.Value += $currentArchiveEntryFileInfo.DirectoryName_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$hasNonTerminatingError = $false_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# Check if the file in to which the current archive entry contents_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# would be expanded already exists._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($currentArchiveEntryFileInfo.Exists)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($force)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Remove-Item -LiteralPath $currentArchiveEntryFileInfo.FullName -Force -ErrorVariable ev -Verbose:$isVerbose -Confirm:$isConfirm_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if ($ev -ne $null)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$hasNonTerminatingError = $true_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if (Test-Path -LiteralPath $currentArchiveEntryFileInfo.FullName -PathType Leaf)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# The file referred by $currentArchiveEntryFileInfo.FullName was not successfully removed._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# This could be because the user has specified -Confirm paramter when Expand-Archive was invoked_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# and authorization was not provided when confirmation was prompted. In such a scenario,_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# we skip the current file in the archive and continue with the remaining archive file contents._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Continue_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# Write non-terminating error to the pipeline._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.FileExistsError -f $currentArchiveEntryFileInfo.FullName, $archiveFile, $currentArchiveEntryFileInfo.FullName, $currentArchiveEntryFileInfo.FullName)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$errorRecord = CreateErrorRecordHelper "ExpandArchiveFileExists" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidOperation) $null $currentArchiveEntryFileInfo.FullName_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Write-Error -ErrorRecord $errorRecord_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$hasNonTerminatingError = $true_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_if (!$hasNonTerminatingError)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_[System.IO.Compression.ZipFileExtensions]::ExtractToFile($currentArchiveEntry, $currentArchiveEntryPath, $false)_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# Add the expanded file path to the $expandedItems array,_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# to keep track of all the expanded files created while expanding the archive file._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# If user enters CTRL + C then at that point of time, all these expanded files_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_# would be deleted as part of the clean up process._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$expandedItems.Value += $currentArchiveEntryPath_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$addFiletoExpandedPathMessage = ($LocalizedData.CreateFileAtExpandedPath -f $currentArchiveEntryPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_Write-Verbose $addFiletoExpandedPathMessage_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_finally_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_If ($null -ne $destStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$destStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_If ($null -ne $srcStream)_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009__x0009_$srcStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_$currentEntryCount += 1_x000D__x000A__x0009__x0009__x0009__x0009__x0009_# $currentSegmentWeight is Set to 100 giving equal weightage to each file that is getting expanded._x000D__x000A__x0009__x0009__x0009__x0009__x0009_# $previousSegmentWeight is set to 0 as there are no prior segments._x000D__x000A__x0009__x0009__x0009__x0009__x0009_$previousSegmentWeight = 0_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$currentSegmentWeight = 100_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ProgressBarHelper "Expand-Archive" $progressBarStatus $previousSegmentWeight $currentSegmentWeight $zipArchive.Entries.Count $currentEntryCount_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_finally_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_If ($null -ne $zipArchive)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$zipArchive.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_If ($null -ne $archiveFileStream)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$archiveFileStream.Dispose()_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# Complete writing progress._x000D__x000A__x0009__x0009__x0009__x0009_Write-Progress -Activity "Expand-Archive" -Completed_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# ProgressBarHelper: This is a helper function used to display progress message._x000D__x000A_# This function is used by both Compress-Archive &amp; Expand-Archive to display archive file_x000D__x000A_# creation/expansion progress._x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function ProgressBarHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$cmdletName,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$status,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[double]_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[int]_x000D__x000A__x0009__x0009__x0009__x0009_$totalNumberofEntries,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[int]_x000D__x000A__x0009__x0009__x0009__x0009_$currentEntryCount_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ($currentEntryCount -gt 0 -and_x000D__x000A__x0009__x0009__x0009__x0009_$totalNumberofEntries -gt 0 -and_x000D__x000A__x0009__x0009__x0009__x0009_$previousSegmentWeight -ge 0 -and_x000D__x000A__x0009__x0009__x0009__x0009_$currentSegmentWeight -gt 0)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$entryDefaultWeight = $currentSegmentWeight/[double]$totalNumberofEntries_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$percentComplete = $previousSegmentWeight + ($entryDefaultWeight * $currentEntryCount)_x000D__x000A__x0009__x0009__x0009__x0009_Write-Progress -Activity $cmdletName -Status $status -PercentComplete $percentComplete_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# CSVHelper: This is a helper function used to append comma after each path specifid by_x000D__x000A_# the SourcePath array. This helper function is used to display all the user supplied paths_x000D__x000A_# in the WhatIf message._x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function CSVHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string[]]_x000D__x000A__x0009__x0009__x0009__x0009_$sourcePath_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_# SourcePath has already been validated by the calling funcation._x000D__x000A__x0009__x0009__x0009_if ($sourcePath.Count -gt 1)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$sourcePathInCsvFormat = "`n"_x000D__x000A__x0009__x0009__x0009__x0009_for ($currentIndex = 0; $currentIndex -lt $sourcePath.Count; $currentIndex++)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($currentIndex -eq $sourcePath.Count - 1)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$sourcePathInCsvFormat += $sourcePath[$currentIndex]_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$sourcePathInCsvFormat += $sourcePath[$currentIndex] + "`n"_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$sourcePathInCsvFormat = $sourcePath_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_return $sourcePathInCsvFormat_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# ThrowTerminatingErrorHelper: This is a helper function used to throw terminating error._x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function ThrowTerminatingErrorHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$errorId,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$errorMessage,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[System.Management.Automation.ErrorCategory]_x000D__x000A__x0009__x0009__x0009__x0009_$errorCategory,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[object]_x000D__x000A__x0009__x0009__x0009__x0009_$targetObject,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[Exception]_x000D__x000A__x0009__x0009__x0009__x0009_$innerException_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ($innerException -eq $null)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$exception = New-object System.IO.IOException $errorMessage_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$exception = New-Object System.IO.IOException $errorMessage, $innerException_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$exception = New-Object System.IO.IOException $errorMessage_x000D__x000A__x0009__x0009__x0009_$errorRecord = New-Object System.Management.Automation.ErrorRecord $exception, $errorId, $errorCategory, $targetObject_x000D__x000A__x0009__x0009__x0009_$PSCmdlet.ThrowTerminatingError($errorRecord)_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A_&lt;############################################################################################_x000D__x000A_# CreateErrorRecordHelper: This is a helper function used to create an ErrorRecord_x000D__x000A_############################################################################################&gt;_x000D__x000A__x0009__x0009_function CreateErrorRecordHelper_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_param_x000D__x000A__x0009__x0009__x0009_(_x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$errorId,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[string]_x000D__x000A__x0009__x0009__x0009__x0009_$errorMessage,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[System.Management.Automation.ErrorCategory]_x000D__x000A__x0009__x0009__x0009__x0009_$errorCategory,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[Exception]_x000D__x000A__x0009__x0009__x0009__x0009_$exception,_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_[object]_x000D__x000A__x0009__x0009__x0009__x0009_$targetObject_x000D__x000A__x0009__x0009__x0009_)_x000D__x000A__x000D__x000A__x0009__x0009__x0009_if ($null -eq $exception)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$exception = New-Object System.IO.IOException $errorMessage_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$errorRecord = New-Object System.Management.Automation.ErrorRecord $exception, $errorId, $errorCategory, $targetObject_x000D__x000A__x0009__x0009__x0009_return $errorRecord_x000D__x000A__x0009__x0009_}_x000D__x000A__x0009__x0009_#endregion Utility Functions_x000D__x000A__x000D__x000A__x0009__x0009_$isVerbose = $psboundparameters.ContainsKey("Verbose")_x000D__x000A__x0009__x0009_$isConfirm = $psboundparameters.ContainsKey("Confirm")_x000D__x000A__x000D__x000A__x0009__x0009_$isDestinationPathProvided = $true_x000D__x000A__x0009__x0009_if ($DestinationPath -eq [string]::Empty)_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$resolvedDestinationPath = $pwd_x000D__x000A__x0009__x0009__x0009_$isDestinationPathProvided = $false_x000D__x000A__x0009__x0009_}_x000D__x000A__x0009__x0009_else_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$destinationPathExists = Test-Path -Path $DestinationPath -PathType Container_x000D__x000A__x0009__x0009__x0009_if ($destinationPathExists)_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$resolvedDestinationPath = GetResolvedPathHelper $DestinationPath $false $PSCmdlet_x000D__x000A__x0009__x0009__x0009__x0009_if ($resolvedDestinationPath.Count -gt 1)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.InvalidExpandedDirPathError -f $DestinationPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "InvalidDestinationPath" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $DestinationPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# At this point we are sure that the provided path resolves to a valid single path._x000D__x000A__x0009__x0009__x0009__x0009_# Calling Resolve-Path again to get the underlying provider name._x000D__x000A__x0009__x0009__x0009__x0009_$suppliedDestinationPath = Resolve-Path -Path $DestinationPath_x000D__x000A__x0009__x0009__x0009__x0009_if ($suppliedDestinationPath.Provider.Name -ne "FileSystem")_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.ExpandArchiveInValidDestinationPath -f $DestinationPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "InvalidDirectoryPath" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $DestinationPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_else_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$createdItem = New-Item -Path $DestinationPath -ItemType Directory -Confirm:$isConfirm -Verbose:$isVerbose -ErrorAction Stop_x000D__x000A__x0009__x0009__x0009__x0009_if ($createdItem -ne $null -and $createdItem.PSProvider.Name -ne "FileSystem")_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_Remove-Item "$DestinationPath" -Force -Recurse -ErrorAction SilentlyContinue_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.ExpandArchiveInValidDestinationPath -f $DestinationPath)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "InvalidDirectoryPath" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $DestinationPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$resolvedDestinationPath = GetResolvedPathHelper $DestinationPath $true $PSCmdlet_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_$isWhatIf = $psboundparameters.ContainsKey("WhatIf")_x000D__x000A__x0009__x0009_if (!$isWhatIf)_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$preparingToExpandVerboseMessage = ($LocalizedData.PreparingToExpandVerboseMessage)_x000D__x000A__x0009__x0009__x0009_Write-Verbose $preparingToExpandVerboseMessage_x000D__x000A__x000D__x000A__x0009__x0009__x0009_$progressBarStatus = ($LocalizedData.ExpandProgressBarText -f $DestinationPath)_x000D__x000A__x0009__x0009__x0009_ProgressBarHelper "Expand-Archive" $progressBarStatus 0 100 100 1_x000D__x000A__x0009__x0009_}_x000D__x000A__x0009_}_x000D__x000A__x0009_PROCESS_x000D__x000A__x0009_{_x000D__x000A__x0009__x0009_switch ($PsCmdlet.ParameterSetName)_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_"Path"_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$resolvedSourcePaths = GetResolvedPathHelper $Path $false $PSCmdlet_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_if ($resolvedSourcePaths.Count -gt 1)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.InvalidArchiveFilePathError -f $Path, $PsCmdlet.ParameterSetName, $PsCmdlet.ParameterSetName)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "InvalidArchiveFilePath" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $Path_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_"LiteralPath"_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_$resolvedSourcePaths = GetResolvedPathHelper $LiteralPath $true $PSCmdlet_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_if ($resolvedSourcePaths.Count -gt 1)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$errorMessage = ($LocalizedData.InvalidArchiveFilePathError -f $LiteralPath, $PsCmdlet.ParameterSetName, $PsCmdlet.ParameterSetName)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_ThrowTerminatingErrorHelper "InvalidArchiveFilePath" $errorMessage ([System.Management.Automation.ErrorCategory]::InvalidArgument) $LiteralPath_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009_ValidateArchivePathHelper $resolvedSourcePaths_x000D__x000A__x000D__x000A__x0009__x0009_if ($pscmdlet.ShouldProcess($resolvedSourcePaths))_x000D__x000A__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009_$expandedItems = @()_x000D__x000A__x000D__x000A__x0009__x0009__x0009_try_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# StopProcessing is not avaliable in Script cmdlets. However the pipleline execution_x000D__x000A__x0009__x0009__x0009__x0009_# is terminated when ever 'CTRL + C' is entered by user to terminate the cmdlet execution._x000D__x000A__x0009__x0009__x0009__x0009_# The finally block is executed whenever pipleline is terminated._x000D__x000A__x0009__x0009__x0009__x0009_# $isArchiveFileProcessingComplete variable is used to track if 'CTRL + C' is entered by the_x000D__x000A__x0009__x0009__x0009__x0009_# user._x000D__x000A__x0009__x0009__x0009__x0009_$isArchiveFileProcessingComplete = $false_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_# The User has not provided a destination path, hence we use '$pwd\ArchiveFileName' as the directory where the_x000D__x000A__x0009__x0009__x0009__x0009_# archive file contents would be expanded. If the path '$pwd\ArchiveFileName' already exists then we use the_x000D__x000A__x0009__x0009__x0009__x0009_# Windows default mechanism of appending a counter value at the end of the directory name where the contents_x000D__x000A__x0009__x0009__x0009__x0009_# would be expanded._x000D__x000A__x0009__x0009__x0009__x0009_if (!$isDestinationPathProvided)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$archiveFile = New-Object System.IO.FileInfo $resolvedSourcePaths_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$resolvedDestinationPath = Join-Path -Path $resolvedDestinationPath -ChildPath $archiveFile.BaseName_x000D__x000A__x0009__x0009__x0009__x0009__x0009_$destinationPathExists = Test-Path -LiteralPath $resolvedDestinationPath -PathType Container_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009__x0009_if (!$destinationPathExists)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_New-Item -Path $resolvedDestinationPath -ItemType Directory -Confirm:$isConfirm -Verbose:$isVerbose -ErrorAction Stop | Out-Null_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_ExpandArchiveHelper $resolvedSourcePaths $resolvedDestinationPath ([ref]$expandedItems) $Force $isVerbose $isConfirm_x000D__x000A__x000D__x000A__x0009__x0009__x0009__x0009_$isArchiveFileProcessingComplete = $true_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_finally_x000D__x000A__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009_# The $isArchiveFileProcessingComplete would be set to $false if user has typed 'CTRL + C' to_x000D__x000A__x0009__x0009__x0009__x0009_# terminate the cmdlet execution or if an unhandled exception is thrown._x000D__x000A__x0009__x0009__x0009__x0009_if ($isArchiveFileProcessingComplete -eq $false)_x000D__x000A__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009_if ($expandedItems.Count -gt 0)_x000D__x000A__x0009__x0009__x0009__x0009__x0009_{_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# delete the expanded file/directory as the archive_x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_# file was not completly expanded._x000D__x000A__x0009__x0009__x0009__x0009__x0009__x0009_$expandedItems | ForEach-Object { Remove-Item $_ -Force -Recurse }_x000D__x000A__x0009__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009__x0009_}_x000D__x000A__x0009__x0009_}_x000D__x000A__x0009_}_x000D__x000A_}_x000D__x000A__x000D__x000A_function Write-LocalMessage_x000D__x000A_{_x000D__x000A_ [CmdletBinding()]_x000D__x000A_ Param (_x000D__x000A_ [string]$Message_x000D__x000A_ )_x000D__x000A__x000D__x000A_ if (Test-Path function:Write-PSFMessage) { Write-PSFMessage -Level Important -Message $Message }_x000D__x000A_ else { Write-Host $Message }_x000D__x000A_}_x000D__x000A_#endregion Utility Functions_x000D__x000A__x000D__x000A_try_x000D__x000A_{_x000D__x000A__x0009_[System.Net.ServicePointManager]::SecurityProtocol = "Tls12"_x000D__x000A__x000D__x000A__x0009_Write-LocalMessage -Message "Downloading repository from '$($BaseUrl)/archive/$($Branch).zip'"_x000D__x000A__x0009_Invoke-WebRequest -Uri "$($BaseUrl)/archive/$($Branch).zip" -UseBasicParsing -OutFile "$($env:TEMP)\$($ModuleName).zip" -ErrorAction Stop_x000D__x000A__x0009__x000D__x000A__x0009_Write-LocalMessage -Message "Creating temporary project folder: '$($env:TEMP)\$($ModuleName)'"_x000D__x000A__x0009_$null = New-Item -Path $env:TEMP -Name $ModuleName -ItemType Directory -Force -ErrorAction Stop_x000D__x000A__x0009__x000D__x000A__x0009_Write-LocalMessage -Message "Extracting archive to '$($env:TEMP)\$($ModuleName)'"_x000D__x000A__x0009_Expand-Archive -Path "$($env:TEMP)\$($ModuleName).zip" -DestinationPath "$($env:TEMP)\$($ModuleName)" -ErrorAction Stop_x000D__x000A__x0009__x000D__x000A__x0009_$basePath = Get-ChildItem "$($env:TEMP)\$($ModuleName)\*" | Select-Object -First 1_x000D__x000A__x0009_if ($SubFolder) { $basePath = "$($basePath)\$($SubFolder)" }_x000D__x000A__x0009__x000D__x000A__x0009_# Only needed for PS v5+ but doesn't hurt anyway_x000D__x000A__x0009_$manifest = "$($basePath)\$($ModuleName).psd1"_x000D__x000A__x0009_$manifestData = Invoke-Expression ([System.IO.File]::ReadAllText($manifest))_x000D__x000A__x0009_$moduleVersion = $manifestData.ModuleVersion_x000D__x000A__x0009_Write-LocalMessage -Message "Download concluded: $($ModuleName) | Branch $($Branch) | Version $($moduleVersion)"_x000D__x000A__x0009__x000D__x000A__x0009_# Determine output path_x000D__x000A__x0009_$path = "$($env:ProgramFiles)\WindowsPowerShell\Modules\$($ModuleName)"_x000D__x000A__x0009_if ($doUserMode) { $path = "$(Split-Path $profile.CurrentUserAllHosts)\Modules\$($ModuleName)" }_x000D__x000A__x0009_if ($PSVersionTable.PSVersion.Major -ge 5) { $path += "\$moduleVersion" }_x000D__x000A__x0009__x000D__x000A__x0009_if ((Test-Path $path) -and (-not $Force))_x000D__x000A__x0009_{_x000D__x000A__x0009__x0009_Write-LocalMessage -Message "Module already installed, interrupting installation"_x000D__x000A__x0009__x0009_return_x000D__x000A__x0009_}_x000D__x000A__x0009__x000D__x000A__x0009_Write-LocalMessage -Message "Creating folder: $($path)"_x000D__x000A__x0009_$null = New-Item -Path $path -ItemType Directory -Force -ErrorAction Stop_x000D__x000A__x0009__x000D__x000A__x0009_Write-LocalMessage -Message "Copying files to $($path)"_x000D__x000A__x0009_foreach ($file in (Get-ChildItem -Path $basePath))_x000D__x000A__x0009_{_x000D__x000A__x0009__x0009_Move-Item -Path $file.FullName -Destination $path -ErrorAction Stop_x000D__x000A__x0009_}_x000D__x000A__x0009__x000D__x000A__x0009_Write-LocalMessage -Message "Cleaning up temporary files"_x000D__x000A__x0009_Remove-Item -Path "$($env:TEMP)\$($ModuleName)" -Force -Recurse_x000D__x000A__x0009_Remove-Item -Path "$($env:TEMP)\$($ModuleName).zip" -Force_x000D__x000A__x0009__x000D__x000A__x0009_Write-LocalMessage -Message "Installation of the module $($ModuleName), Branch $($Branch), Version $($moduleVersion) completed successfully!"_x000D__x000A_}_x000D__x000A_catch_x000D__x000A_{_x000D__x000A__x0009_Write-LocalMessage -Message "Installation of the module $($ModuleName) failed!"_x000D__x000A__x0009__x000D__x000A__x0009_Write-LocalMessage -Message "Cleaning up temporary files"_x000D__x000A__x0009_Remove-Item -Path "$($env:TEMP)\$($ModuleName)" -Force -Recurse_x000D__x000A__x0009_Remove-Item -Path "$($env:TEMP)\$($ModuleName).zip" -Force_x000D__x000A__x0009__x000D__x000A__x0009_throw_x000D__x000A_}</S>
              <B N="PlainText">true</B>
              <Obj N="ContentParameterFlat" RefId="48">
                <TNRef RefId="2" />
                <LST>
                  <S>name</S>
                </LST>
              </Obj>
              <Obj N="ContentParameterScript" RefId="49">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <S N="Name">install.ps1</S>
              <S N="RelativePath">install.ps1</S>
              <S N="Identifier">þ</S>
              <Obj N="FileSystemParameterFlat" RefId="50">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <Obj N="FileSystemParameterScript" RefId="51">
                <TNRef RefId="2" />
                <LST />
              </Obj>
            </Props>
            <MS>
              <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAUBAAAALVBTTW9kdWxlRGV2ZWxvcG1lbnQuVGVtcGxhdGUuVGVtcGxhdGVJdGVtRmlsZQkAAAAFVmFsdWUJUGxhaW5UZXh0FENvbnRlbnRQYXJhbWV0ZXJGbGF0FkNvbnRlbnRQYXJhbWV0ZXJTY3JpcHQETmFtZQxSZWxhdGl2ZVBhdGgKSWRlbnRpZmllchdGaWxlU3lzdGVtUGFyYW1ldGVyRmxhdBlGaWxlU3lzdGVtUGFyYW1ldGVyU2NyaXB0AQADAwEBAQMDAX9TeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN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Cgl0aHJvdw0KfQEJBAAAAAkFAAAABgYAAAALaW5zdGFsbC5wczEGBwAAAAtpbnN0YWxsLnBzMQYIAAAAAsO+CQkAAAAJCgAAAAQEAAAAf1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZywgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0DAAAABl9pdGVtcwVfc2l6ZQhfdmVyc2lvbgYAAAgICQsAAAABAAAAAQAAAAEFAAAABAAAAAkMAAAAAAAAAAAAAAABCQAAAAQAAAAJDAAAAAAAAAAAAAAAAQoAAAAEAAAACQwAAAAAAAAAAAAAABELAAAABAAAAAYNAAAABG5hbWUNAxEMAAAAAAAAAAs=</BA>
            </MS>
          </Obj>
          <Obj RefId="52">
            <TNRef RefId="7" />
            <ToString>PSModuleDevelopment.Template.TemplateItemFile</ToString>
            <Props>
              <S N="Value">MIT License_x000D__x000A__x000D__x000A_Copyright (c) þ!year!þ þauthorþ_x000D__x000A__x000D__x000A_Permission is hereby granted, free of charge, to any person obtaining a copy_x000D__x000A_of this software and associated documentation files (the "Software"), to deal_x000D__x000A_in the Software without restriction, including without limitation the rights_x000D__x000A_to use, copy, modify, merge, publish, distribute, sublicense, and/or sell_x000D__x000A_copies of the Software, and to permit persons to whom the Software is_x000D__x000A_furnished to do so, subject to the following conditions:_x000D__x000A__x000D__x000A_The above copyright notice and this permission notice shall be included in all_x000D__x000A_copies or substantial portions of the Software._x000D__x000A__x000D__x000A_THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR_x000D__x000A_IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,_x000D__x000A_FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE_x000D__x000A_AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER_x000D__x000A_LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,_x000D__x000A_OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE_x000D__x000A_SOFTWARE.</S>
              <B N="PlainText">true</B>
              <Obj N="ContentParameterFlat" RefId="53">
                <TNRef RefId="2" />
                <LST>
                  <S>author</S>
                </LST>
              </Obj>
              <Obj N="ContentParameterScript" RefId="54">
                <TNRef RefId="2" />
                <LST>
                  <S>year</S>
                </LST>
              </Obj>
              <S N="Name">LICENSE</S>
              <S N="RelativePath">LICENSE</S>
              <S N="Identifier">þ</S>
              <Obj N="FileSystemParameterFlat" RefId="55">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <Obj N="FileSystemParameterScript" RefId="56">
                <TNRef RefId="2" />
                <LST />
              </Obj>
            </Props>
            <MS>
              <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAUBAAAALVBTTW9kdWxlRGV2ZWxvcG1lbnQuVGVtcGxhdGUuVGVtcGxhdGVJdGVtRmlsZQkAAAAFVmFsdWUJUGxhaW5UZXh0FENvbnRlbnRQYXJhbWV0ZXJGbGF0FkNvbnRlbnRQYXJhbWV0ZXJTY3JpcHQETmFtZQxSZWxhdGl2ZVBhdGgKSWRlbnRpZmllchdGaWxlU3lzdGVtUGFyYW1ldGVyRmxhdBlGaWxlU3lzdGVtUGFyYW1ldGVyU2NyaXB0AQADAwEBAQMDAX9TeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN0YDFbW1N5c3RlbS5TdHJpbmcsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV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AB/U3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tTeXN0ZW0uU3RyaW5nLCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXQMAAAAGX2l0ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgJCwAAAAEAAAABAAAAAQUAAAAEAAAACQwAAAABAAAAAQAAAAEJAAAABAAAAAkNAAAAAAAAAAAAAAABCgAAAAQAAAAJDQAAAAAAAAAAAAAAEQsAAAAEAAAABg4AAAAGYXV0aG9yDQMRDAAAAAQAAAAGDwAAAAR5ZWFyDQMRDQAAAAAAAAAL</BA>
            </MS>
          </Obj>
          <Obj RefId="57">
            <TNRef RefId="7" />
            <ToString>PSModuleDevelopment.Template.TemplateItemFile</ToString>
            <Props>
              <S N="Value"># Description_x000D__x000A__x000D__x000A_Insert a useful description for the þnameþ project here._x000D__x000A__x000D__x000A_Remember, it's the first thing a visitor will see._x000D__x000A__x000D__x000A_# Project Setup Instructions_x000D__x000A_## Working with the layout_x000D__x000A__x000D__x000A_- Don't touch the psm1 file_x000D__x000A_- Place functions you export in `functions/` (can have subfolders)_x000D__x000A_- Place private/internal functions invisible to the user in `internal/functions` (can have subfolders)_x000D__x000A_- Don't add code directly to the `postimport.ps1` or `preimport.ps1`._x000D__x000A_ Those files are designed to import other files only._x000D__x000A_- When adding files &amp; folders, make sure they are covered by either `postimport.ps1` or `preimport.ps1`._x000D__x000A_ This adds them to both the import and the build sequence._x000D__x000A__x000D__x000A_## Setting up CI/CD_x000D__x000A__x000D__x000A_&gt; To create a PR validation pipeline, set up tasks like this:_x000D__x000A__x000D__x000A_- Install Prerequisites (PowerShell Task; VSTS-Prerequisites.ps1)_x000D__x000A_- Validate (PowerShell Task; VSTS-Validate.ps1)_x000D__x000A_- Publish Test Results (Publish Test Results; NUnit format; Run no matter what)_x000D__x000A__x000D__x000A_&gt; To create a build/publish pipeline, set up tasks like this:_x000D__x000A__x000D__x000A_- Install Prerequisites (PowerShell Task; VSTS-Prerequisites.ps1)_x000D__x000A_- Validate (PowerShell Task; VSTS-Validate.ps1)_x000D__x000A_- Build (PowerShell Task; VSTS-Build.ps1)_x000D__x000A_- Publish Test Results (Publish Test Results; NUnit format; Run no matter what)_x000D__x000A_</S>
              <B N="PlainText">true</B>
              <Obj N="ContentParameterFlat" RefId="58">
                <TNRef RefId="2" />
                <LST>
                  <S>name</S>
                </LST>
              </Obj>
              <Obj N="ContentParameterScript" RefId="59">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <S N="Name">README.md</S>
              <S N="RelativePath">README.md</S>
              <S N="Identifier">þ</S>
              <Obj N="FileSystemParameterFlat" RefId="60">
                <TNRef RefId="2" />
                <LST />
              </Obj>
              <Obj N="FileSystemParameterScript" RefId="61">
                <TNRef RefId="2" />
                <LST />
              </Obj>
            </Props>
            <MS>
              <BA N="SerializationData">AAEAAAD/////AQAAAAAAAAAMAgAAAEpQU01vZHVsZURldmVsb3BtZW50LCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbAUBAAAALVBTTW9kdWxlRGV2ZWxvcG1lbnQuVGVtcGxhdGUuVGVtcGxhdGVJdGVtRmlsZQkAAAAFVmFsdWUJUGxhaW5UZXh0FENvbnRlbnRQYXJhbWV0ZXJGbGF0FkNvbnRlbnRQYXJhbWV0ZXJTY3JpcHQETmFtZQxSZWxhdGl2ZVBhdGgKSWRlbnRpZmllchdGaWxlU3lzdGVtUGFyYW1ldGVyRmxhdBlGaWxlU3lzdGVtUGFyYW1ldGVyU2NyaXB0AQADAwEBAQMDAX9TeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN0YDFbW1N5c3RlbS5TdHJpbmcsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUH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