{"action":"closed","issue":{"url":"https://api.github.com/repos/vmware/PowerCLI-Example-Scripts/issues/186","repository_url":"https://api.github.com/repos/vmware/PowerCLI-Example-Scripts","labels_url":"https://api.github.com/repos/vmware/PowerCLI-Example-Scripts/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/vmware/PowerCLI-Example-Scripts/issues/186/comments","events_url":"https://api.github.com/repos/vmware/PowerCLI-Example-Scripts/issues/186/events","html_url":"https://github.com/vmware/PowerCLI-Example-Scripts/issues/186","id":312927976,"number":186,"title":"Set-AdvancedSetting failure","user":{"login":"ericcsinger","id":16365517,"avatar_url":"https://avatars3.githubusercontent.com/u/16365517?v=4","gravatar_id":"","url":"https://api.github.com/users/ericcsinger","html_url":"https://github.com/ericcsinger","followers_url":"https://api.github.com/users/ericcsinger/followers","following_url":"https://api.github.com/users/ericcsinger/following{/other_user}","gists_url":"https://api.github.com/users/ericcsinger/gists{/gist_id}","starred_url":"https://api.github.com/users/ericcsinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericcsinger/subscriptions","organizations_url":"https://api.github.com/users/ericcsinger/orgs","repos_url":"https://api.github.com/users/ericcsinger/repos","events_url":"https://api.github.com/users/ericcsinger/events{/privacy}","received_events_url":"https://api.github.com/users/ericcsinger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-10T13:42:08Z","updated_at":"2018-04-10T18:20:33Z","closed_at":"2018-04-10T18:20:33Z","author_association":"NONE","body":"I'm seeing the following error when attempting to set an advanced setting.  This is on ESXi 6.5u1.\r\n\r\n> A specified parameter was not correct:. Operation failed, diagnostics report: /etc/vmware/esx.conf: read failed: esx.conf parser\r\n> -- 7, 44): forward slash expected\r\n> FullyQualifiedErrorId : Client20_SystemManagementServiceImpl_GetVmHostAdvancedConfiguration_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.SetAdvancedSetting\r\n\r\nI'm specifically seeing this on the following advanced settings:\r\n\r\n- UserVars.ESXiShellInteractiveTimeOut\r\n- UserVars.ESXiShellTimeOut\r\n- Net.BlockGuestBPDU\r\n- \r\n\r\nDoesn't seem to matter if i format the change value as a string or int.\r\n\r\nThe code i'm running is pretty simple:\r\n`$VMhost | Get-AdvancedSetting -Name $AdvancedSetting | Set-AdvancedSetting -Value $AdvancedSettingDesiredValue -Confirm:$false | Out-Null\r\n`\r\nThe \"$AdvancedSettingDesiredValue\" data is pulled from the ESXi hardening guide that I converted to a CSV.  "}}
{"actor":{"display_login":"ericcsinger"}}