1. Please run the following PowerShell script below to identify job IDs not completely updated (aborting or abandoned). Job IDs can be identified via StoragePoint Job State web page as well while hovering on Job Name.
cls
try {# Logging supportNew-Item -ItemType Directory -Force -Path ".\Logs" | Out-Null$transcriptFileName = (".\Logs\Transcript_{0}.log" -f (Get-Date).ToString("yyyy-MM-dd_HHmmss"))Write-HostStart-Transcript -Path $transcriptFileName -NoClobberWrite-Host[System.Reflection.Assembly]::LoadWithPartialName("Bluethread.SharePoint.StoragePoint.StoragePointAPI")Write-Host$jobsEndingWithError = [Bluethread.SharePoint.StoragePoint.TimerJobAPI.TimerJobStatusAPI]::GetExceptionJobs()Write-Host "StoragePoint Jobs ending with error:" -ForegroundColor Red$jobsEndingWithError | Select Name, Id, Role, State, Started, Stopped, Heartbeat, Completion, LastError$abandonedJobs = [Bluethread.SharePoint.StoragePoint.TimerJobAPI.TimerJobStatusAPI]::GetAbandonedJobs()Write-Host "Abandoned StoragePoint Jobs:" -ForegroundColor Yellow$abandonedJobs | Select Name, Id, Role, State, Started, Stopped, Heartbeat, Completion, LastError$abortingJobs = [Bluethread.SharePoint.StoragePoint.TimerJobAPI.TimerJobStatusAPI]::GetAbortingJobs()Write-Host "Aborting StoragePoint Jobs:" -ForegroundColor Yellow$abortingJobs | Select Name, Id, Role, State, Started, Stopped, Heartbeat, Completion, LastError}catch {$_.Exception | format-list -force}finally {Write-HostStop-TranscriptWrite-Host}
2. Please run the following PowerShell command below to remove not completely updated (aborting or abandoned) StoragePoint job state records.
cls
try {# Logging supportNew-Item -ItemType Directory -Force -Path ".\Logs" | Out-Null$transcriptFileName = (".\Logs\Transcript_{0}.log" -f (Get-Date).ToString("yyyy-MM-dd_HHmmss"))Write-HostStart-Transcript -Path $transcriptFileName -NoClobberWrite-Host[System.Reflection.Assembly]::LoadWithPartialName("Bluethread.SharePoint.StoragePoint.TimerJobs")Write-Host$stpJobIDsToRemove = ('1d8a223a-851b-4fdd-aa80-16c48f401c30', '4c0c432a-103a-4481-93c8-abae4ea4cb69', 'e68363f3-b2c6-4f41-9692-bf79c6b83f5e', '74ed9abb-5ea6-49e3-8157-cec4dfcb17d2')Foreach ($jobId in $stpJobIDsToRemove){[Bluethread.SharePoint.StoragePoint.TimerJobs.ManagedJobBase]::ClearJob([guid]$jobId)Write-Host ("StoragePoint Job Status record has been deleted for job ID: '{0}'" -f $jobId) -ForegroundColor Green}}catch {$_.Exception | format-list -force}finally {Write-HostStop-TranscriptWrite-Host}
© ALL RIGHTS RESERVED. Feedback Conditions d’utilisation Confidentialité Cookie Preference Center