Resource Type: dsc_xcomputer

Defined in:
lib/puppet/type/dsc_xcomputer.rb
Providers:
powershell

Overview

The DSC xComputer resource type. Automatically generated from ‘xComputerManagement/DSCResources/MSFT_xComputer/MSFT_xComputer.schema.mof’

To learn more about PowerShell Desired State Configuration, please visit technet.microsoft.com/en-us/library/dn249912.aspx.

For more information about built-in DSC Resources, please visit technet.microsoft.com/en-us/library/dn249921.aspx.

For more information about xDsc Resources, please visit github.com/PowerShell/DscResources.

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • exists?
    • present

Parameters

  • dsc_credential

    Credential - Credential to be used to join a domain.

  • dsc_currentou

    CurrentOU - A read-only property that specifies the organizational unit that the computer account is currently in.

  • dsc_description

    Description - The value assigned here will be set as the local computer description.

  • dsc_domainname

    DomainName - The name of the domain to join.

  • dsc_joinou

    JoinOU - The distinguished name of the organizational unit that the computer account will be created in.

  • dsc_name

    Name - The desired computer name.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_unjoincredential

    UnjoinCredential - Credential to be used to leave a domain.

  • dsc_workgroupname

    WorkGroupName - The name of the workgroup.

  • name (namevar)
  • provider

    The specific backend to use for this ‘dsc_xcomputer` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.