This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem run to bypass windows upgrades without TPM | |
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\vdsldr.exe" /f | |
:: ONLY IF ABOVE ERRORS | |
rem run if the previous cmd does not fix the error | |
wmic /namespace:"\\root\subscription" path __EventFilter where Name="Skip TPM Check on Dynamic Update" delete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ScriptBlock] $bootstrap = { | |
[string] $localhost = [Environment]::MachineName; | |
[string] $controller = Get-BBGuestSiteComputerNames -BBResourceType 'CitrixXenAppDeliveryController' | Select-Object -First 1; | |
Copy-BBGuestGen7DatabaseRegistryEntries -DestinationComputerName $localhost -SourceComputerName ( | |
Get-BBGuestSiteComputerNames -BBResourceType 'CitrixXenAppDeliveryAgent' -Application 'Queue' | |
); | |
Add-BBGuestCitrixVDAtoMachineCatalog -ComputerName $localhost -SiteController $controller -CitrixMachineCatalogName ( | |
Get-BBGuestCitrixMachineCatalogName -DeliveryControllerInstance 1 |
OlderNewer