-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Thank you @alexandair for reporting this issue.On Linux bash cloudshell, we are seeing Windows\Azure\Powershell folder containing info for whether enable or disable datacollection. I am seeing a few issues:
- As AzureRM modules are supported on CoreCLR now, we install them on PowerShell core. Thus "Windows" word is not applicable on Linux. Suggestion: remove it.
- "Powershell": should be "PowerShell"?
- AzurePSDataCollectionProfile.json exists in different locations for different users on bash cloudshell and pwsh
From Alex: On bash cloudshell,
psconfeu@Azure:~$ dir
clouddrive Windows\Azure\Powershell
It also repros by Danny too. The file exists under Home for Linux and Modules folder for Windows (I guess).

On my cloudshell, Windows\Azure\Powershell gets created under .config.
Description
Script/Steps for Reproduction
- go to portal.azure.com portal
- click on cloudshell icon to launch cloudshell and select bash
- type pwsh
Module Version
Environment Data
PS Azure:\> $PSVersionTable
Name Value
---- -----
PSVersion 6.1.0-preview.1
PSEdition Core
GitCommitId v6.1.0-preview.1
OS Linux 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Debug Output
It looks like `Windows Azure Powershell is defined in here
azure-powershell/src/Common/Commands.Common.Authentication/Properties/Resources.resx
Line 124 in 8b467df
| <value>Windows Azure Powershell</value> |
azure-powershell/src/Common/Commands.Common.Authentication/Properties/Resources.resx
Line 124 in 8b467df
| <value>Windows Azure Powershell</value> |
This place is for errors logging:
| public static string ProfileDirectory = Path.Combine( |

