-
Notifications
You must be signed in to change notification settings - Fork 302
Open
Description
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.
MSLab/Scenarios/AzSHCI and AVD/Scenario.ps1
Lines 1447 to 1459 in 60293c8
| #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
Labels
No labels