You can

Procedure

  1. Run the Connect-MirageServer cmdlet to connect to the Mirage server.

    Connect-MirageServer ServerIPAddress Username Password -TrustUnknownCertificate

    ServerIPAddress is the IP address of the Mirage server, and Username and Password are the log-in credentials of the privileged user for the Mirage server.

  2. Select a CVD that you want to update the app layers assigned to it.
    1. Run the Get-MirageCvd cmdlet to retrieve the Mirage CVDs, and note the name of the Mirage CVD for which to assign base layer.
    2. Run the $cvd = Get-MirageCVD 'cvdname'| Select-Object -First 1 command.

      cvd is the name you select for this variable, cvdname is the name of the CVD that you selected.

  3. Select an app layer for the CVD.
    1. Run the Get-MirageAppLayer cmdlet to retrieve the Mirage app layers, and note the name of the app layer to assign to the CVD.
    2. Run the $applayer = MirageAppLayer 'applayername' | Select-Object -First 1 command.

      applayer is the name you select for this variable, and applayername is the name of the app layer that you selected for the CVD.

  4. Update the app layers on the selected CVD.

    Option

    Action

    Download only update app layers on the CVD

    Run the $cvd = Set- MirageCvdAppLayer -CVD $cvd -AddLayer $addlayer -RemoveLayer $removelayer -IgnoreWarnings -Force -DownloadOnly command.

    Full update app layer

    Run the $cvd = Set- MirageCvdAppLayer -CVD $cvd -AddLayer $addlayer -RemoveLayer $removelayer -IgnoreWarnings -Force command.

  5. (Optional) If you selected the download only update option, query and apply the download only app layer assignment.
    1. Run the Get-MirageAssignment cmdlet to retrieve the download only assignment.
    2. Run the Apply-MirageAssignment cmdlet to apply the assignment.