René's URL Explorer Experiment


Title: Issues using ScheduledTask · Issue #7 · PowerShellOrg/StackExchangeResources · GitHub

Open Graph Title: Issues using ScheduledTask · Issue #7 · PowerShellOrg/StackExchangeResources

X Title: Issues using ScheduledTask · Issue #7 · PowerShellOrg/StackExchangeResources

Description: I'm trying to use DSC to create scheduled tasks. I run the code below and it appears successful and there are no issues in the event log, but a task is not created. Configuration Misc { param([PSCredential] $creds) Import-DscResource -Mo...

Open Graph Description: I'm trying to use DSC to create scheduled tasks. I run the code below and it appears successful and there are no issues in the event log, but a task is not created. Configuration Misc { param([PSCr...

X Description: I'm trying to use DSC to create scheduled tasks. I run the code below and it appears successful and there are no issues in the event log, but a task is not created. Configuration Misc { param([...

Opengraph URL: https://github.com/PowerShellOrg/StackExchangeResources/issues/7

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issues using ScheduledTask ","articleBody":"I'm trying to use DSC to create scheduled tasks.  I run the code below and it appears successful and there are no issues in the event log, but a task is not created.\n\n```\nConfiguration Misc\n{\n    param([PSCredential] $creds)\n\n    Import-DscResource -ModuleName  StackExchangeResources\n\n    Node localhost\n    {\n\n        ScheduledTask Test_Task\n        {\n            Ensure = \"Present\"\n            Name = \"Proto2\"\n            FilePath = \"D:\\DSCTest\\myapp.exe\"  \n            At = \"11:00\"\n            Credential = $creds\n            Daily = $true\n            #sint32 Hours; sint32 Minutes; boolean Once; int32 DaysInterval; string DaysOfWeek[]; boolean Weekly;   \n        }\n\n    }\n}\n\ncls\n\n\n$myCreds = New-Object System.Management.Automation.PSCredential(\"NT AUTHORITY\\NETWORK SERVICE\") \n\n#I've also tried supply my admin creds $myCreds = Get-Credential\n\nMisc($myCreds)  -OutputPath \"C:\\Admin\\TestingStuff\\PS\\DSC1\\Misc\"\n\nStart-DscConfiguration -Path \"C:\\Admin\\TestingStuff\\PS\\DSC1\\Misc\" -Wait -Verbose -Force -Debug \n```\n\nResults:\nVERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =\n root/Microsoft/Windows/DesiredStateConfiguration'.\nVERBOSE: An LCM method call arrived from computer USB-TGKCTEST with user sid S-1-5-21-2950772361-2964733660-914393307-1001.\nVERBOSE: [USB-TGKCTEST]: LCM:  [ Start  Set      ]\nVERBOSE: [USB-TGKCTEST]: LCM:  [ Start  Resource ]  [[ScheduledTask]Test_Task::[Misc]System.Management.Automation.PSCredential::[Misc]System.Management.Automation.PSCredential]\nVERBOSE: [USB-TGKCTEST]: LCM:  [ Start  Test     ]  [[ScheduledTask]Test_Task::[Misc]System.Management.Automation.PSCredential::[Misc]System.Management.Automation.PSCredential]\nVERBOSE: [USB-TGKCTEST]:                            [[ScheduledTask]Test_Task::[Misc]System.Management.Automation.PSCredential::[Misc]System.Management.Automation.PSCredential] \nUnable to find matching job.\nVERBOSE: [USB-TGKCTEST]: LCM:  [ End    Test     ]  [[ScheduledTask]Test_Task::[Misc]System.Management.Automation.PSCredential::[Misc]System.Management.Automation.PSCredential] \n in 0.5160 seconds.\nVERBOSE: [USB-TGKCTEST]: LCM:  [ Start  Set      ]  [[ScheduledTask]Test_Task::[Misc]System.Management.Automation.PSCredential::[Misc]System.Management.Automation.PSCredential]\nVERBOSE: [USB-TGKCTEST]: LCM:  [ End    Set      ]  [[ScheduledTask]Test_Task::[Misc]System.Management.Automation.PSCredential::[Misc]System.Management.Automation.PSCredential] \n in 0.9530 seconds.\nVERBOSE: [USB-TGKCTEST]: LCM:  [ End    Resource ]  [[ScheduledTask]Test_Task::[Misc]System.Management.Automation.PSCredential::[Misc]System.Management.Automation.PSCredential]\nVERBOSE: [USB-TGKCTEST]: LCM:  [ End    Set      ]    in  1.8358 seconds.\nVERBOSE: Operation 'Invoke CimMethod' complete.\nVERBOSE: Time taken for configuration job to complete is 2.025 seconds\n","author":{"url":"https://github.com/kevinsea","@type":"Person","name":"kevinsea"},"datePublished":"2015-05-31T17:54:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7/StackExchangeResources/issues/7"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0feb4020-e430-1e2b-acf5-3c1e73cc816a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE1C6:103280:19192:201EE:697BC54B
html-safe-nonce5060d6bccb702214e631ac78c33bb3153ff38eaa6982723edb12451c2844db2c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUM2OjEwMzI4MDoxOTE5MjoyMDFFRTo2OTdCQzU0QiIsInZpc2l0b3JfaWQiOiIxMjIxOTAxMzYxMjA5OTE4Nzk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd7270628227a413aebe6fb3f452089f4078ae095cb84636b50f3c4db3a8ce12e
hovercard-subject-tagissue:83146750
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShellOrg/StackExchangeResources/7/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7990429becceac27e408987b8e6db872a74935555cac2cc2470ed63c89dbdb73/PowerShellOrg/StackExchangeResources/issues/7
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7990429becceac27e408987b8e6db872a74935555cac2cc2470ed63c89dbdb73/PowerShellOrg/StackExchangeResources/issues/7
og:image:altI'm trying to use DSC to create scheduled tasks. I run the code below and it appears successful and there are no issues in the event log, but a task is not created. Configuration Misc { param([PSCr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekevinsea
hostnamegithub.com
expected-hostnamegithub.com
None300bc1c13c6b7e78c073c9264c722c624187bbdfc3b25a5b021396c805f56978
turbo-cache-controlno-preview
go-importgithub.com/PowerShellOrg/StackExchangeResources git https://github.com/PowerShellOrg/StackExchangeResources.git
octolytics-dimension-user_id4895314
octolytics-dimension-user_loginPowerShellOrg
octolytics-dimension-repository_id25050284
octolytics-dimension-repository_nwoPowerShellOrg/StackExchangeResources
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id25050284
octolytics-dimension-repository_network_root_nwoPowerShellOrg/StackExchangeResources
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef571aa04a5e12a930e3b781f4b1c4b4408e5ba61
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/issues/7#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShellOrg%2FStackExchangeResources%2Fissues%2F7
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShellOrg%2FStackExchangeResources%2Fissues%2F7
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShellOrg%2FStackExchangeResources
Reloadhttps://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/issues/7
Reloadhttps://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/issues/7
Reloadhttps://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/issues/7
PowerShellOrg https://patch-diff.githubusercontent.com/PowerShellOrg
StackExchangeResourceshttps://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FPowerShellOrg%2FStackExchangeResources
Fork 8 https://patch-diff.githubusercontent.com/login?return_to=%2FPowerShellOrg%2FStackExchangeResources
Star 13 https://patch-diff.githubusercontent.com/login?return_to=%2FPowerShellOrg%2FStackExchangeResources
Code https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources
Issues 2 https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/issues
Pull requests 4 https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/pulls
Actions https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/actions
Projects 0 https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/projects
Wiki https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/wiki
Security 0 https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/security
Insights https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/pulse
Code https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources
Issues https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/issues
Pull requests https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/pulls
Actions https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/actions
Projects https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/projects
Wiki https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/wiki
Security https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/security
Insights https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/pulse
Issues using ScheduledTask https://patch-diff.githubusercontent.com/PowerShellOrg/StackExchangeResources/issues/7#top
https://github.com/kevinsea
https://github.com/kevinsea
kevinseahttps://github.com/kevinsea
on May 31, 2015https://github.com/PowerShellOrg/StackExchangeResources/issues/7#issue-83146750
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.