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 of repair tools and their appropriate parameters for diagnosing Windows 10 issues
Repair-Windows10 [-DISM] [-Check] [-Source <String>] [-NoWU] [<CommonParameters>]
Repair-Windows10 [-Check] [-Defrag] [<CommonParameters>]
Repair-Windows10 [-SFC] [<CommonParameters>]
Repair-Windows10 [-CleanUp] [-Silent] [<CommonParameters>]
Long description
Repair-Windows10 -DISM -SFC
Switch to tell the script to run DISM
Type: SwitchParameter
Parameter Sets: dism
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
When used with -DISM, it will use DISM.exe to check the health of the image. When used with -Defrag it will check the status of the system drive
Type: SwitchParameter
Parameter Sets: dism, defrag
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
File path to a Windows installation directory for system repair. This is not a path to the online system's Windows directory.
Type: String
Parameter Sets: dism
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Switch when used with -DISM that will prevent downloading repair files from Windows Update
Type: SwitchParameter
Parameter Sets: dism
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Switch to run System File Check
Type: SwitchParameter
Parameter Sets: sfc
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Switch to run the system disk cleanup tool
Type: SwitchParameter
Parameter Sets: clean
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Switch to run the system disk cleanup tool silently
Type: SwitchParameter
Parameter Sets: clean
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Switch to defragment/optimize drives
Type: SwitchParameter
Parameter Sets: defrag
Aliases:
Required: False
Position: Named
Default value: False
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.
General notes
https://www.nextofwindows.com/running-disk-cleanup-tool-in-command-line-in-windows-10