Skip to content

Instantly share code, notes, and snippets.

@RafaelM1994
RafaelM1994 / exit_codes_kubernetes.md
Last active March 6, 2025 05:05
exit_codes_kubernetes.md
Exit Code Name Description
0 Purposely stopped The container stopped normally and on purpose, often as part of an automated process.
1 Application error The application crashed due to an uncaught exception, incorrect image reference, or other issue.
125 Container failed to run error The docker run command failed to execute properly. Often caused by misconfigured images or permissions issues.
126 Command invoke error A command inside the container was not executable (e.g., due to permission issues).
127 File or directory not found A specified file or directory does not exist inside the container.
128 Invalid argument on exit The container exited incorrectly with an invalid code (valid exit codes range from **0
@RafaelM1994
RafaelM1994 / Get-DropboxFolder.ps1
Created February 23, 2020 00:07
Get-DropboxFolder.ps1
function Get-DropboxFolder {
[CmdletBinding()]
Param(
[string]$DropboxFolder,
[string]$OutputFolder,
[string]$FolderPath
)
$body = '{"path":"/'+$DropboxFolder+'"}'
@RafaelM1994
RafaelM1994 / Get-ClusterHealthReport.ps1
Created December 28, 2019 17:04
Get-ClusterHealthReport.ps1
<#
.SYNOPSIS
Script to Generate a Health Report.
.DESCRIPTION
This script will a generate a report of the cluster Health and its virtual machines, and then send it via email.
The information will be retrieved from the Virtual Machine Manager.
.NOTES
Author: Rafael de Jesus Medeiros <[email protected]>
GitHub: https://github.com/RafaelM1994/Powershell-Scripts/
Creation Date: 11/09/2019
@RafaelM1994
RafaelM1994 / Get-BitlockerKeys.ps1
Created December 18, 2019 01:13
Get-BitlockerKeys Full Code
<#
.SYNOPSIS
Script to retrieve all of the bitlocker keys from the computer accounts.
.DESCRIPTION
This script will a generate a csv file that contains the name of the computers
and their respectives bitlocker keys that were stored in the Active Directory.
.NOTES
Author: Rafael de Jesus Medeiros <[email protected]>
GitHub: https://github.com/RafaelM1994/Powershell-Scripts/
Creation Date: 12/01/2019