{"action":"opened","issue":{"url":"https://api.github.com/repos/PowerShell/xActiveDirectory/issues/10","labels_url":"https://api.github.com/repos/PowerShell/xActiveDirectory/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/xActiveDirectory/issues/10/comments","events_url":"https://api.github.com/repos/PowerShell/xActiveDirectory/issues/10/events","html_url":"https://github.com/PowerShell/xActiveDirectory/issues/10","id":70952308,"number":10,"title":"ADPS_LoadDefaultDrive","user":{"login":"enu235","id":7398338,"avatar_url":"https://avatars.githubusercontent.com/u/7398338?v=3","gravatar_id":"","url":"https://api.github.com/users/enu235","html_url":"https://github.com/enu235","followers_url":"https://api.github.com/users/enu235/followers","following_url":"https://api.github.com/users/enu235/following{/other_user}","gists_url":"https://api.github.com/users/enu235/gists{/gist_id}","starred_url":"https://api.github.com/users/enu235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enu235/subscriptions","organizations_url":"https://api.github.com/users/enu235/orgs","repos_url":"https://api.github.com/users/enu235/repos","events_url":"https://api.github.com/users/enu235/events{/privacy}","received_events_url":"https://api.github.com/users/enu235/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-25T18:51:53Z","updated_at":"2015-04-25T18:51:53Z","closed_at":null,"body":"On the resources that may not directly run on a domain controller, it may speed things up to test for ADPS_LoadDefaultDrive before running any ActiveDirectory module commands. If it is something that is done, the environment variable would need to be reset to its previous value before exiting the function. Any resource that would want to take advantage of the AD provider could load one directly or confirm the environment variable set to 1 before importing the module.\r\n\r\nADPS_LoadDefaultDrive\r\n0 - the AD: PSDrive will NOT be created\r\n1 - the AD: PSDrive WILL be created\r\nNull - (the environment variable does not exist) it will be assumed 1 and WILL be created"}}