Skip to content

. #123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Sep 29, 2015
Merged

. #123

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
bf15555
BUG: 3539827 Create Powershell Commandlets for Insights Metrics
gucalder Mar 24, 2015
954a416
BUG: 3586662 Powershell - Usage cmdlets for retrieving usage across r…
gucalder Apr 13, 2015
3b3e9e8
FW: Merge upstream dev into dev
gucalder May 8, 2015
8149481
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Aug 11, 2015
d221ac0
Merge branch 'master' of https://github.com/Azure/azure-powershell in…
gucalder Sep 9, 2015
0998012
WORK: 4668261:[PowerShell][Events] Consolidating the existing cmdlets…
shimedh Sep 15, 2015
cbe0d3f
WORK: 4668268 [PowerShell][Events] Support number of events parameter
shimedh Sep 18, 2015
3523698
Merge pull request #1 from Azure/master
shimedh Sep 21, 2015
240c220
Merge branch 'dev'
shimedh Sep 21, 2015
1465ee9
Merge upstream dev branch 'dev' of https://github.com/Azure/azure-pow…
shimedh Sep 23, 2015
74fb78e
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Sep 24, 2015
5747444
Add location filter to Get-AzureRMResourceProvider and add location a…
Sep 23, 2015
b03ed2e
Stop using Json as error output
Sep 25, 2015
5f5257c
Add an option to skip MD5 computation and checking. Also disable MD5 …
iouri-s Sep 28, 2015
323368c
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
shimedh Sep 29, 2015
94971e8
Changing name of Get-AzureLog cmdlet to Get-AzureRmLog according to n…
shimedh Sep 29, 2015
916c16c
Fixed broken environment caused by v 0.9.8 uninstall
Sep 29, 2015
cb4e63b
Merge pull request #945 from AuxMon/dev
ogail Sep 29, 2015
ec3088c
Merge pull request #976 from chidmdxx/RMProviderLocation
stankovski Sep 29, 2015
9b32f01
Merge pull request #1005 from hovsepm/dev
Sep 29, 2015
8eaaa72
Merge pull request #983 from chidmdxx/ImproveErrorMessages
stankovski Sep 29, 2015
31d9ac0
Merge pull request #988 from iouri-s/dev
stankovski Sep 29, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion setup-powershellget/Setup/ShortcutStartup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,25 @@ Param(
[switch]$Install
)

function EnsureRegistryPath
{
$originalpaths = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PSModulePath).PSModulePath
if($originalpaths.Contains("$env:ProgramFiles\WindowsPowerShell\Modules") -eq $false)
{
Write-Output "Fixing PSModulePath"
$newPath = "$originalpaths;$env:ProgramFiles\WindowsPowerShell\Modules"
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PSModulePath –Value $newPath
}
else
{
Write-Output "PSModulePath successfuly validated"
}
}

$error.clear()
try {
if ($Install.IsPresent) {
EnsureRegistryPath
Write-Output @"

Finalizing installation of Azure PowerShell.
Expand Down Expand Up @@ -57,4 +73,5 @@ Write-Output "An error occured during installation."
Write-Output $error
Write-Output "Press any key..."
$host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,7 @@
<Compile Include="Autoscale\NewAutoscaleProfileCommandTests.cs" />
<Compile Include="Autoscale\NewAutoscaleRuleCommandTests.cs" />
<Compile Include="Autoscale\RemoveAutoscaleSettingCommandTests.cs" />
<Compile Include="Events\GetAzureCorrelationIdLogCommandTests.cs" />
<Compile Include="Events\GetAzureResourceLogCommandTests.cs" />
<Compile Include="Events\GetAzureResourceProviderLogCommandTests.cs" />
<Compile Include="Events\GetAzureSubscriptionIdLogCommandTests.cs" />
<Compile Include="Events\GetAzureResourceGroupLogCommandTests.cs" />
<Compile Include="Events\GetAzureRmLogCommandTests.cs" />
<Compile Include="Metrics\FormatMetricsAsTableCommandTests.cs" />
<Compile Include="Metrics\GetMetricDefinitionsCommandTests.cs" />
<Compile Include="Metrics\GetMetricsCommandTests.cs" />
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading