From 6f839c4bbddd59d2df67bda3d17e8416115d342f Mon Sep 17 00:00:00 2001 From: Jarrod Chesney Date: Tue, 16 Jul 2024 21:20:49 +1000 Subject: [PATCH] Removed docs directory --- docs/Build-Windows-Machine-with-PiKVM.html | 2118 -------------------- docs/index.html | 287 --- docs/styles/style.css | 103 - 3 files changed, 2508 deletions(-) delete mode 100644 docs/Build-Windows-Machine-with-PiKVM.html delete mode 100644 docs/index.html delete mode 100644 docs/styles/style.css diff --git a/docs/Build-Windows-Machine-with-PiKVM.html b/docs/Build-Windows-Machine-with-PiKVM.html deleted file mode 100644 index ebd07ff..0000000 --- a/docs/Build-Windows-Machine-with-PiKVM.html +++ /dev/null @@ -1,2118 +0,0 @@ - - - - - - - - - How to Build Windows Machine with PiKVM - Attune Automation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - -
-
- -
-
- - - -
- -
-
-

- How to Build Windows Machine with PiKVM -

-
-
- - -
-
-
- This documentation is generated by - - Attune - -
-
- -
-
-
- -
-
-
- - - - - - - -
-
- - -
-

- Automate This -

-

- Use the Attune GUI for your Scripts -

-

-

    - - 1 - Download Attune - - -
-
    - - 2 - Copy the Attune Project URL - - -
-
    - - 3 - Clone the Project in Attune - - -
-
    - - 4 - Plan your Job(s) - - -
-
    - - 5 - Run your Job(s) - - -
-

-

- You've automated: Build Windows Machine with PiKVM -

-
-
-

- Get the most out of automation with our get started - videos, product demonstrations, and more. -

-

- - Learn Attune Automation - -

-
-
- -
-

The following steps will guide you through the manual process.

-
- - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-
-

-

HTTP Request: Invoke-WebRequest is used to send an HTTP request to the -specified URI. The -Headers parameter includes the custom headers.

-

JSON Parsing: The response content is converted from JSON using -ConvertFrom-Json. To pretty-print the output, it's then -piped into ConvertTo-Json.

-

Check Response: The script checks if the ok property in the JSON response -is true. If not, it prints "Error" and exits with status 1.

-

-
-
- - - - - - - - - - -
-

- Connect via RDP: -

-
-
- -mstsc /admin /v:{automationworkerwindowsnode} - -
-
-

- Login as user {automationworkerwindowsuseradministrator} and open a - command prompt. -

