...

Text file src/github.com/Azure/azure-sdk-for-go/eng/common/TestResources/Remove-TestResources.cmd

Documentation: github.com/Azure/azure-sdk-for-go/eng/common/TestResources

     1@echo off
     2
     3REM Copyright (c) Microsoft Corporation. All rights reserved.
     4REM Licensed under the MIT License.
     5
     6setlocal
     7
     8for /f "usebackq delims=" %%i in (`where pwsh 2^>nul`) do (
     9    set _cmd=%%i
    10)
    11
    12if "%_cmd%"=="" (
    13    echo Error: PowerShell not found. Please visit https://github.com/powershell/powershell for install instructions.
    14    exit /b 2
    15)
    16
    17call "%_cmd%" -NoLogo -NoProfile -File "%~dpn0.ps1" %*

View as plain text