{"id":19954037,"url":"https://github.com/mkht/audiovolumedsc","last_synced_at":"2026-05-13T03:36:40.441Z","repository":{"id":57094838,"uuid":"319697476","full_name":"mkht/AudioVolumeDsc","owner":"mkht","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-20T14:55:24.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T06:40:43.787Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/mkht.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}},"created_at":"2020-12-08T16:32:43.000Z","updated_at":"2022-08-20T14:55:00.000Z","dependencies_parsed_at":"2022-08-20T17:30:24.603Z","dependency_job_id":null,"html_url":"https://github.com/mkht/AudioVolumeDsc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FAudioVolumeDsc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FAudioVolumeDsc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FAudioVolumeDsc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FAudioVolumeDsc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkht","download_url":"https://codeload.github.com/mkht/AudioVolumeDsc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241382612,"owners_count":19953970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-13T01:18:39.611Z","updated_at":"2025-11-27T04:02:38.224Z","avatar_url":"https://github.com/mkht.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"AudioVolumeDsc\r\n====\r\n\r\nPowerShell DSC Resource to control audio volume.\r\n\r\n## Install\r\nYou can install Resource through [PowerShell Gallery](https://www.powershellgallery.com/packages/AudioVolumeDsc/).\r\n```PowerShell\r\nInstall-Module -Name AudioVolumeDsc\r\n```\r\n\r\n## Resources\r\n* **AudioVolume**\r\nPowerShell DSC Resource to control audio volume.\r\n\r\n## Properties\r\n### AudioVolume\r\n+ [string] **DeviceName** (Key):\r\n    + The name of the audio device.\r\n    + You can use regular expression.\r\n    + If more than one devices found, all devices are targeted for configuration.\r\n\r\n+ [int] **Volume** (Required):\r\n    + The target volume. (0 to 100)\r\n\r\n+ [bool] **Mute** (Write):\r\n    + The state of mute.\r\n    + Default is `$false`\r\n\r\n+ [bool] **SkipWhenDeviceNotPresent** (Write):\r\n    + When this property is specied as `$true`, this resouce won't throw an error if the device is not found.\r\n    + Default is `$false`\r\n\r\n## Examples\r\n+ **Example 1**: Set the volume of the \"Speaker\" to 80.\r\n```PowerShell\r\nConfiguration Example1\r\n{\r\n    Import-DscResource -ModuleName AudioVolumeDsc\r\n    AudioVolume Speaker80\r\n    {\r\n        DeviceName = 'Speaker'\r\n        Volume = 80\r\n        Mute = $false\r\n    }\r\n}\r\n```\r\n\r\n## License\r\n\u003e Copyright (c) 2020 mkht  \r\n\u003e AudioVolumeDsc is released under the MIT License  \r\n\u003e https://github.com/mkht/AudioVolumeDsc/blob/master/LICENSE\r\n\u003e\r\n\u003e AudioVolumeDsc includes these software / libraries.\r\n\u003e * [CoreAudio](https://github.com/morphx666/CoreAudio)  \r\n\u003e Copyright (c) 2017 Xavier Flix  \r\n\u003e Licensed under the [MIT License](https://github.com/morphx666/CoreAudio/blob/master/LICENSE).\r\n\r\n## ChangeLog\r\n### v2.0.0\r\n - if multiple devices with the same name are found, all devices are targeted for configuration.\r\n - Devices in an inactive state are also targeted for configuration.\r\n - Update [CoreAudio.dll](https://www.nuget.org/packages/CoreAudio/1.16.0) (v1.16.0)\r\n\r\n### v1.0.0\r\n - First public release.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkht%2Faudiovolumedsc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkht%2Faudiovolumedsc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkht%2Faudiovolumedsc/lists"}