outdated, someone else is updating the list now -> https://gist.github.com/Fobxx/107e2bad2bf7312cd49431c696aac912
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
# Copyright: (c) 2021, Jordan Borean (@jborean93) <jborean93@gmail.com> | |
# MIT License (see LICENSE or https://opensource.org/licenses/MIT) | |
Function ConvertTo-UnattendedIso { | |
<# | |
.SYNOPSIS | |
Converts a Windows ISO to one that doesn't require any keys to press on boot. | |
.PARAMETER Path | |
The Windows ISO to convert the UEFI loader to the no_prompt version. |
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
$Test = [PSCustomObject] @{ | |
FirstName = 'Stefan' | |
LastName = 'Stranger' | |
#"Difffrent parametr" = 'ok' | |
} | |
function Get-WhereObject { | |
[cmdletBinding()] | |
param( | |
[Parameter(Mandatory, Position = 0, ValueFromPipeline)][PSCustomObject] $Test |
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
#!/usr/bin/env powershell | |
if ($args -contains '--list') { | |
$output = @{ | |
'all' = @('server1.domain.com', 'server2.domain.com') | |
'webservers' = @('server1.domain.com') | |
'_meta' = @{ | |
'hostvars' = @{ | |
'server1.domain.com' = @{ | |
myvar = 'metavariable' |
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
{ | |
"AATes123": true, | |
"AcrylicAndBackground": true, | |
"AudioInfoSync": true, | |
"BatteryIndicator": true, | |
"CallingDiscoveryTimeout": 30, | |
"CallingEnableOnARM": true, | |
"CallingFromMessages": true, | |
"CallingLabelInProd": true, | |
"CallingNode": true, |
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
# Editing a virtual machine file | |
# This PowerShell code takes an unregistered VMCX file | |
# It change the VM Name, disables Dynamic Memory, and sets the memory to 2GB | |
# It then saves the changed virtual machine configuration to a new path | |
# Parameters that will be changed | |
$VMConfigurationToEdit = "D:\VMs\Virtual Machines\3F99446F-1D9A-4010-8C8B-4E554E845181.vmcx" | |
$pathToSaveNewConfigTo = "D:\" | |
$newVMName= "NewVMName" |
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
HPONCFG all << end_marker | |
<RIBCL VERSION="2.0"> | |
<LOGIN USER_LOGIN="Dontcare" PASSWORD="UsingAutologin"> | |
<USER_INFO MODE="write"> | |
<ADD_USER | |
USER_NAME="daniel" | |
USER_LOGIN="daniel" | |
PASSWORD="daniel123"> | |
<ADMIN_PRIV value ="Yes"/> | |
<REMOTE_CONS_PRIV value ="Yes"/> |