{"action":"opened","issue":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/3833","repository_url":"https://api.github.com/repos/PowerShell/PowerShell","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/3833/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/3833/comments","events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/3833/events","html_url":"https://github.com/PowerShell/PowerShell/issues/3833","id":230170845,"number":3833,"title":"Set-Culture should support setting the current session's culture also / optionally only","user":{"login":"mklement0","id":588825,"avatar_url":"https://avatars1.githubusercontent.com/u/588825?v=3","gravatar_id":"","url":"https://api.github.com/users/mklement0","html_url":"https://github.com/mklement0","followers_url":"https://api.github.com/users/mklement0/followers","following_url":"https://api.github.com/users/mklement0/following{/other_user}","gists_url":"https://api.github.com/users/mklement0/gists{/gist_id}","starred_url":"https://api.github.com/users/mklement0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mklement0/subscriptions","organizations_url":"https://api.github.com/users/mklement0/orgs","repos_url":"https://api.github.com/users/mklement0/repos","events_url":"https://api.github.com/users/mklement0/events{/privacy}","received_events_url":"https://api.github.com/users/mklement0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-20T18:27:15Z","updated_at":"2017-05-20T18:27:15Z","closed_at":null,"body":"Note: As of v6-beta.1, `Set-Culture` isn't part of PowerShell Core yet, but I'm assuming it will be at some point (if technically feasible).\r\n\r\n`Set-Culture` currently _only_ changes the current user account's culture _persistently_, _for future sessions_.\r\n\r\nEspecially given that `Get-Culture` already reflects _in-session changes_ of the culture (though it's not entirely clear at this point whether that's the intent - see #3831 ), it would be helpful to additionally support  _also_ / _only_ setting the _current session's_ culture.\r\n\r\nNote that even without changes the [current help topic](https://technet.microsoft.com/en-us/library/hh852137.aspx) deserves updating to make it clear that the _current_ session is not affected by the call.\r\n\r\nPerhaps an optional  `-Scope` parameter that supports the following values could be introduced:\r\n\r\n* `CurrentUser` ... (persistently) set culture for the current user account for future sessions only\r\n* `Session` ... (transiently) set culture for the current session only\r\n* `CurrentUserAndSession` ... (persistently) current user account + current session.\r\n\r\nFor backward compatibility, `CurrentUser` would have to be the default.\r\n\r\nEnvironment data\r\n----------------\r\n\r\n```powershell\r\nPowerShell Core v6.0.0-beta (v6.0.0-beta.1)\r\n```\r\n"}}
{"actor":{"display_login":"mklement0"}}