RunCommandOnSet.yml (458B)
1 $schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/08/config/document.json 2 metadata: 3 winget: 4 processor: dscv3 5 resources: 6 - name: Test RunCommandOnSet 7 type: Microsoft.DSC.Transitional/RunCommandOnSet 8 properties: 9 executable: pwsh 10 arguments: 11 - -NoProfile 12 - -NoLogo 13 - -Command 14 - | 15 Set-Content -Path <PathToBeReplaced>\TestFile.txt -Value 'TestContent'