-
- - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-
-$uri = "https://$PIKVM/api/auth/check"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-$response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Get
-
-# Output the response
-$response.Content | ConvertFrom-Json | ConvertTo-Json
-
-# Check if 'ok' in response is true
-$jsonResponse = $response.Content | ConvertFrom-Json
-if ($jsonResponse.ok -ne $true) {
-    Write-Host "Error"
-    exit 1
-}
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-
-$uri = "https://$PIKVM/api/info"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-$response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Get
-
-# Output the response
-$response.Content | ConvertFrom-Json | ConvertTo-Json
-
-# Check if 'ok' in response is true
-$jsonResponse = $response.Content | ConvertFrom-Json
-if ($jsonResponse.ok -ne $true) {
-    Write-Host "Error"
-    exit 1
-}
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-
-$uri = "https://$PIKVM/api/atx"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-$response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Get
-
-# Output the response
-$response.Content | ConvertFrom-Json | ConvertTo-Json
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-
-$uri = "https://$PIKVM/api/atx/click?button=power_long"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-$response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Post
-
-# Output the response
-$response.Content | ConvertFrom-Json | ConvertTo-Json
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-
-$uri = "https://$PIKVM/api/msd"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-$response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Get
-
-# Output the response
-$response.Content | ConvertFrom-Json | ConvertTo-Json
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-
-$uri = "https://$PIKVM/api/msd/set_connected?connected=0"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-try {
-    $response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Post
-
-    # Output the response
-    $response.Content | ConvertFrom-Json | ConvertTo-Json
-} catch {
-    
-    Write-Host "An error occurred: $_"
-
-    # Check if the error is 'MsdDisconnectedError'
-    if ($_ -match 'MsdDisconnectedError') {
-        Write-Host "MSD is disconnected from Server, but should be for this operation"
-        exit 0
-    }
-    
-    exit 1
-}
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-
-$uri = "https://$PIKVM/api/msd/reset"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-$response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Post
-
-# Output the response
-$response.Content | ConvertFrom-Json | ConvertTo-Json
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-$FILE = "kickstart_{newNode.fqn}.iso"
-
-$uri = "https://$PIKVM/api/msd/remove?image=$FILE"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-try {
-    $response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Post
-
-    # Output the response
-    $response.Content | ConvertFrom-Json | ConvertTo-Json
-} catch {
-    
-    Write-Host "An error occurred: $_"
-
-    # Check if the error is 'MsdDisconnectedError'
-    if ($_ -match 'MsdUnknownImageError') {
-        Write-Host "The image is not found in the storage."
-        exit 0
-    }
-    
-    exit 1
-}
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-$FILE = "kickstart_{newNode.fqn}.iso"
-$ISO_BUILD="{automationWorkerWindowsBaseDirectory}"
-$FilePath="$ISO_BUILD/$FILE"
-
-Set-Location ${ISO_BUILD}
-
-$FileStream = [System.IO.File]::OpenRead($FilePath)
-$FileContent = New-Object Byte[] $FileStream.Length
-$FileStream.Read($FileContent, 0, $FileContent.Length)
-$FileStream.Close()
-
-$uri = "https://$PIKVM/api/msd/write?image=$FILE"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-$response = Invoke-WebRequest `
-    -Uri $uri -Headers $headers `
-    -Method Post `
-    -Body $FileContent `
-    -ContentType "application/octet-stream"
-
-# Output the response
-$response.Content | ConvertFrom-Json | ConvertTo-Json
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-$FILE = "kickstart_{newNode.fqn}.iso"
-
-$uri = "https://$PIKVM/api/msd/set_params?image=$FILE"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-$response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Post
-
-# Output the response
-$response.Content | ConvertFrom-Json | ConvertTo-Json
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-
-$uri = "https://$PIKVM/api/msd/set_connected?connected=1"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-$response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Post
-
-# Output the response
-$response.Content | ConvertFrom-Json | ConvertTo-Json
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-
-$uri = "https://$PIKVM/api/atx/power?action=on"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-$response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Post
-
-# Output the response
-$response.Content | ConvertFrom-Json | ConvertTo-Json
-                
-            
-
-
- - - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-
-$uri = "https://$PIKVM/api/hid"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-function NumLock {
-    
-    try {
-        $response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Get
-        $jsonResponse = $response.Content | ConvertFrom-Json
-        $numLockStatus = $jsonResponse.result.keyboard.leds.num
-        return $numLockStatus
-    } catch {
-        Write-Host "Error occurred: $_"
-        return $false
-    }
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-Write-Host "Numlock is $(NumLock)"
-
-if ($(NumLock) -eq $false) {
-    Write-Host "Waiting for PowerOn"
-    while ($(NumLock) -eq $false) {
-        Start-Sleep -Seconds 1
-    }
-}
-
-Write-Host "Numlock is $(NumLock)"
-
-if ($(NumLock) -eq $true) {
-    Write-Host "Waiting for WinPE to turn off numlock"
-    while ($(NumLock) -eq $true) {
-        Start-Sleep -Seconds 5
-    }
-}
-
-Write-Host "Numlock is $(NumLock)"
-
-if ($(NumLock) -eq $false) {
-    Write-Host "Waiting reboot to turn numlock back on again"
-    while ($(NumLock) -eq $false) {
-        Start-Sleep -Seconds 2
-    }
-}
-
-Write-Host "Numlock is $(NumLock)"
-Write-Host "Installation is completed!"
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-
-$uri = "https://$PIKVM/api/msd/set_connected?connected=0"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-try {
-    $response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Post
-
-    # Output the response
-    $response.Content | ConvertFrom-Json | ConvertTo-Json
-} catch {
-    
-    Write-Host "An error occurred: $_"
-
-    # Check if the error is 'MsdDisconnectedError'
-    if ($_ -match 'MsdDisconnectedError') {
-        Write-Host "MSD is disconnected from Server, but should be for this operation"
-        exit 0
-    }
-    
-    exit 1
-}
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$PIKVM = "{pikvmIpAddress}"
-$USER = "{pikvmUserAdmin.user}"
-$PASSWORD = "{pikvmUserAdmin.password}"
-$FILE = "kickstart_{newNode.fqn}.iso"
-
-$uri = "https://$PIKVM/api/msd/remove?image=$FILE"
-$headers = @{
-    "X-KVMD-User" = $USER
-    "X-KVMD-Passwd" = $PASSWORD
-}
-
-# Bypass SSL certificate validation
-add-type @"
-    using System.Net;
-    using System.Security.Cryptography.X509Certificates;
-    public class TrustAllCertsPolicy : ICertificatePolicy {
-        public bool CheckValidationResult(
-            ServicePoint srvPoint, X509Certificate certificate,
-            WebRequest request, int certificateProblem) {
-            return true;
-        }
-    }
-"@
-[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
-
-try {
-    $response = Invoke-WebRequest -Uri $uri -Headers $headers -Method Post
-
-    # Output the response
-    $response.Content | ConvertFrom-Json | ConvertTo-Json
-} catch {
-    
-    Write-Host "An error occurred: $_"
-
-    # Check if the error is 'MsdDisconnectedError'
-    if ($_ -match 'MsdUnknownImageError') {
-        Write-Host "The image is not found in the storage."
-        exit 0
-    }
-    
-    exit 1
-}
-                
-            
-
-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - - - - - -
-

- Check if TCP Port 0 is listening. -

-

Use Telnet to check if the TCP Service is accepting connections.

-
- - - - - - - - - - - -
-
-

- -

-
-
- - - - - - - - - - -
-

- Connect via RDP: -

-
-
- -mstsc /admin /v:{newwindowsnode} - -
-
-

- Login as user {newwindowsnodeuseradministrator} and open a - command prompt. -

-
- - - - - - - -
-

- Execute the following script: -

-
-
-
-
-                
-$Start = Get-Date
-$count=0
-
-do {
-    $pct=$(Get-WmiObject win32_processor | select LoadPercentage).LoadPercentage;
-    Write-Host "LoadPercentage: $pct, Count: $count";
-    if ($pct -lt 15) {
-        $count += 1;
-    } else {
-        $count=0
-    }
-    
-    if ( $count -ge 10 ) {
-        Write-Host "Wait completed, the device was idle for 10 seconds";
-        break;
-    }
-    
-    if ( ( Get-Date ) -gt $Start.AddMinutes(2) ) {
-        Write-Host "Wait timed out, we waited two minutes";
-        break;
-    }
-    
-} until ($false);
-                
-            
-
-
- - - - - - - -
-
-

Completed

-

- You have completed this instruction. -

-
-
-
-
- - - -
-
-
-
- Attune - Powered by ServerTribe -

- Automate with Attune -

-

- Download the Attune Community Edition. -

-

- - DOWNLOAD!!! - -

-
-
-
-
- -
- - - -
-
-

- Discuss this Project in Discord -

-

- - Join our Discord channel and connect with like-minded individuals who - share your passion. Engage in lively discussions, gain valuable insights, - and stay updated on the latest trends in our industry. Don't miss out on - this opportunity to network, learn, and grow together. -

-
-
-

- Click the link below and become a part of our vibrant community on - Discord today! -

-

- - Join NOW!!! - -

-
-
-
- -
-
- - - - - - - - - - - - - - - - - - diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index 16322ef..0000000 --- a/docs/index.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - - Attune Automation Project: PiKVM APIs on Windows - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - -
- -
-
-

- Attune Project: PiKVM APIs on Windows -

-
-
-
-
-

- -

-
-
-
-
-
- This documentation is generated by - - Attune - -
-
- -
-
-
- -
-
-
- - - -
-
-
-
-

- This project contains the following - documentation and instruction sets: -

-
-
- - - -
-
- - - -
-
-
-
- Attune - Powered by ServerTribe -

- Automate with Attune -

-

- Download the Attune Community Edition. -

-

- - DOWNLOAD!!! - -

-
-
-
-
-
- - - -
-
-

- Discuss this Project in Discord -

-

- - Join our Discord channel and connect with like-minded individuals who - share your passion. Engage in lively discussions, gain valuable insights, - and stay updated on the latest trends in our industry. Don't miss out on - this opportunity to network, learn, and grow together. -

-
-
-

- Click the link below and become a part of our vibrant community on - Discord today! -

-

- - Join NOW!!! - -

-
-
-
-
-
- - - - - - - - - - - diff --git a/docs/styles/style.css b/docs/styles/style.css deleted file mode 100644 index 189413c..0000000 --- a/docs/styles/style.css +++ /dev/null @@ -1,103 +0,0 @@ - - -body { - min-height: 100vh; - color: #4d5b7c; -} - -.navbar-img { - max-width: 300px; -} - -.description a { - color: #0062cc; -} - -a { - color: inherit; -} - -a:hover { - color: rgb(3, 27, 78); - text-decoration: inherit; -} - -.card { - border-radius: 1rem; -} - -.jumbotron { - padding: 2em; - background-color: rgba(200, 223, 255, 0.4); - border-radius: 1rem; -} - -.documentation { - width: 100%; - background-color: white; -} - -.toc { - z-index: 1000; -} - -.tech-card { - display: block; - text-decoration: none; - padding: 15px; - border-radius: 2px; - border: 1px solid #e9f0f3; - text-align: left; - -webkit-transition: 0.2s; - transition: 0.2s; - background: #fff; -} - -.attune-ad { - background-image: "https://www.servertribe.com/wp-content/uploads/2022/05/home_row_background_1-1.jpg"; - background-repeat: no-repeat; - background-color: rgba(200, 223, 255, 0.4); - background-size: cover; - border-radius: 1rem; -} - -.attune-ad h5 { - color: rgb(0, 12, 43); - font-size: 16px; - font-weight: 700; - line-height: 24px; - margin: 0px 0px 8px; -} - -.attune-ad p { - color: rgb(77, 91, 124); - font-size: 14px; - line-height: 20px; - margin: 0px; -} - -.attune-ad a { - font-size: .75rem; -} - -code[class*="language-"] { - font-size: 14px; - margin-bottom: 1em; -} - -:not(pre) > code[class*="language-"] { - padding: .5em 1em !important; - background: #081b4b; -} - -pre[class*="language-"] { - padding: 0 1em; - margin-bottom: 1em; - border-radius: 10px; - white-space: normal !important; - background: #081b4b; -} - -.prompts { - padding: .5em; -} \ No newline at end of file