I feel as though I'm missing something stupid here. After watching the presentation on CH9 about this, and reading through the TechNet library (http://technet.microsoft.com/en-us/library/dn249912.aspx) something just isn't working.
Here is my configuration
Configuration SetupWorkstation
{
param ($ComputerName)
Node $ComputerName
{
Package ExchangeAPI
{
Ensure = "Present"
Path = "C:\Users\jspatton\Downloads\EwsManagedApi.msi"
Name = "Microsoft Exchange Web Services Managed API 2.0"
ProductId = "6EE9E2DF-2CD7-4952-A649-95DEA8697BD8"
}
Package GPMCScripts
{
Ensure = "Present"
Path = "G:\Downloads\Application Installs\MSI\GPMCSampleScripts.msi"
Name = "GPMC Scripts"
ProductId = "526AA506-D355-4D52-A6BF-B09D4A02AA8B"
}
}
}
SetupWorkstation -ComputerName 'it08082'
Start-DscConfiguration -Wait -Verbose -Path .\SetupWorkstationIf I go look in add/remove programs these apps are not listed anywhere, and yet if I run the config again I get
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/D esiredStateConfiguration'. VERBOSE: An LCM method call arrived from computer IT08082 with user sid S-1-5-21-57989841-1078081533-682003330-112607. VERBOSE: 'DSCEngine': Starting to process the Set request. VERBOSE: 'DSCEngine': Starting to process resource. '[Package]ExchangeAPI' VERBOSE: 'DSCEngine': Performing the test operation. '[Package]ExchangeAPI' VERBOSE: 'DSCEngine': [Package]ExchangeAPI: The Test operation took 0.4850 seconds. VERBOSE: 'DSCEngine': Skipping Set operation. '[Package]ExchangeAPI' VERBOSE: 'DSCEngine': The resource finished processing. '[Package]ExchangeAPI' VERBOSE: 'DSCEngine': Starting to process resource. '[Package]GPMCScripts' VERBOSE: 'DSCEngine': Performing the test operation. '[Package]GPMCScripts' VERBOSE: 'DSCEngine': [Package]GPMCScripts: The Test operation took 0.2500 seconds. VERBOSE: 'DSCEngine': Skipping Set operation. '[Package]GPMCScripts' VERBOSE: 'DSCEngine': The resource finished processing. '[Package]GPMCScripts' VERBOSE: 'DSCEngine': Set request completed. VERBOSE: DSCEngine: The total operation took 0.8440 seconds. VERBOSE: Operation 'Invoke CimMethod' complete. VERBOSE: Time taken for configuration job to complete is 0.891 seconds
There are no errors in the DSC log, and for what it's worth I only see two different event id's 4197 and 4102, can someone enlighten me as to how to get an app to install? also, had to do some powershell voodoo to get the productid, without that everytime I ran the config it kept processing thinking it was doing something.
Jeffrey S. Patton Jeffrey S. Patton Systems Specialist, Enterprise Systems University of Kansas 1001 Sunnyside Ave. Lawrence, KS. 66045 (785) 864-0242 | http://patton-tech.com