WindowsCapability: Specified Windows Capability not found
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- powershell
- Domínio
- operating-systems
Direção de pesquisa
Comece reproduzindo winget configure test configuration.yaml com o YAML de WindowsCapability fornecido nas versões do Windows 11 e do PowerShell informadas. Inspecione o comportamento do recurso WindowsCapability, o exemplo da wiki e a versão do ComputerManagementDsc usada pelo winget; em seguida, verifique por que o nome da capability é rejeitado e por que nenhum log é criado. O trabalho estará concluído quando a configuração compatível funcionar com o exemplo documentado ou quando a incompatibilidade e a correção necessária estiverem documentadas.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Problem description
When trying to run winget configure test configuration.yaml (contents of the yaml file below) using the WindowsCapability resource, I get an error:
The configuration unit failed while attempting to test the current system state.
Specified Windows Capability 'OpenSSH.Server~~~~0.0.1.0' not found. (Parameter 'Name')
<See the log file for additional details>
Some of the configuration units failed while testing their state.
I've tried it with both OpenSSH.Server and OpenSSH.Client as specified in the wiki example but I had no luck, the log file is not created either
Verbose logs
No logs were created
DSC configuration
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
properties:
configurationVersion: "0.2.0"
resources:
- resource: ComputerManagementDsc/WindowsCapability
settings:
Name: OpenSSH.Server~~~~0.0.1.0
LogPath: C:\Temp\Logfile.log
Suggested solution
Not sure what is the fix
Operating system the target node is running
OsName : Microsoft Windows 11 Home
OsOperatingSystemSKU : WindowsHome
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 26100.1.amd64fre.ge_release.240331-1435
OsLanguage : en-US
OsMuiLanguages : {en-US, en-GB, ja-JP, ko-KR…}
PowerShell version and build the target node is running
Name Value
---- -----
PSVersion 7.5.2
PSEdition Core
GitCommitId 7.5.2
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
ComputerManagementDsc version
Unsure, ran using winget
- Linguagem predominante
- PowerShell
- Estrelas
- 339
- Forks
- 80
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de dsccommunity/ComputerManagementDsc
-
chore
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
chore
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 68/100
-
chore: Add Agentic AI development assets for GitHub CopilotTalvez já em andamento @PlagueHO assumiu há 130 dias. Abertachore
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 64/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 55/100
-
Computer: AD object deletion before domain join issueTalvez já em andamento @Daymarvi assumiu há 132 dias. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
Todas as issues de dsccommunity/ComputerManagementDsc
Issues semelhantes
-
area-System.IO bug untriaged
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
dotnet/runtime#136599 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
OS-Simulator-Organization/os-simulator-project#63 ·
Mantenedores costumam responder em até 1 dia
-
Windows CLI: get_ps_title() passes bytes to GetConsoleTitleW() instead of characters, overflowing the 260-wchar_t bufferTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
ophub/amlogic-s9xxx-armbian#3752 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia