Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Script Fails on MacOSX under powershell core due to $env:TEMP

Open
#534 0 comments 2 reactions 1 assignee View on GitHub

@bganapa is already working on this.

Since Apr 10, 2020.

Assessment

This issue has not been assessed yet.

Description

Windows only variable has been referenced in Get-AzureRMCloudCapability.ps script breaking functionality with non Windows Operating systems.

Please consider using unified variable "[system.io.path]::GetTempPath()"

link here https://github.com/Azure/AzureStack-Tools/blob/master/CloudCapabilities/AzureRM.CloudCapabilities.psm1#L48

replace:
$rootPath = $env:TEMP
with:
$rootPath = [system.io.path]::GetTempPath()

would have issued a pull request myself to fix this but its greyed out?

Dominant language
PowerShell
Stars
260
Forks
283
Avg merge
2h 11m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/AzureStack-Tools

All issues in Azure/AzureStack-Tools

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.