| Component | Location | ESXi Host LogsPurpose | |
|---|---|---|---|
| 1. | VMkernel | /var/log/vmkernel.log | ESXi |
| 2. | VMkernel warnings | /var/log/vmkwarning.log | Records activities related to virtual machines |
| 3. | VMkernel summary | /var/log/vmksummary.log | Used to determine uptime and availability statistics for ESXi (comma separated) |
| 4. | ESXi host agent log | /var/log/hostd.log | Contains information about the agent that manages and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $gitHubUrl = 'https://github.com/portapps/mremoteng-portable/releases/latest' | |
| $assetName = "mremoteng-portable-win32-*.7z" | |
| $gitHubApi = $gitHubUrl -replace '^https://github.com/', 'https://api.github.com/repos/' | |
| $response = Invoke-WebRequest -Uri $gitHubApi -UseBasicParsing | |
| $json = $response.Content | ConvertFrom-Json | |
| $release = $json.assets | Where-Object Name -like $assetName | |
| Invoke-WebRequest $release.browser_download_url -OutFile ".\$($release.name)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone https://<PAT>@dev.azure.com/<yourOrgName>/<yourProjectName>/_git/<yourRepoName> |
This method gives the most appropriate answer on older Linux Distributions:
cat /etc/issue
This method works best on modern Linux distributions:
$jekyll = 'docker run -it --rm --volume=C:\Users\m.batsching\git\manualbashing\:/srv/jekyll --volume=cache:/usr/local/bundle -p 4000:4000 jekyll/jekyll jekyll'
# Get the jekyll version
iex "$jekyll --version" | Select-Object -Last 1
# Create a new blog
iex "$jekyll new . --force"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Invoke-Elevated | |
| { | |
| [Alias('sudo')] | |
| [CmdletBinding()] | |
| param( | |
| [switch] | |
| $NoExit, | |
| [parameter(ValueFromRemainingArguments=$True)] | |
| [object[]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $xls = New-Object -ComObject excel.application | |
| $xls.Visible = $false | |
| $xls.DisplayAlerts = $false | |
| $wb = $xls.Workbooks.Open("$pwd\anforderungen.xlsx") | |
| $wb.Worksheets | ForEach-Object { $_.SaveAs("$pwd\" + $_.Name + '.csv',6) } | |
| $xls.Quit() | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Put this into the user profile | |
| $env:LC_ALL = 'C.UTF-8' |