{"id":21501015,"url":"https://github.com/tksh164/wsfc-generic-script-sample","last_synced_at":"2026-06-19T06:32:03.008Z","repository":{"id":106260253,"uuid":"160541704","full_name":"tksh164/wsfc-generic-script-sample","owner":"tksh164","description":"Sample script for generic script resource in Windows Server Failover Cluster","archived":false,"fork":false,"pushed_at":"2018-12-08T15:28:35.000Z","size":133,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-10T16:26:16.506Z","etag":null,"topics":["jscript","sample","windows-server","wsfc-cluster"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tksh164.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-12-05T15:49:29.000Z","updated_at":"2024-10-10T06:12:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"58611315-eec4-4464-a626-5a5890d73b21","html_url":"https://github.com/tksh164/wsfc-generic-script-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tksh164/wsfc-generic-script-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tksh164%2Fwsfc-generic-script-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tksh164%2Fwsfc-generic-script-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tksh164%2Fwsfc-generic-script-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tksh164%2Fwsfc-generic-script-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tksh164","download_url":"https://codeload.github.com/tksh164/wsfc-generic-script-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tksh164%2Fwsfc-generic-script-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34520431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jscript","sample","windows-server","wsfc-cluster"],"created_at":"2024-11-23T17:48:51.149Z","updated_at":"2026-06-19T06:32:03.004Z","avatar_url":"https://github.com/tksh164.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample script for generic script resource in Windows Server Failover Cluster\n\n## Wait time in Online call\n\nThe Online call handler in this script has the wait time capability. You can set the wait time in seconds via OnlineSleepSeconds resource parameter using regedit.exe.\n\n![OnlineSleepSeconds resource parameter](./images/regedit.png)\n\n## Cluster log\n\nThis script writes some logs into the cluster log.\n\n```\nINFO  [RES] Generic Script \u003cGenericScript Script\u003e: Script-wide code begins execution.\n\nINFO  [RES] Generic Script \u003cGenericScript Script\u003e: Entering Open function of [GenericScript Script (undefined)].\nINFO  [RES] Generic Script \u003cGenericScript Script\u003e: Added OnlineSleep property. The Value is 1.\n\nINFO  [RES] Generic Script \u003cGenericScript Script\u003e: Entering Close function of [GenericScript Script (undefined)].\n\nINFO  [RES] Generic Script \u003cGenericScript Script\u003e: Entering Online function of [GenericScript Script (S:\\GenericScript.js)].\n\nINFO  [RES] Generic Script \u003cGenericScript Script\u003e: Entering LooksAlive function of [GenericScript Script (S:\\GenericScript.js)].\n\nINFO  [RES] Generic Script \u003cGenericScript Script\u003e: Entering IsAlive function of [GenericScript Script (S:\\GenericScript.js)].\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftksh164%2Fwsfc-generic-script-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftksh164%2Fwsfc-generic-script-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftksh164%2Fwsfc-generic-script-sample/lists"}