Open brianlala opened 6 years ago
Note, this issue does NOT occur if I omit the -Mode Full parameter.
I've confirmed that this is not a regression issue. @brianlala can I ask you to run the following on your environment. I need to troubleshoot what timer job is actually giving you a hard time. Just tried on a Single Server SP2013 SP1 server and didn't get that issue.
Import-Module ReverseDSC Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue function Read-SPTimerJobState { $module = Resolve-Path ("C:\Program Files\WindowspowerShell\Modules\SharePointDSC\2.2.0.0\DSCResources\MSFT_SPTimerJobState\MSFT_SPTimerJobState.psm1") Import-Module $module $params = Get-DSCFakeParameters -ModulePath $module
$spTimers = Get-SPTimerJob $totalTimers = $spTimers.Length $i = 0; $dscConfigContent = "" foreach($timer in $spTimers) { $i++ Write-Host "Scanning Timer Job {"$timer.Name"}[$i/$totalTimers]..." if($timer -ne $null -and $timer.TypeName -ne "Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition") { $params.TypeName = $timer.TypeName if($null -ne $timer.WebApplication) { $params.WebAppUrl = $timer.WebApplication.Url; } else { $params.WebAppUrl = "N/A"; }
<# TODO: Remove comment tags when version 2.0.0.0 of SharePointDSC gets released;#>
$dscConfigContent += "<#`r`n"
$dscConfigContent += " SPTimerJobState " + [System.Guid]::NewGuid().toString() + "`r`n"
$dscConfigContent += " {`r`n"
$results = Get-TargetResource @params
if($results.Contains("InstallAccount"))
{
$results.Remove("InstallAccount")
}
$dscConfigContent += Get-DSCBlock -UseGetTargetResource -Params $results -ModulePath $module
$dscConfigContent += " }`r`n"
$dscConfigContent += "#>`r`n"
}
}
return $dscConfigContent
}
Read-SPTimerJobState
OK I'll try in a bit, thanks Nik.
Oops looks like we have a missing function:
Repair-Credentials : The term 'Repair-Credentials' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Read-SPTimerJobState.ps1:37 char:24
+ CategoryInfo : ObjectNotFound: (Repair-Credentials:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
My bad, comment out the line that calls into it. I forgot to include it in my snippet, but you can just safely ignore that line for the purpose of this test. I've edited the snippet in my previous comment
Very similar output to what ReverseDSC gives:
Scanning Timer Job { RemoveWordConversionJobHistory }[231/250]...
VERBOSE: Executing as the local run as user CONTOSO\
+ CategoryInfo : OperationStopped: (0 timer jobs fo...pUrl parameter.:String) [], RuntimeException
+ FullyQualifiedErrorId : 0 timer jobs found. Check input values or use the WebAppUrl parameter.
Looks like it's choking on "Word Automation Services" ?
Yeah, but at least now we know that it is the Word Automation Timer Job that is failing. I'll investigate further
Reproduced your error, but whenever I had 2 UPS which created two instances of Farm wide timer jobs. The SPDSC has logic in it that there should be no more than 1 instances (actually....exactly 1 instance) of a Farm wide timer job that should exist. In my case I have two, so it errors out....you're case is a little different. This will sound exhaustive, but can you put the output of running Get-SPTimerJob | select Type even if it is 250 entries? The issue has been opened in SharePointDSC as well https://github.com/PowerShell/SharePointDsc/issues/791
Here's the output of Get-SPTimerJob | select TypeName | Sort-Object TypeName:
Microsoft.Office.DocumentManagement.Internal.DocIdEnableWorkItemJobDefinition Microsoft.Office.DocumentManagement.Internal.DocIdEnableWorkItemJobDefinition Microsoft.Office.DocumentManagement.Internal.DocIdEnableWorkItemJobDefinition Microsoft.Office.DocumentManagement.Internal.DocIdWorkItemJobDefinition Microsoft.Office.DocumentManagement.Internal.DocIdWorkItemJobDefinition Microsoft.Office.DocumentManagement.Internal.DocIdWorkItemJobDefinition Microsoft.Office.DocumentManagement.Internal.DocumentSetMetadataSyncJobDefinition Microsoft.Office.DocumentManagement.Internal.DocumentSetMetadataSyncJobDefinition Microsoft.Office.DocumentManagement.Internal.DocumentSetMetadataSyncJobDefinition Microsoft.Office.DocumentManagement.Internal.DocumentSetTemplateUpdateJobDefinition Microsoft.Office.DocumentManagement.Internal.DocumentSetTemplateUpdateJobDefinition Microsoft.Office.DocumentManagement.Internal.DocumentSetTemplateUpdateJobDefinition Microsoft.Office.Education.Institution.Jobs.EducationBulkOperationJob Microsoft.Office.Education.Institution.Jobs.EducationBulkOperationJob Microsoft.Office.Education.Institution.Jobs.EducationBulkOperationJob Microsoft.Office.InfoPath.Server.Administration.FormsMaintenanceJobDefinition Microsoft.Office.RecordsManagement.InformationPolicy.ProjectPolicyTeamMailBoxJobDefinition Microsoft.Office.RecordsManagement.InformationPolicy.ProjectPolicyTeamMailBoxJobDefinition Microsoft.Office.RecordsManagement.InformationPolicy.ProjectPolicyTeamMailBoxJobDefinition Microsoft.Office.RecordsManagement.Internal.ExpirationJobDefinition Microsoft.Office.RecordsManagement.Internal.ExpirationJobDefinition Microsoft.Office.RecordsManagement.Internal.ExpirationJobDefinition Microsoft.Office.RecordsManagement.Internal.HoldReportJobDefinition Microsoft.Office.RecordsManagement.Internal.HoldReportJobDefinition Microsoft.Office.RecordsManagement.Internal.HoldReportJobDefinition Microsoft.Office.RecordsManagement.Internal.PolicyUpdatesJobDefinition Microsoft.Office.RecordsManagement.Internal.PolicyUpdatesJobDefinition Microsoft.Office.RecordsManagement.Internal.PolicyUpdatesJobDefinition Microsoft.Office.RecordsManagement.Internal.RecordsRepositoryJobDefinition Microsoft.Office.RecordsManagement.Internal.RecordsRepositoryJobDefinition Microsoft.Office.RecordsManagement.Internal.RecordsRepositoryJobDefinition Microsoft.Office.RecordsManagement.Preservation.PreservationJobDefinition Microsoft.Office.RecordsManagement.SearchAndProcess.SearchAndProcessWIJD Microsoft.Office.RecordsManagement.SearchAndProcess.SearchAndProcessWIJD Microsoft.Office.RecordsManagement.SearchAndProcess.SearchAndProcessWIJD Microsoft.Office.Server.ActivityFeed.ActivityFeedCleanupUPAJob Microsoft.Office.Server.ActivityFeed.ActivityFeedUPAJob Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob Microsoft.Office.Server.Administration.ApplicationServerJob Microsoft.Office.Server.Administration.ILMProfileSynchronizationJob Microsoft.Office.Server.Administration.LicensingJob Microsoft.Office.Server.Administration.StateServiceExpiredSessionJobDefinition Microsoft.Office.Server.Administration.UserProfileApplication+LanguageSynchronizationJob Microsoft.Office.Server.Audience.AudienceCompilationJob Microsoft.Office.Server.Diagnostics.StaticSqmDataCollectionJob Microsoft.Office.Server.Search.Administration.CrawlReportCleanupJobDefinition Microsoft.Office.Server.Search.Administration.CrawlStoreRebalancerJobDefinition Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition Microsoft.Office.Server.Search.Administration.IndexingScheduleJobDefinition Microsoft.Office.Server.Search.Administration.PrepareQuerySuggestionsJobDefinition Microsoft.Office.Server.Search.Administration.QueryClassificationDictionaryUpdateTimerJobDefinition Microsoft.Office.Server.Search.Administration.QueryLogJobDefinition Microsoft.Office.Server.Search.Administration.SearchSQMTimerJobDefinition Microsoft.Office.Server.Search.Administration.SpellingCustomizationsUpgradeJobDefinition Microsoft.Office.Server.Search.Administration.SpellingDictionaryUpdateJobDefinition Microsoft.Office.Server.Search.Administration.VideoQueryRuleProvisionerJobDefinition Microsoft.Office.Server.Search.Administration.VideoQueryRuleProvisionerJobDefinition Microsoft.Office.Server.Search.Administration.VideoQueryRuleProvisionerJobDefinition Microsoft.Office.Server.Search.Analytics.AnalyticsEventStoreRetentionJobDefinition Microsoft.Office.Server.Search.Analytics.AnalyticsJobDefinition Microsoft.Office.Server.Search.Analytics.UsageAnalyticsJobDefinition Microsoft.Office.Server.Search.Monitoring.HealthStatUpdateJobDefinition Microsoft.Office.Server.Search.Monitoring.TraceDiagnosticsProvider Microsoft.Office.Server.SocialData.SocialDataMaintenanceJob Microsoft.Office.Server.SocialData.SocialRatingSyncJob Microsoft.Office.Server.UserProfiles.InteractiveMySiteInstantiationWorkItemJobDefinition Microsoft.Office.Server.UserProfiles.InteractiveMySiteInstantiationWorkItemJobDefinition Microsoft.Office.Server.UserProfiles.InteractiveMySiteInstantiationWorkItemJobDefinition Microsoft.Office.Server.UserProfiles.LanguageAndRegionSyncJob Microsoft.Office.Server.UserProfiles.LMTRepopulationJob Microsoft.Office.Server.UserProfiles.MySiteCleanupJob Microsoft.Office.Server.UserProfiles.MySiteEmailJob Microsoft.Office.Server.UserProfiles.NonInteractiveMySiteInstantiationWorkItemJobDefinition Microsoft.Office.Server.UserProfiles.NonInteractiveMySiteInstantiationWorkItemJobDefinition Microsoft.Office.Server.UserProfiles.NonInteractiveMySiteInstantiationWorkItemJobDefinition Microsoft.Office.Server.UserProfiles.SecondInteractiveMySiteInstantiationWorkItemJobDefinition Microsoft.Office.Server.UserProfiles.SecondInteractiveMySiteInstantiationWorkItemJobDefinition Microsoft.Office.Server.UserProfiles.SecondInteractiveMySiteInstantiationWorkItemJobDefinition Microsoft.Office.Server.UserProfiles.UserProfileChangeCleanupJob Microsoft.Office.Server.UserProfiles.UserProfileChangeJob Microsoft.Office.Server.UserProfiles.UserProfileImportJob Microsoft.Office.Server.UserProfiles.WSSProfileSyncJob Microsoft.Office.Server.UserProfiles.WSSSweepSyncJob Microsoft.Office.Server.WorkManagement.Internal.ExchangeSyncTimerJob Microsoft.Office.TranslationServices.LanguageJob Microsoft.Office.TranslationServices.QueueJob Microsoft.Office.TranslationServices.RemoveJobHistoryJobDefinition Microsoft.Office.Word.Server.Service.RemoveJobHistoryJobDefinition Microsoft.Office.Workflow.BulkWorkflowWIJD Microsoft.Office.Workflow.BulkWorkflowWIJD Microsoft.Office.Workflow.BulkWorkflowWIJD Microsoft.PerformancePoint.Scorecards.BIMaintenanceJob Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.Health.SPHealthAnalyzerJobDefinition Microsoft.SharePoint.Administration.SPAppInstallationJobDefinition Microsoft.SharePoint.Administration.SPAppStateQueryJobDefinition Microsoft.SharePoint.Administration.SPAppStatisticsProviderJobDefinition Microsoft.SharePoint.Administration.SPAuditLogTrimmingJobDefinition Microsoft.SharePoint.Administration.SPAuditLogTrimmingJobDefinition Microsoft.SharePoint.Administration.SPAuditLogTrimmingJobDefinition Microsoft.SharePoint.Administration.SPAutoHostedAppInstanceCounterJobDefinition Microsoft.SharePoint.Administration.SPChangeLogJobDefinition Microsoft.SharePoint.Administration.SPChangeLogJobDefinition Microsoft.SharePoint.Administration.SPChangeLogJobDefinition Microsoft.SharePoint.Administration.SPConfigurationRefreshJobDefinition Microsoft.SharePoint.Administration.SPCreateUpgradeEvalSitesJobDefintion Microsoft.SharePoint.Administration.SPCreateUpgradeEvalSitesJobDefintion Microsoft.SharePoint.Administration.SPCreateUpgradeEvalSitesJobDefintion Microsoft.SharePoint.Administration.SPDatabaseLocksJobDefinition Microsoft.SharePoint.Administration.SPDeadSiteDeleteJobDefinition Microsoft.SharePoint.Administration.SPDeadSiteDeleteJobDefinition Microsoft.SharePoint.Administration.SPDeadSiteDeleteJobDefinition Microsoft.SharePoint.Administration.SPDeleteJobHistoryJobDefinition Microsoft.SharePoint.Administration.SPDeleteUpgradeEvalSiteJobDefinition Microsoft.SharePoint.Administration.SPDeleteUpgradeEvalSiteJobDefinition Microsoft.SharePoint.Administration.SPDeleteUpgradeEvalSiteJobDefinition Microsoft.SharePoint.Administration.SPDiskQuotaWarningJobDefinition Microsoft.SharePoint.Administration.SPDiskQuotaWarningJobDefinition Microsoft.SharePoint.Administration.SPDiskQuotaWarningJobDefinition Microsoft.SharePoint.Administration.SPFileFragmentsTableCleanupJobDefinition Microsoft.SharePoint.Administration.SPFileFragmentsTableCleanupJobDefinition Microsoft.SharePoint.Administration.SPFileFragmentsTableCleanupJobDefinition Microsoft.SharePoint.Administration.SPIdentityColumnMaintenanceJobDefinition Microsoft.SharePoint.Administration.SPIdentityColumnMaintenanceJobDefinition Microsoft.SharePoint.Administration.SPIdentityColumnMaintenanceJobDefinition Microsoft.SharePoint.Administration.SPIdentityColumnMaintenanceJobDefinition Microsoft.SharePoint.Administration.SPImmediateAlertsJobDefinition Microsoft.SharePoint.Administration.SPImmediateAlertsJobDefinition Microsoft.SharePoint.Administration.SPImmediateAlertsJobDefinition Microsoft.SharePoint.Administration.SPInternalAppStateQueryJobDefinition Microsoft.SharePoint.Administration.SPLicenseRenewalJobDefinition Microsoft.SharePoint.Administration.SPPasswordManagementJobDefinition Microsoft.SharePoint.Administration.SPProductVersionJobDefinition Microsoft.SharePoint.Administration.SPRecycleBinCleanupJobDefinition Microsoft.SharePoint.Administration.SPRecycleBinCleanupJobDefinition Microsoft.SharePoint.Administration.SPRecycleBinCleanupJobDefinition Microsoft.SharePoint.Administration.SPSiteDeletionJobDefinition Microsoft.SharePoint.Administration.SPSiteDeletionJobDefinition Microsoft.SharePoint.Administration.SPSiteDeletionJobDefinition Microsoft.SharePoint.Administration.SPSolutionDailyResourceUsageJobDefinition Microsoft.SharePoint.Administration.SPSolutionDailyResourceUsageJobDefinition Microsoft.SharePoint.Administration.SPSolutionDailyResourceUsageJobDefinition Microsoft.SharePoint.Administration.SPSolutionResourceUsageLogJobDefinition Microsoft.SharePoint.Administration.SPSolutionResourceUsageLogJobDefinition Microsoft.SharePoint.Administration.SPSolutionResourceUsageLogJobDefinition Microsoft.SharePoint.Administration.SPSolutionResourceUsageUpdateJobDefinition Microsoft.SharePoint.Administration.SPSolutionResourceUsageUpdateJobDefinition Microsoft.SharePoint.Administration.SPSolutionResourceUsageUpdateJobDefinition Microsoft.SharePoint.Administration.SPSqmTimerJobDefinition Microsoft.SharePoint.Administration.SPStorageMetricsProcessingJobDefinition Microsoft.SharePoint.Administration.SPStorageMetricsProcessingJobDefinition Microsoft.SharePoint.Administration.SPStorageMetricsProcessingJobDefinition Microsoft.SharePoint.Administration.SPTimerRecycleJobDefinition Microsoft.SharePoint.Administration.SPUpgradeSiteCollectionJobDefinition Microsoft.SharePoint.Administration.SPUpgradeSiteCollectionJobDefinition Microsoft.SharePoint.Administration.SPUpgradeSiteCollectionJobDefinition Microsoft.SharePoint.Administration.SPUpgradeWorkItemJobDefinition Microsoft.SharePoint.Administration.SPUpgradeWorkItemJobDefinition Microsoft.SharePoint.Administration.SPUpgradeWorkItemJobDefinition Microsoft.SharePoint.Administration.SPUsageImportJobDefinition Microsoft.SharePoint.Administration.SPUsageProcessingJobDefinition Microsoft.SharePoint.Administration.SPWorkflowAutoCleanJobDefinition Microsoft.SharePoint.Administration.SPWorkflowAutoCleanJobDefinition Microsoft.SharePoint.Administration.SPWorkflowAutoCleanJobDefinition Microsoft.SharePoint.Administration.SPWorkflowFailOverJobDefinition Microsoft.SharePoint.Administration.SPWorkflowFailOverJobDefinition Microsoft.SharePoint.Administration.SPWorkflowFailOverJobDefinition Microsoft.SharePoint.Administration.SPWorkflowJobDefinition Microsoft.SharePoint.Diagnostics.SPDatabaseIOSqlDiagnosticsProvider Microsoft.SharePoint.Diagnostics.SPDatabaseServerDiagnosticsPerformanceCounterProvider Microsoft.SharePoint.Diagnostics.SPDiagnosticsBlockingQueryProvider Microsoft.SharePoint.Diagnostics.SPDiagnosticsEventLogProvider Microsoft.SharePoint.Diagnostics.SPDiagnosticsMetricsProvider Microsoft.SharePoint.Diagnostics.SPDiagnosticsSqlDmvProvider Microsoft.SharePoint.Diagnostics.SPDiagnosticsSqlMemoryProvider Microsoft.SharePoint.Diagnostics.SPDiagnosticsULSProvider Microsoft.SharePoint.Diagnostics.SPDiagnosticsXEventQueryDataProvider Microsoft.SharePoint.Diagnostics.SPIOIntensiveQueryDiagnosticProvider Microsoft.SharePoint.Diagnostics.SPSiteSizeDiagnosticProvider Microsoft.SharePoint.Diagnostics.SPSqlBlockingReportDiagnosticProvider Microsoft.SharePoint.Diagnostics.SPSqlDeadlockDiagnosticProvider Microsoft.SharePoint.Diagnostics.SPWebFrontEndDiagnosticsPerformanceCounterProvider Microsoft.SharePoint.Publishing.Administration.SPSitemapJobDefinition Microsoft.SharePoint.Publishing.Administration.SPSitemapJobDefinition Microsoft.SharePoint.Publishing.Administration.SPSitemapJobDefinition Microsoft.SharePoint.Publishing.Internal.ApprovalJobDefinition Microsoft.SharePoint.Publishing.Internal.ApprovalJobDefinition Microsoft.SharePoint.Publishing.Internal.ApprovalJobDefinition Microsoft.SharePoint.Publishing.Internal.CreateVariationHierarchiesJobDefinition Microsoft.SharePoint.Publishing.Internal.CreateVariationHierarchiesJobDefinition Microsoft.SharePoint.Publishing.Internal.CreateVariationHierarchiesJobDefinition Microsoft.SharePoint.Publishing.Internal.NotificationJobDefinition Microsoft.SharePoint.Publishing.Internal.NotificationJobDefinition Microsoft.SharePoint.Publishing.Internal.NotificationJobDefinition Microsoft.SharePoint.Publishing.Internal.PersistedNavigationTermSetSyncJobDefinition Microsoft.SharePoint.Publishing.Internal.PersistedNavigationTermSetSyncJobDefinition Microsoft.SharePoint.Publishing.Internal.PersistedNavigationTermSetSyncJobDefinition Microsoft.SharePoint.Publishing.Internal.PropagateListItemJob Microsoft.SharePoint.Publishing.Internal.PropagateListItemJob Microsoft.SharePoint.Publishing.Internal.PropagateListItemJob Microsoft.SharePoint.Publishing.Internal.PropogateVariationPageJobDefinition Microsoft.SharePoint.Publishing.Internal.PropogateVariationPageJobDefinition Microsoft.SharePoint.Publishing.Internal.PropogateVariationPageJobDefinition Microsoft.SharePoint.Publishing.Internal.SpawnSitesJobDefinition Microsoft.SharePoint.Publishing.Internal.SpawnSitesJobDefinition Microsoft.SharePoint.Publishing.Internal.SpawnSitesJobDefinition Microsoft.SharePoint.Publishing.Internal.UnpublishJobDefinition Microsoft.SharePoint.Publishing.Internal.UnpublishJobDefinition Microsoft.SharePoint.Publishing.Internal.UnpublishJobDefinition Microsoft.SharePoint.Publishing.SearchChangeLogGeneratorJobDefinition Microsoft.SharePoint.SPConnectedServiceApplicationAddressesRefreshJob Microsoft.SharePoint.Taxonomy.ContentTypeSync.Internal.HubTimerJobDefinition Microsoft.SharePoint.Taxonomy.ContentTypeSync.Internal.SubscriberTimerJobDefinition Microsoft.SharePoint.Taxonomy.ContentTypeSync.Internal.SubscriberTimerJobDefinition Microsoft.SharePoint.Taxonomy.ContentTypeSync.Internal.SubscriberTimerJobDefinition Microsoft.SharePoint.Taxonomy.HiddenListFullSyncJobDefinition Microsoft.SharePoint.Taxonomy.HiddenListFullSyncJobDefinition Microsoft.SharePoint.Taxonomy.HiddenListFullSyncJobDefinition Microsoft.SharePoint.Taxonomy.UpdateHiddenListJobDefinition Microsoft.SharePoint.Taxonomy.UpdateHiddenListJobDefinition Microsoft.SharePoint.Taxonomy.UpdateHiddenListJobDefinition Microsoft.SharePoint.Translation.TranslationExportTimerJobDefinition Microsoft.SharePoint.Translation.TranslationExportTimerJobDefinition Microsoft.SharePoint.Translation.TranslationExportTimerJobDefinition Microsoft.SharePoint.Translation.TranslationImportTimerJobDefinition Microsoft.SharePoint.Translation.TranslationImportTimerJobDefinition Microsoft.SharePoint.Translation.TranslationImportTimerJobDefinition Word Automation Services Timer Job
Thanks @brianlala What is weird is that there is an entry for Word Automation Services Timer Job, but the error says it found '0' instances.
Do you get something if you run: Get-SPTimerJob -Type "Word Automation Services Timer Job"???
FWIW - I can replicate your issue. Deploying the Word Automation Service App does create a new timer job with name Word Automation Services Timer Job, I do see it in the list when I do Get-SPTimerJob, but can't get to it by doing Get-SPTimerJob -Type "Word Automation Services Timer Job"
Get-SPTimerJob -Type "Word Automation Services Timer Job"
returns nothing. However,
Get-SPTimerJob | Where-object {$_.TypeName -eq "Word Automation Services Timer Job"} | FL
returns one timer job:
DisplayName : Word Automation Services Timer Job TypeName : Word Automation Services Timer Job Service : WordService WebApplication : Server : LockType : Job Schedule : every 15 minutes between 0 and 0 Title : Word Automation Services Timer Job Description : LastRunTime : 3/29/2018 2:45:00 PM Retry : False IsDisabled : False VerboseTracingEnabled : False HistoryEntries : {, , , ...} EnableBackup : False DiskSizeRequired : 0 CanSelectForBackup : False CanRenameOnRestore : False CanSelectForRestore : False Name : Word Automation Services Id : 0db8ae70-c3a0-4766-ac72-074d6673d949 Status : Online Parent : WordService Version : 12159 Properties : {} Farm : SPFarm Name=AutoSP2013_Config UpgradedPersistedProperties : {}
Details of the scenario you try and problem that is occurring:
Single-server SharePoint 2013 farm, recent CU, SQL server co-installed. Trying to extract config using the following command line:
& "C:\Program Files\WindowsPowerShell\Scripts\SharePointDSC.Reverse.ps1" -Mode Full -OutputFile C:\temp\SP-Farm.DSC.ps1 -Verbose
Getting the following error:
0 timer jobs found. Check input values or use the WebAppUrl parameter. At line:61 char:17
The DSC configuration that is using the resource:
n/a or not sure
Version of the Operating System and PowerShell the DSC Target Node is running:
Windows Server 2012 R2
Name : ConsoleHost Version : 5.0.10586.117 InstanceId : 47b9b456-d127-4d2e-9b8d-146d2f1d2b40 UI : System.Management.Automation.Internal.Host.InternalHostUserInterface CurrentCulture : en-US CurrentUICulture : en-US PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy DebuggerEnabled : True IsRunspacePushed : False Runspace : System.Management.Automation.Runspaces.LocalRunspace
Version of the DSC module you're using:
2.2.0.0