Skip to content

Upgrade FSLogix just in case #510

Open
@eponerine

Description

@eponerine

While you would assume the images from MSFT will have the latest FSLogix agent in them, this should probably be commented out to ensure the latest and greatest is in fact installed (FSLogix doesn't follow a release cadence like Windows Updates).

And even if the downloaded version matches what is already installed, it will gracefully exit during upgrade.

#install FSLogix to session hosts (not needed, since in 21H2 agent is already present)
<#
#create sessions
$Sessions=New-PSSession -ComputerName $VMs.VMName
foreach ($session in $Sessions){
Copy-Item -Path $env:Userprofile\downloads\FSLogix_Apps\x64\Release\FSLogixAppsSetup.exe -Destination $env:Userprofile\downloads\ -ToSession $session
}
$Session | Remove-PSSession
#install fslogix
Invoke-Command -ComputerName $VMs.VMName -ScriptBlock {
Start-Process -FilePath $env:Userprofile\downloads\FSLogixAppsSetup.exe -ArgumentList "/install /quiet / norestart" -Wait
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions