en-US/7-ZipSetupManager.psm1-Help.xml

<?xml version="1.0" encoding="utf-8" ?>
<helpItems xmlns="http://msh" schema="maml">
    <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
        <command:details>
            <command:name>Get-7ZipDownloadLink</command:name>
            <maml:description>
                <maml:para>Get 7-Zip setup direct download link.</maml:para>
 
            </maml:description>
            <maml:copyright>
                <maml:para></maml:para>
            </maml:copyright>
            <command:verb>Get</command:verb>
            <command:noun>7ZipDownloadLink</command:noun>
            <dev:version/>
        </command:details>
        <maml:description>
                <maml:para>Get 7-Zip for Windows latest version setup executable direct download link, default is 64bit installer, to get 32bit use -x86 switch.</maml:para>
 
        </maml:description>
        <command:syntax>
            <command:syntaxItem parametersetname="__AllParameterSets">
                <maml:name>Get-7ZipDownloadLink</maml:name>
                <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                    <maml:name>x86</maml:name>
                    <maml:description>
                        <maml:para>Get 32bit installer.</maml:para>
                    </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                </command:parameter>
                <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                    <maml:name>GetFileNameOnly</maml:name>
                    <maml:description>
                        <maml:para>Displays just filename of setup file insead of full URL path.</maml:para>
                    </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                </command:parameter>
            </command:syntaxItem>
        </command:syntax>
        <command:parameters>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>x86</maml:name>
                <maml:description>
                    <maml:para>Get 32bit installer.</maml:para>
                </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                <dev:type>
                    <maml:name>switch</maml:name>
                    <maml:uri/>
                </dev:type>
                <dev:defaultValue></dev:defaultValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>GetFileNameOnly</maml:name>
                <maml:description>
                    <maml:para>Displays just filename of setup file insead of full URL path.</maml:para>
                </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                <dev:type>
                    <maml:name>switch</maml:name>
                    <maml:uri/>
                </dev:type>
                <dev:defaultValue></dev:defaultValue>
            </command:parameter>
        </command:parameters>
        <maml:alertSet>
            <maml:title></maml:title>
            <maml:alert>
                <maml:para>by chixus - CHXOFT &#169;2023.</maml:para>
            </maml:alert>
        </maml:alertSet>
        <command:examples>
            <command:example>
                <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
                <maml:introduction>
                    <maml:para></maml:para>
                </maml:introduction>
                <dev:code>PS C:\&gt; Get-7ZipDownloadLink &gt;&gt; Getiing 7-zip 64bit installer exe link. </dev:code>
                <dev:remarks>
                    <maml:para>Get-7ZipDownloadLink -x86 &gt;&gt; Getiing 7-zip 32bit installer exe link.</maml:para>
 
                </dev:remarks>
            </command:example>
        </command:examples>
    </command:command>
    <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
        <command:details>
            <command:name>Get-7ZipInstallationPath</command:name>
            <maml:description>
                <maml:para>Resolving installed 7-Zip path</maml:para>
 
            </maml:description>
            <maml:copyright>
                <maml:para></maml:para>
            </maml:copyright>
            <command:verb>Get</command:verb>
            <command:noun>7ZipInstallationPath</command:noun>
            <dev:version/>
        </command:details>
        <maml:description>
                <maml:para>Get the 7-Zip installation path if it is already installed.</maml:para>
 
        </maml:description>
        <command:syntax>
            <command:syntaxItem parametersetname="__AllParameterSets">
                <maml:name>Get-7ZipInstallationPath</maml:name>
                <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0">
                    <maml:name>GetVersionOnly</maml:name>
                    <maml:description>
                        <maml:para>A description of the GetVersionOnly parameter.</maml:para>
                    </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                </command:parameter>
                <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                    <maml:name>Property</maml:name>
                    <maml:description>
                        <maml:para>Gets property values.</maml:para>
                    </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                </command:parameter>
                <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                    <maml:name>CheckAll</maml:name>
                    <maml:description>
                        <maml:para>Check if 32bit and 64bit is installed.</maml:para>
                    </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                </command:parameter>
            </command:syntaxItem>
        </command:syntax>
        <command:parameters>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>GetVersionOnly</maml:name>
                <maml:description>
                    <maml:para>A description of the GetVersionOnly parameter.</maml:para>
                </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                <dev:type>
                    <maml:name>switch</maml:name>
                    <maml:uri/>
                </dev:type>
                <dev:defaultValue></dev:defaultValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Property</maml:name>
                <maml:description>
                    <maml:para>Gets property values.</maml:para>
                </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                <dev:type>
                    <maml:name>switch</maml:name>
                    <maml:uri/>
                </dev:type>
                <dev:defaultValue></dev:defaultValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>CheckAll</maml:name>
                <maml:description>
                    <maml:para>Check if 32bit and 64bit is installed.</maml:para>
                </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                <dev:type>
                    <maml:name>switch</maml:name>
                    <maml:uri/>
                </dev:type>
                <dev:defaultValue></dev:defaultValue>
            </command:parameter>
        </command:parameters>
        <maml:alertSet>
            <maml:title></maml:title>
            <maml:alert>
                <maml:para>by chixus - CHXOFT &#169;2023.</maml:para>
            </maml:alert>
        </maml:alertSet>
        <command:examples>
            <command:example>
                <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
                <maml:introduction>
                    <maml:para></maml:para>
                </maml:introduction>
                <dev:code>PS C:\&gt; Get-7ZipInstallationPath </dev:code>
                <dev:remarks>
                    <maml:para>- Returns installation path, if 7-Zip is not installed returns $false
 
Get-7ZipInstallationPath -GetVersionOnly
- Returns program version insead of path, if 7-Zip is not installed returns $false
 
$path = Get-7ZipInstallationPath
if ($path) { Write-Host &quot;Your path is: $Path&quot; }
- Simple example</maml:para>
 
                </dev:remarks>
            </command:example>
        </command:examples>
    </command:command>
    <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
        <command:details>
            <command:name>Get-7ZipSetup</command:name>
            <maml:description>
                <maml:para>Get-7ZipSetup downloads 7-Zip setup executable</maml:para>
 
            </maml:description>
            <maml:copyright>
                <maml:para></maml:para>
            </maml:copyright>
            <command:verb>Get</command:verb>
            <command:noun>7ZipSetup</command:noun>
            <dev:version/>
        </command:details>
        <maml:description>
                <maml:para>Get-7ZipSetup downloads 7-Zip setup executable to specified path or if not defined to the current folder.
Also can start installation with switch -AndStartInstallation. If you use this switch you can also use -Silent switch to start silent installation.</maml:para>
 
        </maml:description>
        <command:syntax>
            <command:syntaxItem parametersetname="__AllParameterSets">
                <maml:name>Get-7ZipSetup</maml:name>
                <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                    <maml:name>Path</maml:name>
                    <maml:description>
                        <maml:para>Download path, leave it empty to download to current folder.</maml:para>
                    </maml:description>
                    <command:parameterValue required="true" variableLength="false">string</command:parameterValue>
                </command:parameter>
                <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                    <maml:name>x86</maml:name>
                    <maml:description>
                        <maml:para>Download 32bit installation.</maml:para>
                    </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                </command:parameter>
                <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
                    <maml:name>AndStartInstallation</maml:name>
                    <maml:description>
                        <maml:para>Starts installation after downloading, use -Silent to start installation silently.</maml:para>
                    </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                </command:parameter>
                <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4">
                    <maml:name>Silent</maml:name>
                    <maml:description>
                        <maml:para>Start installation silently, use only with -AndStartInstallation.</maml:para>
                    </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                </command:parameter>
            </command:syntaxItem>
        </command:syntax>
        <command:parameters>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Download path, leave it empty to download to current folder.</maml:para>
                </maml:description>
                    <command:parameterValue required="true" variableLength="false">string</command:parameterValue>
                <dev:type>
                    <maml:name>string</maml:name>
                    <maml:uri/>
                </dev:type>
                <dev:defaultValue></dev:defaultValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>x86</maml:name>
                <maml:description>
                    <maml:para>Download 32bit installation.</maml:para>
                </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                <dev:type>
                    <maml:name>switch</maml:name>
                    <maml:uri/>
                </dev:type>
                <dev:defaultValue></dev:defaultValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
                <maml:name>AndStartInstallation</maml:name>
                <maml:description>
                    <maml:para>Starts installation after downloading, use -Silent to start installation silently.</maml:para>
                </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                <dev:type>
                    <maml:name>switch</maml:name>
                    <maml:uri/>
                </dev:type>
                <dev:defaultValue></dev:defaultValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4">
                <maml:name>Silent</maml:name>
                <maml:description>
                    <maml:para>Start installation silently, use only with -AndStartInstallation.</maml:para>
                </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                <dev:type>
                    <maml:name>switch</maml:name>
                    <maml:uri/>
                </dev:type>
                <dev:defaultValue></dev:defaultValue>
            </command:parameter>
        </command:parameters>
        <maml:alertSet>
            <maml:title></maml:title>
            <maml:alert>
                <maml:para>by chixus - CHXOFT &#169;2023.</maml:para>
            </maml:alert>
        </maml:alertSet>
        <command:examples>
            <command:example>
                <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
                <maml:introduction>
                    <maml:para></maml:para>
                </maml:introduction>
                <dev:code>PS C:\&gt; Get-7ZipSetup </dev:code>
                <dev:remarks>
                    <maml:para>- Downloads 64bit setup file to current folder.
 
Get-7ZipSetup C:\MyFolder\
- Downloads 64bit setup file to C:\MyFolder\
 
Get-7ZipSetup -Path C:\MyFolder\
- Downloads 64bit setup file to C:\MyFolder\
 
Get-7ZipSetup -Path C:\MyFolder\ -x86
- Downloads 32bit setup file to C:\MyFolder\
 
Get-7ZipSetup -AndStartInstallation
- Downloads 64bit setup file and start installing, you can use other switches wiht this.
 
Get-7ZipSetup -AndStartInstallation -Silent
- Downloads 64bit setup file and start install silently.</maml:para>
 
                </dev:remarks>
            </command:example>
        </command:examples>
    </command:command>
    <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
        <command:details>
            <command:name>Uninstall-7Zip</command:name>
            <maml:description>
                <maml:para>Uninstall 7-Zip from Windows.</maml:para>
 
            </maml:description>
            <maml:copyright>
                <maml:para></maml:para>
            </maml:copyright>
            <command:verb>Uninstall</command:verb>
            <command:noun>7Zip</command:noun>
            <dev:version/>
        </command:details>
        <maml:description>
                <maml:para>Remove any installed verison of 7-Zip from Windows 32bit or 64bit.
If both 32bit and 64bit are installed the 64bit version will be removed first then you need to run command againd to remove the 32bit version.</maml:para>
 
        </maml:description>
        <command:syntax>
            <command:syntaxItem parametersetname="__AllParameterSets">
                <maml:name>Uninstall-7Zip</maml:name>
                <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0">
                    <maml:name>Silent</maml:name>
                    <maml:description>
                        <maml:para>Uninstall silently.</maml:para>
                    </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                </command:parameter>
            </command:syntaxItem>
        </command:syntax>
        <command:parameters>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Silent</maml:name>
                <maml:description>
                    <maml:para>Uninstall silently.</maml:para>
                </maml:description>
                    <command:parameterValue required="false" variableLength="false">switch</command:parameterValue>
                <dev:type>
                    <maml:name>switch</maml:name>
                    <maml:uri/>
                </dev:type>
                <dev:defaultValue></dev:defaultValue>
            </command:parameter>
        </command:parameters>
        <maml:alertSet>
            <maml:title></maml:title>
            <maml:alert>
                <maml:para>by chixus - CHXOFT &#169;2023.</maml:para>
            </maml:alert>
        </maml:alertSet>
        <command:examples>
            <command:example>
                <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
                <maml:introduction>
                    <maml:para></maml:para>
                </maml:introduction>
                <dev:code>PS C:\&gt; Uninstall-7Zip </dev:code>
                <dev:remarks>
                    <maml:para>- Start uninstall process.
 
Uninstall-7Zip -Silent
- Uninstall silently.</maml:para>
 
                </dev:remarks>
            </command:example>
        </command:examples>
    </command:command>
</helpItems>