source
stringclasses
1 value
repo
stringclasses
33 values
repo_url
stringclasses
33 values
path
stringlengths
7
179
language
stringclasses
1 value
license
stringclasses
4 values
stars
int64
2.27k
53.4k
ref
stringclasses
4 values
size_bytes
int64
48
259k
text
stringlengths
48
259k
github
actions/runner-images
https://github.com/actions/runner-images
images/windows/scripts/docs-gen/SoftwareReport.Helpers.psm1
PowerShell
mit
12,693
main
710
function Get-LinkTarget { param ( [string] $inputPath ) $link = Get-Item $inputPath | Select-Object -ExpandProperty Target if ($link) { return " -> $link" } return "" } function Get-PathWithLink { param ( [string] $inputPath ) $link = Get-LinkTarget($inputPath)...
github
actions/runner-images
https://github.com/actions/runner-images
images/windows/scripts/docs-gen/SoftwareReport.Tools.psm1
PowerShell
mit
12,693
main
10,359
function Get-Aria2Version { (aria2c -v | Out-String) -match "(?<version>(\d+\.){1,}\d+)" | Out-Null $aria2Version = $Matches.Version return $aria2Version } function Get-AzCosmosDBEmulatorVersion { $regKey = gci HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* | gp | ? { $_.DisplayName -eq 'A...
github
actions/runner-images
https://github.com/actions/runner-images
images/windows/scripts/docs-gen/SoftwareReport.WebServers.psm1
PowerShell
mit
12,693
main
1,684
function Get-ApachePath { return Join-Path "C:\tools\" (Get-Item C:\tools\apache*).Name } function Get-NginxPath { return Join-Path "C:\tools\" (Get-Item C:\tools\nginx*).Name } function Get-ApacheVersion { $apacheBinPath = Join-Path (Get-ApachePath) "\bin\httpd" (. $apacheBinPath -V | Select-String -...
github
actions/runner-images
https://github.com/actions/runner-images
images/windows/scripts/docs-gen/Generate-SoftwareReport.ps1
PowerShell
mit
12,693
main
11,185
using module ./software-report-base/SoftwareReport.psm1 using module ./software-report-base/SoftwareReport.Nodes.psm1 $global:ErrorActionPreference = "Stop" $global:ProgressPreference = "SilentlyContinue" $ErrorView = "NormalView" Set-StrictMode -Version Latest Import-Module (Join-Path $PSScriptRoot "SoftwareReport.A...
github
actions/runner-images
https://github.com/actions/runner-images
images/windows/scripts/docs-gen/SoftwareReport.Java.psm1
PowerShell
mit
12,693
main
1,008
function Get-JavaVersions { $defaultJavaPath = $env:JAVA_HOME if (Test-IsArm64) { $javaVersions = Get-Item env:JAVA_HOME_*_AARCH64 } else { $javaVersions = Get-Item env:JAVA_HOME_*_X64 } $sortRules = @{ Expression = { [Int32] $_.Name.Split("_")[2] } Descending = $fa...
github
actions/runner-images
https://github.com/actions/runner-images
images/windows/scripts/docs-gen/SoftwareReport.Browsers.psm1
PowerShell
mit
12,693
main
2,806
$browsers = @{ chrome = @{ Name="Google Chrome"; File="chrome.exe" }; edge = @{ Name="Microsoft Edge"; File="msedge.exe" }; firefox = @{ Name="Mozilla Firefox"; File="firefox.exe" } } $webDrivers = @{ chrome = @{ Name="Chrome Driver"; ...
github
actions/runner-images
https://github.com/actions/runner-images
images/windows/scripts/docs-gen/SoftwareReport.VisualStudio.psm1
PowerShell
mit
12,693
main
2,498
function Get-VisualStudioVersion { $vsInstance = Get-VisualStudioInstance [PSCustomObject]@{ Name = $vsInstance.DisplayName Version = $vsInstance.InstallationVersion Path = $vsInstance.InstallationPath } } function Get-SDKVersion { $regKey = "HKLM:\Software\Wow6432Node\Microsoft...
github
actions/runner-images
https://github.com/actions/runner-images
images/windows/scripts/docs-gen/SoftwareReport.Databases.psm1
PowerShell
mit
12,693
main
1,392
function Get-PostgreSQLTable { $pgService = Get-CimInstance Win32_Service -Filter "Name LIKE 'postgresql-%'" $pgPath = $pgService.PathName $pgRoot = $pgPath.split('"')[1].replace("\bin\pg_ctl.exe", "") $env:Path += ";${env:PGBIN}" $pgVersion = (postgres --version).split()[2].Trim() return @( ...
github
actions/runner-images
https://github.com/actions/runner-images
images/windows/scripts/docs-gen/SoftwareReport.Android.psm1
PowerShell
mit
12,693
main
5,655
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Helpers.psm1") -DisableNameChecking function Split-TableRowByColumns { param( [string] $Row ) return $Row.Split("|") | ForEach-Object { $_.trim() } } function Build-AndroidTable { $packageInfo = Get-AndroidInstalledPackages return @( ...
github
actions/runner-images
https://github.com/actions/runner-images
images/windows/scripts/docs-gen/SoftwareReport.CachedTools.psm1
PowerShell
mit
12,693
main
1,835
function Get-ToolcacheGoVersions { $toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "Go" return Get-ChildItem $toolcachePath -Name | Sort-Object { [Version] $_ } } function Get-ToolcacheNodeVersions { $toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "Node" return Get-ChildItem $toolcachePath -N...
github
actions/runner-images
https://github.com/actions/runner-images
images/windows/scripts/docs-gen/SoftwareReport.Common.psm1
PowerShell
mit
12,693
main
8,773
function Initialize-RustEnvironment { $env:RUSTUP_HOME = "C:\Users\Default\.rustup" $env:CARGO_HOME = "C:\Users\Default\.cargo" $env:Path += ";$env:CARGO_HOME\bin" } function Get-OSName { return (Get-CimInstance -ClassName Win32_OperatingSystem).Caption | Get-StringPart -Part 1,2,3 } function Get-OSVe...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/build/Install-Toolset.ps1
PowerShell
mit
12,693
main
2,531
################################################################################ ## File: Install-Toolset.ps1 ## Team: CI-Build ## Desc: Install toolset ################################################################################ Import-Module "~/image-generation/tests/Helpers.psm1" Import-Module "~/image-ge...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/build/Configure-Xcode-Simulators.ps1
PowerShell
mit
12,693
main
4,027
################################################################################ ## File: Configure-Xcode-Simulators.ps1 ## Team: CI-Build ## Desc: CHeck and remove duplicate simulators ################################################################################ Import-Module "~/image-generation/helpers/Comm...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/build/Configure-Toolset.ps1
PowerShell
mit
12,693
main
1,649
################################################################################ ## File: Configure-Toolset.ps1 ## Team: CI-Build ## Desc: Configure toolset ################################################################################ Import-Module "~/image-generation/helpers/Common.Helpers.psm1" function Ge...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/build/Update-XcodeSimulators.ps1
PowerShell
mit
12,693
main
2,274
################################################################################ ## File: Update-XcodeSimulators.ps1 ## Desc: Check available Xcode simulators and create missing ones ################################################################################ $ErrorActionPreference = "Stop" Import-Module "$en...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/build/Install-Xcode.ps1
PowerShell
mit
12,693
main
2,555
################################################################################ ## File: Install-Xcode.ps1 ## Desc: Install Xcode ################################################################################ $ErrorActionPreference = "Stop" Import-Module "$env:HOME/image-generation/helpers/Common.Helpers.psm1"...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/ActionArchiveCache.Tests.ps1
PowerShell
mit
12,693
main
644
Describe "ActionArchiveCache" { Context "Action archive cache directory not empty" { It "$HOME/actionarchivecache not empty" { (Get-ChildItem -Path "$env:HOME/actionarchivecache/*.tar.gz" -Recurse).Count | Should -BeGreaterThan 0 } } Context "Action tarball not empty" { ...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Browsers.Tests.ps1
PowerShell
mit
12,693
main
2,513
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" $os = Get-OSVersion Describe "Chrome" { BeforeAll { $chromeLocation = "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" $chromeForTestingLocation = "/Applications/Google Chrome for Testing.app/Contents/MacOS/Google Chrome fo...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Toolcache.Tests.ps1
PowerShell
mit
12,693
main
7,506
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking $arch = Get-Architecture $os = Get-OSVersion Describe "Toolcache" { $toolcacheDirectory = Join-Path $env:HOME "hostedtoolcache" [array]$packages += (Get-ToolsetContent).toolcache | ForE...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/System.Tests.ps1
PowerShell
mit
12,693
main
1,715
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" $os = Get-OSVersion Describe "Disk free space" { It "Image has more than 30GB free space" { # we should have at least 30 GB of free space on macOS images # 10GB here: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/RunAll-Tests.ps1
PowerShell
mit
12,693
main
88
Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking Invoke-PesterTests "*"
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Xcode.Tests.ps1
PowerShell
mit
12,693
main
5,156
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Import-Module "$PSScriptRoot/../helpers/Xcode.Helpers.psm1" Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking $arch = Get-Architecture $xcodeVersions = (Get-ToolsetContent).xcode.${arch}.versions $defaultXcode = (Get-ToolsetContent).xcode.defau...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/OpenSSL.Tests.ps1
PowerShell
mit
12,693
main
1,167
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" $os = Get-OSVersion Describe "OpenSSL" { Context "OpenSSL Version" { It "OpenSSL is available" { "openssl version" | Should -ReturnZeroExitCode } } Context "OpenSSL 1.1 Path Check" -Skip:($os.IsTahoe) { It "O...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Java.Tests.ps1
PowerShell
mit
12,693
main
2,967
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking $os = Get-OSVersion $arch = Get-Architecture function Get-NativeVersionFormat { param($Version) if ($Version -in "8") { return "1.${Version}" } return $Version } Descri...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Toolset.Tests.ps1
PowerShell
mit
12,693
main
908
Import-Module "$PSScriptRoot/Helpers.psm1" $toolsets = Get-ChildItem -Path $PSScriptRoot -Filter "toolset-*.json" function Get-ShortVersion([System.Version] $Version) { return [System.Version]::Parse($Version).ToString(2) } Describe "Toolset JSON validation" { $toolsets | ForEach-Object { It "$($_.Na...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Node.Tests.ps1
PowerShell
mit
12,693
main
949
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking $os = Get-OSVersion Describe "Node.js" { It "Node.js is installed" { "node --version" | Should -ReturnZeroExitCode } It "Node.js version should correspond to the version in...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Linters.Tests.ps1
PowerShell
mit
12,693
main
215
Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking $os = Get-OSVersion Describe "SwiftLint" -Skip:($os.IsArm64) { It "SwiftLint" { "swiftlint version" | Should -ReturnZeroExitCode } }
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Python.Tests.ps1
PowerShell
mit
12,693
main
1,227
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking $os = Get-OSVersion Describe "Python3" { It "Python 3 is available" { "python3 --version" | Should -ReturnZeroExitCode } if ($os.IsArm64) { It "Python 3 is inst...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/LLVM.Tests.ps1
PowerShell
mit
12,693
main
628
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Describe "Clang/LLVM" { BeforeAll { $toolsetVersion = (Get-ToolsetContent).llvm.version } It "Clang/LLVM <toolsetVersion> is installed and version is correct" { $clangVersion = & "$(brew --prefix llvm@$toolsetVersion)/bin/clang" ...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/BasicTools.Tests.ps1
PowerShell
mit
12,693
main
3,381
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" $os = Get-OSVersion Describe "Azure CLI" { It "Azure CLI" { "az -v" | Should -ReturnZeroExitCode } } Describe "Azure DevOps CLI" { It "az devops" { "az devops -h" | Should -ReturnZeroExitCode } } Describe "Carthage" { I...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Powershell.Tests.ps1
PowerShell
mit
12,693
main
1,434
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking Describe "Powershell" { Context "Powershell is installed" { It "Powershell is installed" { "pwsh -v" | Should -ReturnZeroExitCode } } Context "Powershell...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Rosetta.Tests.ps1
PowerShell
mit
12,693
main
333
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" $os = Get-OSVersion Describe "Rosetta" -Skip:(-not $os.IsArm64) { It "Rosetta is available" { $commandResult = Get-CommandResult "/usr/bin/pgrep oahd" $commandResult.Output | Should -Match "\d+" $commandResult.ExitCode | Should -...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/RubyGem.Tests.ps1
PowerShell
mit
12,693
main
610
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" $os = Get-OSVersion Describe "RubyGems" { $gemTestCases = (Get-ToolsetContent).ruby.rubygems | ForEach-Object { @{gemName = $_} } if ($gemTestCases) { It "Gem <gemName> is installed" -TestCases $gemTestCases { "gem l...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Ruby.Tests.ps1
PowerShell
mit
12,693
main
880
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking Describe "Ruby" { It "Ruby is available" { "ruby --version" | Should -ReturnZeroExitCode } It "Ruby is installed via HomeBrew" { Get-ToolPath "ruby" | Should -Not -B...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/PHP.Tests.ps1
PowerShell
mit
12,693
main
681
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" $os = Get-OSVersion Describe "PHP" { Context "PHP" -Skip:($os.IsArm64) { It "PHP Path" { Get-ToolPath "php" | Should -Not -BeLike "/usr/bin/php*" } It "PHP version" { $phpVersionToolset = (Get-ToolsetConte...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Rust.Tests.ps1
PowerShell
mit
12,693
main
471
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" $os = Get-OSVersion Describe "Rust" { Context "Rust" { It "Rustup is installed" { "rustup --version" | Should -ReturnZeroExitCode } It "Rustc is installed" { "rustc --version" | Should -ReturnZeroExitCode...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Helpers.psm1
PowerShell
mit
12,693
main
4,661
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" function Confirm-ArrayWithoutDuplicates { param ( [AllowEmptyCollection()] [Parameter(Mandatory = $true)] [array] $Items, [string] $Because ) $uniqueList = @() $Items | ForEach-Object { $uniqueList | Sh...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Mono.Tests.ps1
PowerShell
mit
12,693
main
2,967
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking $os = Get-OSVersion BeforeAll { function Get-ShortSymlink { param ( [string] $Version ) $versionParts = $Version.Split(".") return [String]::Joi...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Common.Tests.ps1
PowerShell
mit
12,693
main
2,568
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking $os = Get-OSVersion Describe ".NET" { It ".NET" { "dotnet --version" | Should -ReturnZeroExitCode } } Describe "GCC" { $testCases = (Get-ToolsetContent).gcc.versions | ForE...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Git.Tests.ps1
PowerShell
mit
12,693
main
282
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" $os = Get-OSVersion Describe "Git" { It "git is installed" { "git --version" | Should -ReturnZeroExitCode } It "git lfs is installed" { "git lfs version" | Should -ReturnZeroExitCode } }
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/tests/Android.Tests.ps1
PowerShell
mit
12,693
main
3,364
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Import-Module "$PSScriptRoot/Helpers.psm1" -DisableNameChecking Import-Module "$PSScriptRoot/../software-report/SoftwareReport.Android.psm1" -DisableNameChecking $os = Get-OSVersion Describe "Android" { $androidSdkManagerPackages = Get-AndroidPackages ...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/docs-gen/SoftwareReport.Browsers.psm1
PowerShell
mit
12,693
main
3,559
function Build-BrowserSection { $nodes = @() $os = Get-OSVersion $nodes += @( [ToolVersionNode]::new("Safari", $(Get-SafariVersion)) [ToolVersionNode]::new("SafariDriver", $(Get-SafariDriverVersion)) [ToolVersionNode]::new("Google Chrome", $(Get-ChromeVersion)) [ToolVersion...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/docs-gen/SoftwareReport.Toolcache.psm1
PowerShell
mit
12,693
main
1,649
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" function Get-ToolcacheRubyVersions { $toolcachePath = Join-Path $env:HOME "hostedtoolcache" "Ruby" return Get-ChildItem $toolcachePath -Name | Sort-Object { [Version]$_ } } function Get-ToolcachePythonVersions { $toolcachePath = Join-Path $env:H...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/docs-gen/SoftwareReport.Android.psm1
PowerShell
mit
12,693
main
7,036
Import-Module "$PSScriptRoot/SoftwareReport.Helpers.psm1" -DisableNameChecking Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" function Split-TableRowByColumns { param ( [string] $Row ) return $Row.Split("|") | ForEach-Object { $_.trim() } } function Get-AndroidSDKRoot { return J...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/docs-gen/SoftwareReport.Java.psm1
PowerShell
mit
12,693
main
838
function Get-JavaVersions { $defaultJavaPath = (Get-Item env:JAVA_HOME).value $os = Get-OSVersion if ($os.IsArm64) { $javaVersions = Get-Item env:JAVA_HOME_*_arm64 } else { $javaVersions = Get-Item env:JAVA_HOME_*_X64 } $sortRules = @{ Expression = { [Int32]$_.Name.Spli...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/docs-gen/Generate-SoftwareReport.ps1
PowerShell
mit
12,693
main
8,615
using module ./software-report-base/SoftwareReport.psm1 using module ./software-report-base/SoftwareReport.Nodes.psm1 param ( [Parameter(Mandatory)][string] $OutputDirectory, $ImageName ) $ErrorActionPreference = "Stop" Import-Module "$PSScriptRoot/SoftwareReport.Common.psm1" -DisableNameChecking Import-...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/docs-gen/SoftwareReport.Xcode.psm1
PowerShell
mit
12,693
main
7,780
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Import-Module "$PSScriptRoot/../helpers/Xcode.Helpers.psm1" function Get-XcodePaths { $xcodePaths = Get-ChildItem -Path "/Applications" -Filter "Xcode_*.app" | Where-Object { !$_.LinkType } return $xcodePaths | Select-Object -ExpandProperty Fullname ...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/docs-gen/SoftwareReport.Common.psm1
PowerShell
mit
12,693
main
13,107
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" function Get-BashVersion { $version = bash -c 'echo ${BASH_VERSION}' return $version } function Get-DotnetVersionList { $sdkRawList = Run-Command "dotnet --list-sdks" return $sdkRawList | ForEach-Object { Take-Part $_ -Part 0 } } function G...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/docs-gen/SoftwareReport.Helpers.psm1
PowerShell
mit
12,693
main
1,406
function Run-Command { param ( [Parameter(Mandatory=$true)] [string] $Command, [switch] $SuppressStderr ) # Bash trick to suppress and show error output because some commands write to stderr (for example, "python --version") $redirectOutputArguments = If ($SuppressStderr) { "2> /...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/helpers/Common.Helpers.psm1
PowerShell
mit
12,693
main
4,006
function Get-CommandResult { param ( [Parameter(Mandatory=$true)] [string] $Command, [switch] $Multiline ) # Bash trick to suppress and show error output because some commands write to stderr (for example, "python --version") $stdout = & bash -c "$Command 2>&1" $exitCode = $L...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/helpers/Xcode.Helpers.psm1
PowerShell
mit
12,693
main
4,441
function Get-XcodeRootPath { Param ( [Parameter(Mandatory)] [string] $Version ) return "/Applications/Xcode_$Version.app" } function Get-DefaultXcodeRootPath { return (Get-Item -Path "/Applications/Xcode.app").Target } function Get-XcodeToolPath { param ( [Parameter(Parame...
github
actions/runner-images
https://github.com/actions/runner-images
images/macos/scripts/helpers/Xcode.Installer.psm1
PowerShell
mit
12,693
main
11,960
Import-Module "$PSScriptRoot/Common.Helpers.psm1" Import-Module "$PSScriptRoot/Xcode.Helpers.psm1" function Install-XcodeVersion { param ( [Parameter(Mandatory)] [string] $Version, [Parameter(Mandatory)] [string] $LinkTo, [Parameter(Mandatory)] [string] $Sha256Sum ...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/helpers/Common.Helpers.psm1
PowerShell
mit
12,693
main
4,939
function Get-CommandResult { <# .SYNOPSIS Runs a command in bash and returns the output and exit code. .DESCRIPTION Function runs a provided command in bash and returns the output and exit code as hashtable. .PARAMETER Command The command to run. .PARAMETER ExpectedExitCod...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/docs-gen/Generate-SoftwareReport.ps1
PowerShell
mit
12,693
main
12,897
using module ./software-report-base/SoftwareReport.psm1 using module ./software-report-base/SoftwareReport.Nodes.psm1 param ( [Parameter(Mandatory)] [string] $OutputDirectory ) $global:ErrorActionPreference = "Stop" $global:ErrorView = "NormalView" Set-StrictMode -Version Latest Import-Module (Join-Path $PSS...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/docs-gen/SoftwareReport.Browsers.psm1
PowerShell
mit
12,693
main
1,723
function Get-ChromeVersion { $googleChromeVersion = google-chrome --version | Get-StringPart -Part 2 return $googleChromeVersion } function Get-ChromeDriverVersion { $chromeDriverVersion = chromedriver --version | Get-StringPart -Part 1 return $chromeDriverVersion } function Get-FirefoxVersion { $...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/docs-gen/SoftwareReport.Helpers.psm1
PowerShell
mit
12,693
main
889
function Get-StringPart { param ( [Parameter(ValueFromPipeline)] [string] $ToolOutput, [string] $Delimiter = " ", [int[]] $Part ) $parts = $ToolOutput.Split($Delimiter, [System.StringSplitOptions]::RemoveEmptyEntries) $selectedParts = $parts[$Part] return [string]::J...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/docs-gen/SoftwareReport.Tools.psm1
PowerShell
mit
12,693
main
8,275
function Get-AnsibleVersion { $ansibleVersion = (ansible --version)[0] -replace "[^\d.]" return $ansibleVersion } function Get-AptFastVersion { $versionFileContent = Get-Content (which apt-fast) -Raw $match = [Regex]::Match($versionFileContent, '# apt-fast v(.+)\n') return $match.Groups[1].Value } ...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/docs-gen/SoftwareReport.Rust.psm1
PowerShell
mit
12,693
main
1,551
function Initialize-RustEnvironment { $env:PATH = "/etc/skel/.cargo/bin:/etc/skel/.rustup/bin:$($env:PATH)" $env:RUSTUP_HOME = "/etc/skel/.rustup" $env:CARGO_HOME = "/etc/skel/.cargo" } function Get-RustVersion { $rustVersion = $(rustc --version) | Get-StringPart -Part 1 return $rustVersion } func...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/docs-gen/SoftwareReport.Android.psm1
PowerShell
mit
12,693
main
5,989
function Split-TableRowByColumns { param( [string] $Row ) return $Row.Split("|") | ForEach-Object { $_.trim() } } function Get-AndroidSDKRoot { return "/usr/local/lib/android/sdk" } function Get-AndroidSDKManagerPath { $androidSDKDir = Get-AndroidSDKRoot return Join-Path $androidSDKDir...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/docs-gen/SoftwareReport.Databases.psm1
PowerShell
mit
12,693
main
1,651
function Get-PostgreSqlVersion { $postgreSQLVersion = psql --version | Get-StringPart -Part 2 return $postgreSQLVersion } function Get-SqliteVersion { $sqliteVersion = sqlite3 --version | Get-StringPart -Part 0 return $sqliteVersion } function Get-MySQLVersion { $mySQLVersion = mysqld --version | ...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/docs-gen/SoftwareReport.WebServers.psm1
PowerShell
mit
12,693
main
1,161
function Get-ApacheVersion { $name = "apache2" $port = 80 $version = bash -c "apache2 -v | grep -Po 'Apache/(\d+.){2}\d+'" | Get-StringPart -Part 1 -Delimiter "/" $serviceStatus = systemctl status apache2 | grep "Active:" | Get-StringPart -Part 1 $configFile = "/etc/apache2/apache2.conf" return ...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/docs-gen/SoftwareReport.CachedTools.psm1
PowerShell
mit
12,693
main
1,238
function Get-ToolcacheRubyVersions { $toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "Ruby" return Get-ChildItem $toolcachePath -Name | Sort-Object { [Version] $_ } } function Get-ToolcachePythonVersions { $toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "Python" return Get-ChildItem $toolcach...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/docs-gen/SoftwareReport.Common.psm1
PowerShell
mit
12,693
main
9,817
function Get-BashVersion { $version = bash -c 'echo ${BASH_VERSION}' return $version } function Get-DashVersion { $version = dpkg-query -W -f '${Version}' dash return $version } function Get-CPPVersions { $result = Get-CommandResult "apt list --installed" -Multiline $cppVersions = $result.Outp...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/docs-gen/SoftwareReport.Java.psm1
PowerShell
mit
12,693
main
674
function Get-JavaVersionsTable { $javaToolcacheVersions = Get-ChildItem $env:AGENT_TOOLSDIRECTORY/Java*/* -Directory | Sort-Object { [int] $_.Name.Split(".")[0] } return $javaToolcacheVersions | ForEach-Object { $majorVersion = $_.Name.split(".")[0] $fullVersion = $_.Name.Replace("-", "+") ...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/build/Install-PowerShellModules.ps1
PowerShell
mit
12,693
main
1,237
################################################################################ ## File: Install-PowerShellModules.ps1 ## Desc: Install modules for PowerShell ################################################################################ $ErrorActionPreference = "Stop" $ProgressPreference = "SilentlyContinue" ...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/build/Install-PowerShellAzModules.ps1
PowerShell
mit
12,693
main
1,252
################################################################################ ## File: Install-PowerShellAzModules.ps1 ## Desc: Install Az modules for PowerShell ################################################################################ $ErrorActionPreference = "Stop" $ProgressPreference = "SilentlyContin...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/build/Install-Toolset.ps1
PowerShell
mit
12,693
main
1,994
################################################################################ ## File: Install-Toolset.ps1 ## Team: CI-Build ## Desc: Install toolset ################################################################################ Import-Module "$env:HELPER_SCRIPTS/../tests/Helpers.psm1" function Install-Ass...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/build/Configure-Toolset.ps1
PowerShell
mit
12,693
main
3,162
################################################################################ ## File: Configure-Toolset.ps1 ## Team: CI-Build ## Desc: Configure toolset ################################################################################ Import-Module "$env:HELPER_SCRIPTS/../tests/Helpers.psm1" function Get-TCT...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/DotnetSDK.Tests.ps1
PowerShell
mit
12,693
main
1,296
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Describe "Dotnet and tools" { BeforeAll { $env:PATH = "/etc/skel/.dotnet/tools:$($env:PATH)" $dotnetSDKs = dotnet --list-sdks | ConvertTo-Json $dotnetRuntimes = dotnet --list-runtimes | ConvertTo-Json } $dotnetVersions = ...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/Toolset.Tests.ps1
PowerShell
mit
12,693
main
2,044
Describe "Toolset" { $tools = (Get-ToolsetContent).toolcache $toolsExecutables = @{ Python = @{ tools = @("python", "bin/pip") command = "--version" } node = @{ tools = @("bin/node", "bin/npm") command = "--version" } PyPy ...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/Haskell.Tests.ps1
PowerShell
mit
12,693
main
799
Describe "Haskell" { $GHCCommonPath = "/usr/local/.ghcup/ghc" $GHCVersions = Get-ChildItem -Path $GHCCommonPath | Where-Object { $_.Name -match "\d+\.\d+" } $testCases = $GHCVersions | ForEach-Object { @{ GHCPath = "${_}/bin/ghc"} } It "GHC version <GHCPath>" -TestCases $testCases { "$GHCPath ...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/Common.Tests.ps1
PowerShell
mit
12,693
main
1,187
Describe "PHP" { $testCases = (Get-ToolsetContent).php.versions | ForEach-Object { @{PhpVersion = $_} } It "php <phpVersion>" -TestCases $testCases { "php${PhpVersion} --version" | Should -ReturnZeroExitCode "php-config${PhpVersion} --version" | Should -ReturnZeroExitCode "phpize${PhpVe...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/WebServers.Tests.ps1
PowerShell
mit
12,693
main
640
Describe "Apache" { It "Apache CLI" { "apache2 -v" | Should -ReturnZeroExitCode } It "Apache Service" { "sudo systemctl start apache2" | Should -ReturnZeroExitCode "apachectl configtest" | Should -ReturnZeroExitCode "sudo systemctl stop apache2" | Should -ReturnZeroExitCode ...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/PowerShellModules.Tests.ps1
PowerShell
mit
12,693
main
2,090
Describe "PowerShellModules" { $modules = (Get-ToolsetContent).powershellModules $modulesWithoutVersions = $modules | Where-Object { -not $_.versions } | ForEach-Object { @{moduleName = $_.name} } $modulesWithVersions = $modules | Where-Object { $_.versions } | ForEach-Object { $moduleN...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/Helpers.psm1
PowerShell
mit
12,693
main
5,596
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" -DisableNameChecking function Invoke-PesterTests { <# .SYNOPSIS Runs Pester tests based on the provided test file and test name. .DESCRIPTION The Invoke-PesterTests function runs Pester tests based on the provided test file and t...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/Browsers.Tests.ps1
PowerShell
mit
12,693
main
1,023
Describe "Firefox" { It "Firefox" { "firefox --version" | Should -ReturnZeroExitCode } It "Geckodriver" { "geckodriver --version" | Should -ReturnZeroExitCode } } Describe "Chrome" { It "Chrome" { "google-chrome --version" | Should -ReturnZeroExitCode } It "Chrome ...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/Databases.Tests.ps1
PowerShell
mit
12,693
main
1,280
Describe "PostgreSQL" { It "PostgreSQL Service" { "sudo systemctl start postgresql" | Should -ReturnZeroExitCode "pg_isready" | Should -OutputTextMatchingRegex "/var/run/postgresql:5432 - accepting connections" "sudo systemctl stop postgresql" | Should -ReturnZeroExitCode } It "Post...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/ActionArchiveCache.Tests.ps1
PowerShell
mit
12,693
main
758
Describe "ActionArchiveCache" { BeforeDiscovery { $actionArchiveCachePath = "/opt/actionarchivecache" $tarballTestCases = Get-ChildItem -Path "$actionArchiveCachePath/*.tar.gz" -Recurse | ForEach-Object { @{ ActionTarball = $_.FullName } } } Context "Action archive cache directory not empty...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/Tools.Tests.ps1
PowerShell
mit
12,693
main
11,522
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Describe "azcopy" { It "azcopy" { "azcopy --version" | Should -ReturnZeroExitCode } It "azcopy10 link exists" { "azcopy10 --version" | Should -ReturnZeroExitCode } } Describe "Bicep" { It "Bicep" { "bicep --versio...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/Apt.Tests.ps1
PowerShell
mit
12,693
main
1,197
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" Describe "Apt" { $packages = (Get-ToolsetContent).apt.cmd_packages + (Get-ToolsetContent).apt.vital_packages $testCases = $packages | ForEach-Object { @{ toolName = $_ } } It "<toolName> is available" -TestCases $testCases { switch ($too...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/Node.Tests.ps1
PowerShell
mit
12,693
main
505
Describe "Node.js" { $binaries = @("node") $module_commands = (Get-ToolsetContent).node_modules | ForEach-Object { $_.command } $testCases = $binaries + $module_commands | ForEach-Object { @{NodeCommand = $_} } It "<NodeCommand>" -TestCases $testCases { "$NodeCommand --version" | Should -Return...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/CLI.Tools.Tests.ps1
PowerShell
mit
12,693
main
1,189
Describe "Azure CLI" { It "Azure CLI" { "az --version" | Should -ReturnZeroExitCode } } Describe "Azure DevOps CLI" { It "az devops" { "az devops -h" | Should -ReturnZeroExitCode } } Describe "Aliyun CLI" -Skip:((-not (Test-IsUbuntu22))) { It "Aliyun CLI" { "aliyun version"...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/Java.Tests.ps1
PowerShell
mit
12,693
main
2,029
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" -DisableNameChecking Describe "Java" { $toolsetJava = (Get-ToolsetContent).java $defaultVersion = $toolsetJava.default $jdkVersions = $toolsetJava.versions It "Java <DefaultJavaVersion> is default" -TestCases @{ DefaultJavaVersion = $default...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/System.Tests.ps1
PowerShell
mit
12,693
main
2,342
# The $env:AGENT_NAME and $env:RUNNER_NAME are predefined variables for the ADO pipelines and for the GitHub actions respectively. # If the test is running on the ADO pipeline or on the GitHub actions, the test will be skipped Describe "Disk free space" -Skip:(-not [String]::IsNullOrEmpty($env:AGENT_NAME) -or -not [Str...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu/scripts/tests/Android.Tests.ps1
PowerShell
mit
12,693
main
4,358
Describe "Android" { function Get-AndroidPackages { <# .SYNOPSIS This function returns a list of available Android packages. .DESCRIPTION The Get-AndroidPackages function checks if a list of packages is already available in a file. If not, it uses the sdk...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu-slim/scripts/docs-gen/SoftwareReport.Common.psm1
PowerShell
mit
12,693
main
2,041
function Get-BashVersion { $version = bash -c 'echo ${BASH_VERSION}' return $version } function Get-DashVersion { $version = dpkg-query -W -f '${Version}' dash return $version } function Get-NodeVersion { $nodeVersion = $(node --version).Substring(1) return $nodeVersion } function Get-Openssl...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu-slim/scripts/docs-gen/SoftwareReport.Tools.psm1
PowerShell
mit
12,693
main
2,788
function Get-AzCopyVersion { $azcopyVersion = [string]$(azcopy --version) | Get-StringPart -Part 2 return "$azcopyVersion - available by ``azcopy`` and ``azcopy10`` aliases" } function Get-BicepVersion { (bicep --version | Out-String) -match "bicep cli version (?<version>\d+\.\d+\.\d+)" | Out-Null ret...
github
actions/runner-images
https://github.com/actions/runner-images
images/ubuntu-slim/scripts/docs-gen/Generate-SoftwareReport.ps1
PowerShell
mit
12,693
main
3,662
using module ../software-report-base/SoftwareReport.psm1 using module ../software-report-base/SoftwareReport.Nodes.psm1 param ( [Parameter(Mandatory)] [string] $OutputDirectory ) $global:ErrorActionPreference = "Stop" $global:ErrorView = "NormalView" Set-StrictMode -Version Latest Import-Module (Join-Path $P...
github
actions/runner-images
https://github.com/actions/runner-images
images.CI/shebang-linter.ps1
PowerShell
mit
12,693
main
1,610
$ErrorActionPreference = "Stop" function Validate-Scripts { Param ( [Parameter(Mandatory=$true)] [string[]]$Path, [Parameter(Mandatory=$true)] [string]$ExpectedShebang ) $ScriptWithoutShebangLine = @() Get-ChildItem $path -Recurse -File -Filter "*.sh" | ForEach-Object { ...
github
actions/runner-images
https://github.com/actions/runner-images
images.CI/measure-provisioners-duration.ps1
PowerShell
mit
12,693
main
4,780
param( [Parameter(Mandatory=$true)] [string]$PackerLogPath, [string]$PrefixToPathTrim, [int]$PrintTopNLongest = 25 ) $DateTimeRegex = "(\d+\/\d+\/\d+ \d+:\d+:\d+)" $TelemetryLineRegex = "\[INFO\] \(telemetry\)" $StartProvisionerRegex = "^${DateTimeRegex} ${TelemetryLineRegex} Starting provisioner (.+)$...
github
actions/runner-images
https://github.com/actions/runner-images
images.CI/linux-and-win/build-image.ps1
PowerShell
mit
12,693
main
3,276
param( [String] [Parameter (Mandatory=$true)] $TemplatePath, [String] [Parameter (Mandatory=$true)] $BuildTemplateName, [String] [Parameter (Mandatory=$true)] $ClientId, [String] [Parameter (Mandatory=$false)] $ClientSecret, [String] [Parameter (Mandatory=$true)] $Location, [String] [Parameter (...
github
actions/runner-images
https://github.com/actions/runner-images
images.CI/linux-and-win/create-release.ps1
PowerShell
mit
12,693
main
1,220
param( [Parameter (Mandatory)] [UInt32] $BuildId, [Parameter (Mandatory)] [string] $Organization, [Parameter (Mandatory)] [string] $Project, [Parameter (Mandatory)] [string] $ImageType, [Parameter (Mandatory)] [string] $ManagedImageName, [Parameter (Mandatory)] [string] $DefinitionId, [Param...
github
actions/runner-images
https://github.com/actions/runner-images
images.CI/linux-and-win/cleanup.ps1
PowerShell
mit
12,693
main
402
param( [Parameter (Mandatory=$true)] [string] $TempResourceGroupName ) $groupExist = az group exists --name $TempResourceGroupName if ($groupExist -eq "true") { Write-Host "Found a match, deleting temporary files" az group delete --name $TempResourceGroupName --yes | Out-Null Write-Host "Temporary grou...
github
zoicware/RemoveWindowsAI
https://github.com/zoicware/RemoveWindowsAI
RemoveAI-UpdateCleanup.ps1
PowerShell
mit
11,471
main
19,535
function Run-Trusted([String]$command, $psversion) { function RunAsTI { param( [Parameter(Position = 0)]$cmd, [Parameter(ValueFromRemainingArguments)]$xargs ) $Ex = $xargs -contains '-Exit' $xargs = $xargs | Where-Object { $_ -ne '-Exit' } $wi = [Se...
github
farag2/Sophia-Script-for-Windows
https://github.com/farag2/Sophia-Script-for-Windows
Download_Latest_Sophia.ps1
PowerShell
mit
9,250
main
15,236
<# .SYNOPSIS Download the latest Sophia Script version from the last commit available, depending on which Windows or PowerShell versions are used to .SYNOPSIS For example, if you start script on Windows 11 via PowerShell 5.1 you will start downloading Sophia Script for Windows 11 PowerShell 5.1 .EXAMPLE iwr sl....
github
farag2/Sophia-Script-for-Windows
https://github.com/farag2/Sophia-Script-for-Windows
Download_Sophia.ps1
PowerShell
mit
9,250
main
16,345
<# .SYNOPSIS Download and expand the latest Sophia Script version, depending on which Windows or PowerShell versions are used to .SYNOPSIS For example, if you start script on Windows 11 via PowerShell 5.1 you will start downloading Sophia Script for Windows 11 PowerShell 5.1 .EXAMPLE iwr script.sophia.team -use...
github
farag2/Sophia-Script-for-Windows
https://github.com/farag2/Sophia-Script-for-Windows
Wrapper/Config/Set-ConsoleFont.ps1
PowerShell
mit
9,250
main
3,245
<# .SYNOPSIS Set console font to Consolas when script is called from the Wrapper due to it is not loaded by default .LINK https://github.com/ReneNyffenegger/ps-modules-console #> function Set-ConsoleFont { $Signature = @{ Namespace = "WinAPI" Name = "ConsoleFont" Language = ...
github
farag2/Sophia-Script-for-Windows
https://github.com/farag2/Sophia-Script-for-Windows
src/Sophia_Script_for_Windows_11_ARM_PowerShell_7/Import-TabCompletion.ps1
PowerShell
mit
9,250
main
6,399
<# .SYNOPSIS Enable tab completion to invoke for functions if you do not know function name .VERSION 7.1.5 .DATE 15.04.2026 .COPYRIGHT (c) 2014—2026 Team Sophia .DESCRIPTION Dot source the script first: . .\Import-TabCompletion.ps1 (with a dot at the beginning) Start typing any characters contained in th...
github
farag2/Sophia-Script-for-Windows
https://github.com/farag2/Sophia-Script-for-Windows
src/Sophia_Script_for_Windows_11_ARM_PowerShell_7/Sophia.ps1
PowerShell
mit
9,250
main
70,550
<# .SYNOPSIS Default preset file for "Sophia Script for Windows 11 (Arm | PowerShell 7)" .VERSION 7.1.5 .DATE 15.04.2026 .COPYRIGHT (c) 2014—2026 Team Sophia .DESCRIPTION Place the "#" char before function if you don't want to run it Remove the "#" char before function if you want to run it Every tweak ...
github
farag2/Sophia-Script-for-Windows
https://github.com/farag2/Sophia-Script-for-Windows
src/Sophia_Script_for_Windows_11_ARM_PowerShell_7/Localizations/it-IT/Sophia.psd1
PowerShell
mit
9,250
main
10,122
ConvertFrom-StringData -StringData @' PowerShellImportFailed = Impossibile importare i moduli da PowerShell 5.1. Chiudere la console PowerShell 7 e rieseguire lo script. UnsupportedArchitecture = Stai utilizzando una CPU con architettura basata su "{0}". Questo script supporta solo...