Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for powershell (0.19 sec)

  1. cluster/gce/windows/smoke-test.sh

    function undeploy_windows_webserver_pod {
      ${kubectl} delete deployment "$windows_webserver_deployment"
    }
    
    windows_command_deployment=windows-powershell
    windows_command_pod_label=powershell
    windows_command_replicas=1
    
    # Deploys a multi-arch Windows pod capable of running PowerShell.
    function deploy_windows_command_pod {
      echo "Writing example deployment to $windows_command_deployment.yaml"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. src/net/net_windows_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if bytes.Contains(out, []byte("The following helper DLL cannot be loaded")) {
    		t.Skipf("powershell failure:\n%s", err)
    	}
    	if !bytes.Contains(out, []byte("The following commands are available:")) {
    		t.Skipf("powershell does not speak English:\n%s", out)
    	}
    }
    
    func netshInterfaceIPShowInterface(ipver string, ifaces map[string]bool) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. cluster/gce/windows/k8s-node-setup.psm1

    #  - Always use single-quoted strings unless actually interpolating variables
    #    or using escape characters.
    #  - Use "approved verbs":
    #    https://docs.microsoft.com/en-us/powershell/developer/cmdlet/approved-verbs-for-windows-powershell-commands
    #  - Document functions using proper syntax:
    #    https://technet.microsoft.com/en-us/library/hh847834(v=wps.620).aspx
    
    $GCE_METADATA_SERVER = "169.254.169.254"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  4. cluster/log-dump/log-dump.sh

    }
    
    # Saves a copy of the Windows Docker event log to ${WINDOWS_LOGS_DIR}\docker.log
    # on node $1.
    function export-windows-docker-event-log() {
        local -r node="${1}"
    
        local -r powershell_cmd="powershell.exe -Command \"\$logs=\$(Get-EventLog -LogName Application -Source Docker | Format-Table -Property TimeGenerated, EntryType, Message -Wrap); \$logs | Out-File -FilePath '${WINDOWS_LOGS_DIR}\\docker.log'\""
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 21:15:57 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  5. pkg/volume/util/util.go

    func WriteVolumeCache(deviceMountPath string, exec utilexec.Interface) error {
    	// If runtime os is windows, execute Write-VolumeCache powershell command on the disk
    	if runtime.GOOS == "windows" {
    		cmdString := "Get-Volume -FilePath $env:mountpath | Write-Volumecache"
    		cmd := exec.Command("powershell", "/c", cmdString)
    		env := append(os.Environ(), fmt.Sprintf("mountpath=%s", deviceMountPath))
    		cmd.SetEnv(env)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/settings.md

        $ export MY_NAME="Wade Wilson"
    
        // Then you could use it with other programs, like
        $ echo "Hello $MY_NAME"
    
        Hello Wade Wilson
        ```
    
        </div>
    
    === "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"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. README.md

    ```
    
    Use the following command to run a standalone MinIO server on the Windows host. Replace ``D:\`` with the path to the drive or directory in which you want MinIO to store data. You must change the terminal or powershell directory to the location of the ``minio.exe`` executable, *or* add the path to that directory to the system ``$PATH``:
    
    ```sh
    minio.exe server D:\
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 00:22:36 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. cmd/common-main.go

    		color.TurnOff()
    	}
    
    	if runtime.GOOS == "windows" {
    		if mousetrap.StartedByExplorer() {
    			fmt.Printf("Don't double-click %s\n", os.Args[0])
    			fmt.Println("You need to open cmd.exe/PowerShell and run it from the command line")
    			fmt.Println("Refer to the docs here on how to run it as a Windows Service https://github.com/minio/minio-service/tree/master/windows")
    			fmt.Println("Press the Enter Key to Exit")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
Back to top