jiabanl 发表于 2018-9-2 10:16:11

Powershell DSC 5.0 - 资源的使用

PS C:\Windows\system32> Get-DscResource  
ImplementedAs   Name                      ModuleName                     Version    Properties
  
-------------   ----                      ----------                     -------    ----------
  
Binary          File                                                                {DestinationPath, Attributes, Checksum, Content...
  
PowerShell      Archive                   PSDesiredStateConfiguration    1.1      {Destination, Path, Checksum, Credential...}
  
PowerShell      Environment               PSDesiredStateConfiguration    1.1      {Name, DependsOn, Ensure, Path...}
  
PowerShell      Group                     PSDesiredStateConfiguration    1.1      {GroupName, Credential, DependsOn, Description...}
  
Binary          Log                     PSDesiredStateConfiguration    1.1      {Message, DependsOn, PsDscRunAsCredential}
  
PowerShell      Package                   PSDesiredStateConfiguration    1.1      {Name, Path, ProductId, Arguments...}
  
PowerShell      Registry                  PSDesiredStateConfiguration    1.1      {Key, ValueName, DependsOn, Ensure...}
  
PowerShell      Script                  PSDesiredStateConfiguration    1.1      {GetScript, SetScript, TestScript, Credential...}
  
PowerShell      Service                   PSDesiredStateConfiguration    1.1      {Name, BuiltInAccount, Credential, Dependencies...
  
PowerShell      User                      PSDesiredStateConfiguration    1.1      {UserName, DependsOn, Description, Disabled...}
  
PowerShell      WaitForAll                PSDesiredStateConfiguration    1.1      {NodeName, ResourceName, DependsOn, PsDscRunAsC...
  
PowerShell      WaitForAny                PSDesiredStateConfiguration    1.1      {NodeName, ResourceName, DependsOn, PsDscRunAsC...
  
PowerShell      WaitForSome               PSDesiredStateConfiguration    1.1      {NodeCount, NodeName, ResourceName, DependsOn...}
  
PowerShell      WindowsFeature            PSDesiredStateConfiguration    1.1      {Name, Credential, DependsOn, Ensure...}
  
PowerShell      WindowsOptionalFeature    PSDesiredStateConfiguration    1.1      {Name, DependsOn, Ensure, LogLevel...}
  
PowerShell      WindowsProcess            PSDesiredStateConfiguration    1.1      {Arguments, Path, Credential, DependsOn...}
  
PowerShell      xArchive                  xPSDesiredStateConfiguration   3.5.0.0    {Destination, Path, CompressionLevel, DependsOn...
  
PowerShell      xDSCWebService            xPSDesiredStateConfiguration   3.5.0.0    {CertificateThumbPrint, EndpointName, AcceptSel...
  
PowerShell      xGroup                  xPSDesiredStateConfiguration   3.5.0.0    {GroupName, Credential, DependsOn, Description...}
  
PowerShell      xPackage                  xPSDesiredStateConfiguration   3.5.0.0    {Name, Path, ProductId, Arguments...}
  
PowerShell      xPSEndpoint               xPSDesiredStateConfiguration   3.5.0.0    {Name, AccessMode, DependsOn, Ensure...}
  
PowerShell      xRemoteFile               xPSDesiredStateConfiguration   3.5.0.0    {DestinationPath, Uri, Credential, DependsOn...}
  
PowerShell      xService                  xPSDesiredStateConfiguration   3.5.0.0    {Name, BuiltInAccount, Credential, Dependencies...
  
PowerShell      xWindowsOptionalFeature   xPSDesiredStateConfiguration   3.5.0.0    {Name, DependsOn, Ensure, LogLevel...}
  
PowerShell      xWindowsProcess         xPSDesiredStateConfiguration   3.5.0.0    {Arguments, Path, Credential, DependsOn...}


页: [1]
查看完整版本: Powershell DSC 5.0 - 资源的使用