Windows-powershell / PowerShell-master /test /powershell /dsc /psprofile_currentuser_allhosts.dsc.yaml
| # Set PowerShell profile content | |
| $schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json | |
| resources: | |
| - name: PSProfile | |
| type: Microsoft.PowerShell/Profile | |
| properties: | |
| profileType: CurrentUserAllHosts | |
| content: "Write-Host 'Welcome to your PowerShell profile - CurrentUserAllHosts!'" | |
| _exist: true | |