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
A new composite ressource to configure the system page file via ComputerManagementDsc\VirtualMemory.
Configure one or more page files for a system.
I've tried do build one myself, but the build fails with:
[-] Composite resource folder count matches composite resource count 49ms
Expected 125, but got 115.
114: $compositeResouces.Count | Should -Be $compositeResouceFolders.Count
at , C:\Users\HannapCh\Repository\CommonTasks\tests\Unit\DSCResources\DscResources.Tests.ps1: line 114
and when used inside the DSCWorkshop Framework it does not recognise the Composite when building the Mof File.
"The term 'VirtualMemoryFiles' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
Is there an example guide how to add new ones?
Proposed properties
Property
Type qualifier
Data type
Description
Default value
Allowed values
PropertyName
Key
String
Detailed description
None
None
Special considerations or limitations
What i've tried:
Create a folder VirtualMemoryFiles at /source/DSCRessources/
I skimmed the code and it looks good to me. If the new configuration does not appear as a valid DSC resource, it is usually due to syntax issues in or inconsistent naming.
If it still doesn't work, can you create a PR so I can run through your code more thoroughly, please?
Resource proposal
A new composite ressource to configure the system page file via
ComputerManagementDsc\VirtualMemory
.Configure one or more page files for a system.
I've tried do build one myself, but the build fails with:
and when used inside the DSCWorkshop Framework it does not recognise the Composite when building the Mof File.
Is there an example guide how to add new ones?
Proposed properties
Special considerations or limitations
What i've tried:
VirtualMemoryFiles
at/source/DSCRessources/
\source\DSCRessources\VirtualMemoryFiles.schema.psm1
\source\DSCRessources\VirtualMemoryFiles.psd1
tests\Unit\DSCResources\Assets\Config\VirtualMemoryFiles.yml
VirtualMemoryFiles.schema.psm1 contents:
VirtualMemoryFiles.psd1 contents:
VirtualMemoryFiles.yml contents:
The text was updated successfully, but these errors were encountered: