Examples/Resources/VirtualMemory/1-SetVirtualMemory.ps1
<#
.EXAMPLE Example script that sets the paging file to reside on drive C with the custom size 2048MB #> Configuration Example { param ( [Parameter()] [System.String[]] $NodeName = 'localhost' ) Import-DSCResource -ModuleName ComputerManagementDsc Node $NodeName { VirtualMemory PagingSettings { Type = 'CustomSize' Drive = 'C' InitialSize = '2048' MaximumSize = '2048' } } } |