---
title: "Run SIF remotely"
slug: "run-sif-remotely"
abstract: ""
---
# Run SIF remotely

PowerShell Remoting lets you run SIF configurations on a remote computer.

## Enable PowerShell remoting

To enable PowerShell remoting:

- On the remote computer, in a PowerShell command line, run the `Enable-PSRemoting` cmdlet.

> [!note]
> You must enable PowerShell remoting for the user that completes the installation, and this user must have administrator rights to perform the deployment. For more information about securing or configuring a computer for remote access, see [Microsoft's documentation](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-6).
>
> SIF uses SSL to create a remote PowerShell session. You must configure Windows Remote Management (WinRM) to work over HTTPS. For more information, see [Microsoft Support](https://support.microsoft.com/en-us/help/2019527/how-to-configure-winrm-for-https).

## Start a remote installation

To start a remote deployment:

1. Install SIF on the remote computer.
2. In a PowerShell command line, create a new remote session:

    ```text
    $session = New-PSSession -ComputerName <RemoteComputerName>
    ```

3. To copy all the required packages and SIF configuration files to the remote computer, specify the path and then run the following cmdlet:

    ```text
    Copy-Item -Path <sourcefile> -Destination -<remotePath> -ToSession $session
    ```

4. To start the installation, run the following cmdlet:

    ```

    $session = New-PSSession -ComputerName  <RemoteComputerName>

    Invoke-Command -Session $session { Import-Module SitecoreInstallFramework }

    Invoke-Command -Session $session { Install-SitecoreConfiguration -Path <configurationpath> }
    ```

> [!note]
> For more information about the `Invoke-Command` cmdlet, see the [PowerShell documentation](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/invoke-command?view=powershell-6).