Computer_SetComputerDescriptionInWorkgroup_Config.ps1
<#PSScriptInfo .VERSION 1.0.0 .GUID 315d9349-c340-4c6d-970e-8e5d2bb5b12b .AUTHOR Microsoft Corporation .COMPANYNAME Microsoft Corporation .COPYRIGHT (c) Microsoft Corporation. All rights reserved. .TAGS DSCConfiguration .LICENSEURI https://github.com/PowerShell/ComputerManagementDsc/blob/master/LICENSE .PROJECTURI https://github.com/PowerShell/ComputerManagementDsc .ICONURI .EXTERNALMODULEDEPENDENCIES .REQUIREDSCRIPTS .EXTERNALSCRIPTDEPENDENCIES .RELEASENOTES First version. .PRIVATEDATA 2016-Datacenter,2016-Datacenter-Server-Core #> #Requires -module ComputerManagementDsc <# .DESCRIPTION This example will set the computer description. #> Configuration Computer_SetComputerDescriptionInWorkgroup_Config { Import-DscResource -Module ComputerManagementDsc Node localhost { Computer NewDescription { Name = 'localhost' Description = 'This is my computer.' } } } |