Author | external help file | Module Guid | Module Name | online version | schema |
---|---|---|---|---|---|
Paul Boyer |
psvault-Windows10-help.xml |
365380a9-8cef-470f-9396-9f684904d499 |
psvault-Windows10 |
2.0.0 |
Script that facilitates an online (running OS) upgrade of Windows 10 given a setup file from an expanded ISO
Update-Windows10 -SetupFile <String> [-LogDir <String>] [-NoDynamicUpdate] [-AnswerFile <String>]
[-ConfigFile <String>] [-Quiet] [-BitLocker <String>] [<CommonParameters>]
Update-Windows10 -SetupFile <String> [-LogDir <String>] [-ScanCompat] [-Quiet] [<CommonParameters>]
Update-Windows10 -SetupFile <String> [-LogDir <String>] [-NoDynamicUpdate] -AnswerFile <String> [-Quiet]
[-BitLocker <String>] [<CommonParameters>]
Update-Windows10 -SetupFile <String> [-LogDir <String>] [-NoDynamicUpdate] -ConfigFile <String> [-Quiet]
[-BitLocker <String>] [<CommonParameters>]
After extracting the contents of an ISO of a new version of Windows 10, this script can utilize the setup.exe file to perform and upgrade to an online (running) system.
Update-Windows10 -SetupFile "D:\Setup.exe" -ScanCompat
Update-Windows10 -SetupFile "D:\Setup.exe"
Update-Windows10 -SetupFile "D:\Setup.exe" -Quiet -LogDir "\\fs1\share\Logs\Update"
Update-Windows10 -SetupFile "D:\Setup.exe" -NoDynamicUpdate -ConfigFile "\\fs1\share\UpdateConfig.ini" -BitLocker "ForceKeepActive" -Quiet
Path to the "Setup.exe" file extracted from the ISO.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Path to a directory where logs from the upgrade process should be copied.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Switch to scan for current machine's compatibility with the upgrade. Provides a report of any incompatibilities. This does not perform the upgrade.
Type: SwitchParameter
Parameter Sets: ScanCompat
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Switch to disable Dynamic Update functionality during the upgrade process. By default, new updates will be installed at upgrade time.
Type: SwitchParameter
Parameter Sets: Update, AnswerFile, ConfigFile
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
To use an AnswerFile and perform the update in unattended mode, supply the path to the XML answer file.
Type: String
Parameter Sets: Update
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: String
Parameter Sets: AnswerFile
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
To use a configuration file, provide the path to the INI config file. Settings in the config file will override those specified in the command line
Type: String
Parameter Sets: Update
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: String
Parameter Sets: ConfigFile
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Switch parameter to perform the upgrade silently without user interaction.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
String parameter as to how the upgrade should handle machines protected by BitLocker. By default, the upgrade will try to keep BitLocker active.
Type: String
Parameter Sets: Update, AnswerFile, ConfigFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Paul Boyer - 2-11-2021