Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSManListener: Not returning all the properties in Get-TargetResource #21

Closed
johlju opened this issue Jul 24, 2018 · 0 comments · Fixed by #22
Closed

WSManListener: Not returning all the properties in Get-TargetResource #21

johlju opened this issue Jul 24, 2018 · 0 comments · Fixed by #22
Labels
bug The issue is a bug. good first issue The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub help wanted The issue is up for grabs for anyone in the community.

Comments

@johlju
Copy link
Member

johlju commented Jul 24, 2018

Details of the scenario you tried and the problem that is occurring:
Looking at the resource WSManListener and the Get-TargetResource it doesn't return all the properties that are in the schema.mof.

https://github.com/PlagueHO/WSManDsc/blob/1fa63e590299af76a7a38e24dd5de3daae2707ae/Modules/WSManDsc/DSCResources/DSR_WSManListener/DSR_WSManListener.psm1#L65-L73

Also when the listener is absent, only one property is returned, and not the rest.

https://github.com/PlagueHO/WSManDsc/blob/1fa63e590299af76a7a38e24dd5de3daae2707ae/Modules/WSManDsc/DSCResources/DSR_WSManListener/DSR_WSManListener.psm1#L84-L86

The DSC configuration that is using the resource (as detailed as possible):
n/a

Version of the Operating System and PowerShell the DSC Target Node is running:
n/a

Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev

@PlagueHO PlagueHO added bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community. good first issue The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub labels Jul 24, 2018
PlagueHO added a commit that referenced this issue Jul 27, 2018
Ensure all MOF parameters are returned in WSManListener - Fixes #21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. good first issue The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants