Skip to content
Brian Wilhite edited this page May 29, 2019 · 11 revisions

Microsoft Office

A composite DSC resource to manage the Microsoft Office STIG settings

Requirements

None

Parameters

Parameter Attribute DataType Description Allowed Values
Office True String The version of the Office STIG to apply and monitor Excel2013, Office2013, PowerPoint2013, Word2013
StigVersion False Version The version of the Office STIG to apply and/or monitor 1.6, 1.7, 1.12
Exception False PSObject A hash table of StigId=Value key pairs that are injected into the STIG data and applied to the target node. The title of STIG setting is tagged with the text "Exception" to identify the exceptions to policy across the data center when you centralize DSC log collection.
OrgSettings False PSObject The path to the XML file that contains the local organizations preferred settings for STIG items that have allowable ranges.
SkipRule False PSObject The SkipRule Node is injected into the STIG data and applied to the target node. The title of STIG settings are tagged with the text 'Skip' to identify the skips to policy across the data center when you centralize DSC log collection.
SkipRuleType False PSObject All STIG rule IDs of the specified type are collected in an array and passed to the Skip-Rule function. Each rule follows the same process as the SkipRule parameter.

Examples

Apply the Office STIG to a node

<#
    In this example, the Outlook 2013 STIG V1R12 is processed by the Office composite resource.
#>

Configuration Office2013
{
    param
    (
        [parameter()]
        [string]
        $NodeName = 'localhost'
    )

    Import-DscResource -ModuleName PowerStig -ModuleVersion 2.1.0.0

    Node $NodeName
    {
        Office Outlook2013Settings
        {
            OfficeApp = 'Outlook2013'
            Stigversion    = '1.12'
        }
    }
}
Example
Clone this wiki locally