This file contains 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
# Author: Jérôme Bezet-Torres | |
# Twitter: @JM2K69 | |
# Website: jm2k69.github.io | |
# Network and Domain Data ## | |
$network = "10.0.0." | |
$domain = "vexpert.lab" | |
$VCSASSODomainName = "vsphere.local" | |
$TrueNasIP = "172.18.0.4" |
This file contains 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
terraform apply -auto-approve | |
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
# vsphere_vapp_container.vapp_container will be created | |
+ resource "vsphere_vapp_container" "vapp_container" { | |
+ cpu_expandable = true |
This file contains 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
terraform apply -auto-approve | |
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
# vsphere_vapp_container.vapp_container will be created | |
+ resource "vsphere_vapp_container" "vapp_container" { | |
+ cpu_expandable = true |
This file contains 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 New-TestINTEGER | |
{ | |
[CmdletBinding()] | |
[Alias()] | |
[OutputType([int])] | |
Param | |
( | |
[Parameter (Mandatory = $true)] | |
[Int]$Volsize, | |
[Parameter (Mandatory = $true)] |
This file contains 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
## This PowerShell will create a PowerShell Notebook which will create a PowerShell Notebook! | |
# This serves no useful purpose :-) | |
$introCelltext = "# This notebook will create a notebook" | |
$SecondCelltext = "### Installation | |
You can install ADSNotebook from the PowerShell Gallery using `Install-Module ADSNotebook` " | |
$thirdcelltext = " `$introCelltext = ' # This notebook was created by a notebook ' | |
`$SecondCelltext = '### Installation | |
You can install ADSNotebook from the PowerShell Gallery using `Install-Module ADSNotebook` ' | |
`$thirdcelltext = 'Install-Module dbatools' |
This file contains 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 Found-ADK | |
{ | |
[CmdletBinding()] | |
param | |
( | |
[Parameter(Mandatory = $true)] | |
$OsCulture = 'FR-FR' | |
) | |
switch ($OsCulture) |
This file contains 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 Get-LatestUpdate | |
{ | |
<# | |
.SYNOPSIS | |
Get the latest Cumulative update for Windows | |
.DESCRIPTION | |
This script will return the list of Cumulative updates for Windows 10 and Windows Server 2016 from the Microsoft Update Catalog. | |
.NOTES |