Users Guide

only a medium to author and enact the configuration onto nodes. The Local Configuration Manager (LCM) agent on the target
nodes, ensures that systems are configured according to the configuration declaration. In Pull mode, the server is defined as a Pull
Server. The Pull Server has web services running which initiates a handshake between the server and the client systems. The server
contains the MOF at a standard location, and whenever there is a change in the checksum associated with the MOF file, the client
machine(s) pulls the configuration from the server and enforces it on the client systems. In Pull mode the LCM of the client
system(s) is set to Pull mode. These settings of the LCM are called meta – configuration.
Desired State Configuration Logs can be viewed using Windows Event Viewer. Configuration drifts on Dell client systems are
recorded in this event log at Applications and Service Logs -> DellClientBIOS PowerShell.
To check the syntax and properties accepted by a Dell Command | PowerShell Provider DSC resource, run the cmdlet in the
following format:
Get-DSCResource <DSC resource name> -syntax
Folder structure— The install module has the following folder structure:
$env: psmodulepath (folder)
|- DellBIOSProvider (folder)
|- < DellBIOSProvider.psd1> (file, required)
|- DSCResources (folder)
|- DCPP_POSTBehavior (folder)
|- DCPP_PowerManagement (folder)
...
Sample scripts
This section provides some exemplary sample scripts that depict the typical usage of Desired State Configuration using the
functionality of Dell Command | PowerShell Provider for enforcing BIOS settings of the supported attributes. The scripts authored
for Desired State Configuration should be saved in .ps1 format.
NOTE:
Category property is mandatory field for each resource.
BlockDefinition is a mandatory property only for the Powermanagement category. BlockDefinition must be unique for each
resource block in the Powermanagement category.
Enforcing simple configuration for category POSTBehavior
Enforcing ‘Keypad’ attribute as ‘EnabledByNumlock’ on Node ’200.200.200.2’
Configuration POSTBehaviorConfiguration
{
Import-DscResource -ModuleName DellBIOSProvider
Node 200.200.200.2 {
POSTBehavior POSTBehaviorSettings #resource name
{
Category = "POSTBehavior"
Keypad = "EnabledByNumlock"
}
}
}
Configuring AdvancedBatteryChargeConfiguration in category Powermanagement
Configuration PowerManagementConfiguration
{
Import-DscResource -ModuleName DellBIOSProvider
Node 200.200.200.2 {
PowerManagement PowerManagementSettingsTuesday #resource name
{
Category = "PowerManagement"
BlockDefinition="1"
AdvancedBatteryChargeConfiguration = "Tuesday"
BeginningOfDay = "10:30"
WorkPeriod = "15:45"
26