-
Notifications
You must be signed in to change notification settings - Fork 0
Clear UdeOrphanedConfig
Clears orphaned UDE configurations and their associated resources.
Clear-UdeOrphanedConfig [-Force] [-IncludePackages] [-ProgressAction <ActionPreference>] [<CommonParameters>]
This function identifies and removes orphaned UDE configurations, including their package directories, symlinks, and XRef databases.
Clear-UdeOrphanedConfig
This will collect all orphaned UDE configurations and display them, but will not proceed with the clearing process. It will list the XppConfig directories and XRef databases that are considered orphaned.
Clear-UdeOrphanedConfig -Force
This will remove all orphaned UDE configurations and their associated resources. It will only process the XppConfig directories and XRef databases that are considered orphaned.
Clear-UdeOrphanedConfig -IncludePackages
This will collect all orphaned UDE configurations, including package directories, and display them, but will not proceed with the clearing process. It will list the package directories, XppConfig directories, and XRef databases that are considered orphaned.
Clear-UdeOrphanedConfig -IncludePackages -Force
This will remove all orphaned UDE configurations and their associated resources, including package directories. It will process the package directories, XppConfig directories, and XRef databases that are considered orphaned. Removing package directories might lead to re-downloading packages later on if they are needed for other environments.
Instructs the function to proceed with clearing orphaned configurations.
Nothing happens unless this parameter is supplied.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the function to include package directories in the clearing process.
Please note that package directories might be needed for other environments later on, so to avoid downloading packages again, this parameter is optional.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Mötz Jensen (@Splaxi)