Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for PowerShell (0.66 seconds)

  1. .github/workflows/build-reusable.yml

          #- name: Enable Long Paths
          #  if: contains(inputs.runner, 'windows-x86')
          #  run: Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1
          #  shell: powershell
    
          - name: Checkout
            uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # ratchet:actions/checkout@v4
            env:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  2. docs/en/docs/environment-variables.md

    $ export MY_NAME="Wade Wilson"
    
    // Then you could use it with other programs, like
    $ echo "Hello $MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    // Create an env var MY_NAME
    $ $Env:MY_NAME = "Wade Wilson"
    
    // Use it with other programs, like
    $ echo "Hello $Env:MY_NAME"
    
    Hello Wade Wilson
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  3. docs/en/docs/virtual-environments.md

    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ Get-Command python
    
    C:\Users\user\code\awesome-project\.venv\Scripts\python
    ```
    
    </div>
    
    ////
    
    That means that the `python` program that will be used is the one **in the virtual environment**.
    
    You use `which` in Linux and macOS and `Get-Command` in Windows PowerShell.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.1K bytes
    - Click Count (0)
  4. ci/official/envs/rbe

      if [[ "$TFCI_GITHUB_ACTIONS" != "true" ]]; then
        # Docker on Windows doesn't support the `host` networking mode, and so
        # port-forwarding is required for the container to detect it's running on GCE.
        export IP_ADDR=$(powershell -command "(Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEthernet (nat)').IPAddress")
        netsh interface portproxy add v4tov4 listenaddress=$IP_ADDR listenport=80 connectaddress=169.254.169.254 connectport=80
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. docs/ko/docs/environment-variables.md

    ```console
    // 환경 변수 MY_NAME을 다음과 같이 생성할 수 있습니다
    $ export MY_NAME="Wade Wilson"
    
    // 그런 다음 다른 프로그램과 함께 사용할 수 있습니다. 예:
    $ echo "Hello $MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    // 환경 변수 MY_NAME 생성
    $ $Env:MY_NAME = "Wade Wilson"
    
    // 다른 프로그램과 함께 사용하기. 예:
    $ echo "Hello $Env:MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9K bytes
    - Click Count (0)
  6. ci/official/utilities/setup_docker.sh

        # Stop non-essential indexing and link tracking services that
        # may lock new files or symlinks.
        # They may be causing sporadic "Permission denied" errors during Bazel builds.
        # b/461500885
        docker exec tf powershell -NoProfile -Command 'Stop-Service -Name SysMain,DiagTrack -Force -ErrorAction SilentlyContinue'
      fi
    
    fi
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Nov 20 17:33:55 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. ci/official/envs/windows_x86_2022

    TFCI_OUTPUT_WIN_DOCKER_DIR='C:/drive_t'
    
    # Docker on Windows doesn't support the `host` networking mode, and so
    # port-forwarding is required for the container to detect it's running on GCE.
    export IP_ADDR=$(powershell -command "(Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEthernet (nat)').IPAddress")
    netsh interface portproxy add v4tov4 listenaddress=$IP_ADDR listenport=80 connectaddress=169.254.169.254 connectport=80
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Nov 06 19:44:26 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. docs/zh/docs/virtual-environments.md

    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ Get-Command python
    
    C:\Users\user\code\awesome-project\.venv\Scripts\python
    ```
    
    </div>
    
    ////
    
    这意味着将使用的 `python` 程序是**在虚拟环境中**的那个。
    
    在 Linux 和 macOS 中使用 `which`,在 Windows PowerShell 中使用 `Get-Command`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  9. docs/zh/docs/environment-variables.md

    ```console
    // 你可以使用以下命令创建一个名为 MY_NAME 的环境变量
    $ export MY_NAME="Wade Wilson"
    
    // 然后,你可以在其他程序中使用它,例如
    $ echo "Hello $MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    // 创建一个名为 MY_NAME 的环境变量
    $ $Env:MY_NAME = "Wade Wilson"
    
    // 在其他程序中使用它,例如
    $ echo "Hello $Env:MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. docs/ja/docs/environment-variables.md

    ```console
    // 環境変数 MY_NAME を作成する例
    $ export MY_NAME="Wade Wilson"
    
    // その後、他のプログラムで利用できます。例えば
    $ echo "Hello $MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    // 環境変数 MY_NAME を作成
    $ $Env:MY_NAME = "Wade Wilson"
    
    // 他のプログラムで利用、例えば
    $ echo "Hello $Env:MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 9.4K bytes
    - Click Count (0)
Back to Top