Hi Fellas,
While trying to use the Set-CMClientSetting cmdlet, I am getting the Error "Could not find the ConfigMgr UI installation directory".
Any idea why this is happening ? below is the whole code .......btw it doesn't set the $Error variable so used try {} Catch {} to get the detailed error.
PS DEX:\>New-CMClientSetting -Name "Custom Client Device Settings" -Type Device # above one does create the require client setting #but when I try to customize it PS DEX:\> try { Set-CMClientSetting -Name "Custom Client Device Settings" -PolicyPollingInterval 5 -EnableUserPolicyPo lling $true -EnableUserPolicyOnInternet $false } catch { $_ | fl * -Force } PSMessageDetails : Exception : System.NotSupportedException: Could not find the ConfigMgr UI installation directory at Microsoft.ConfigurationManagement.AdminConsole.Common.UtilityClass.ReadSmsRootBinDirectory() at Microsoft.ConfigurationManagement.Cmdlets.ClientSettings.Commands.GetClientSettingCommand .LoadClientSettings(DialogType dialogType) at Microsoft.ConfigurationManagement.Cmdlets.ClientSettings.Commands.SetClientSettingCommand .SetIndividualClientSettingsProperties(IResultObject resultObject) at Microsoft.ConfigurationManagement.Cmdlets.ClientSettings.Commands.SetClientSettingCommand .ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() TargetObject : CategoryInfo : NotSpecified: (:) [Set-CMClientSetting], NotSupportedException FullyQualifiedErrorId : System.NotSupportedException,Microsoft.ConfigurationManagement.Cmdlets.ClientSettings.Commands. SetClientSettingCommand ErrorDetails : InvocationInfo : System.Management.Automation.InvocationInfo ScriptStackTrace : at <ScriptBlock>, <No file>: line 1 PipelineIterationInfo : {}
Just wondering is this the Right way to set the Client Settings ? As per the help it should be working. Tried few web searches but nothing
Using SCCM 2012 R2 Preview.
Thanks for your valuable time in ad