| external help file | Module Name | online version | schema |
|---|---|---|---|
StreamXRef-help.xml |
StreamXRef |
2.0.0 |
Clears data from the internal lookup cache for the StreamXRef module.
Clear-XRefData -Name <String[]> [-DaysToKeep <Int32>] [<CommonParameters>]
Clear-XRefData [-RemoveAll] [<CommonParameters>]
The Clear-XRefData cmdlet clears either all data or any combination of the following for the StreamXRef module: API key, User lookup cache, Clip lookup cache, Video lookup cache.
PS > Clear-XRefData -Name Clip, Video -DaysToKeep 30
This will clear data older than 30 days from the Clip and Video caches.
Specify which data to clear. Accepts the folowing values:
- ApiKey
- Clip
- User
- Video
Type: String[]
Parameter Sets: Selection
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the number of days to keep in the Clip and Video caches. If used without at least one of these it will have no effect. (Recommended max value: 60)
Type: Int32
Parameter Sets: Selection
Aliases: Keep
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseRemove the API key and all cached data.
Type: SwitchParameter
Parameter Sets: All
Aliases:
Required: False
Position: Named
Default value: False
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.