You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.
Following on from PR #354, EmbeddedInstance("MSFT_Credential") MOF attributes output by Get-MofSchemaObject now have a DataType of Instance whereby previously they had a DataType of String.
Name Value
---- -----
State Write
DataType String
ValueMap
IsArray False
Name Credential
Description Specifies the user account credentials to use to perform the task.
EmbeddedInstance MSFT_Credential
Current EmbeddedInstance("MSFT_Credential") attribute properties:
Name Value
---- -----
Name Credential
ValueMap
Description Specifies the user account credentials to use to perform the task.
DataType Instance
State Write
IsArray False
EmbeddedInstance MSFT_Credential
This output is used by New-DscResourcePowerShelHelp to create PowerShell Help files and New-DscResourceWikiSite to create Wiki documentation pages.
Suggested solution to the issue
Neither Instance nor String is actually very useful. What would be better is for an EmbeddedInstance of MSFT_Credential to output PSCredential as the DataType, and for other EmbeddedInstance types, output the EmbeddedInstance value as the DataType?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Details of the problem, bug, or enhancement
Following on from PR #354,
EmbeddedInstance("MSFT_Credential")
MOF attributes output byGet-MofSchemaObject
now have a DataType ofInstance
whereby previously they had a DataType ofString
.Verbose logs showing the problem (if applicable)
Previous
EmbeddedInstance("MSFT_Credential")
attribute properties:Current
EmbeddedInstance("MSFT_Credential")
attribute properties:This output is used by
New-DscResourcePowerShelHelp
to create PowerShell Help files andNew-DscResourceWikiSite
to create Wiki documentation pages.Suggested solution to the issue
Neither
Instance
norString
is actually very useful. What would be better is for an EmbeddedInstance ofMSFT_Credential
to outputPSCredential
as the DataType, and for other EmbeddedInstance types, output the EmbeddedInstance value as the DataType?The text was updated successfully, but these errors were encountered: