I hereby claim:
- I am mantoine96 on github.
- I am mantoine (https://keybase.io/mantoine) on keybase.
- I have a public key ASCfIr-82THl1wXD58ze8Lv8SEqI-qslKG14GXD55NMfswo
To claim this, I am signing this object:
? github.com/gruntwork-io/terragrunt [no test files] | |
? github.com/gruntwork-io/terragrunt/aws_helper [no test files] | |
=== RUN TestParseTerragruntOptionsFromArgs | |
=== PAUSE TestParseTerragruntOptionsFromArgs | |
=== RUN TestFilterTerragruntArgs | |
=== PAUSE TestFilterTerragruntArgs | |
=== RUN TestParseMultiStringArg | |
=== PAUSE TestParseMultiStringArg | |
=== RUN TestParseMutliStringKeyValueArg | |
=== PAUSE TestParseMutliStringKeyValueArg |
I hereby claim:
To claim this, I am signing this object:
$file = "C:\Users\mantoine.AKERVA\Desktop\out.txt" | |
Import-CSV C:\Users\mantoine.AKERVA\Desktop\Classeur1.csv | Foreach-Object { | |
$oldserver = $_.oldserver | |
$newserver = $_.newserver | |
If ((Test-Connection $oldserver -Count 1 -Quiet) -eq $true){ | |
Write-Output "oldserver = $oldserver is responding to PING `n" | |
Get-WmiObject -ComputerName -ComputerName $oldserver Win32_SystemEnclosure -Credential $cred |Select-Object __Server, SerialNumber, SMBiosAssetTag -ErrorAction Stop | |
Get-WmiObject win32_computersystem -cn $oldserver -Cr $cred | ft -AutoSize -ErrorAction Stop | |
Get-WmiObject win32_Service -cn $oldserver -Cr $cred | ft -AutoSize -ErrorAction Stop |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <sys/socket.h> | |
#include <stdint.h> | |
#include <errno.h> | |
#include <arpa/inet.h> | |
#include <linux/if_packet.h> | |
#include <sys/ioctl.h> |
#Install Modules before ! | |
$host1 = Read-Host 'IP du dc secondaire a preparer pour l''install de WMF5.0 (IP/host)' | |
$host2 = Read-Host 'IP du second node a preparer pour l''install de WMF5.0 (IP/host)' | |
$host3 = Read-Host 'IP du troisieme node a preparer pour l''install de WMF5.0 (IP/host)' | |
$hosts = $host1 + ',' + $host2 + ','+ $host3 | |
Set-WSManInstance -ResourceURI winrm/config/client -ValueSet @{TrustedHosts=$hosts} | |
$session = New-PSSession -ComputerName $host1,$host2,$host3 -Credential (Get-Credential) | |
#Install WMF5.0 | |
Invoke-Command -ComputerName $host1 -Credential (Get-Credential){ | |
Invoke-WebRequest http://download.microsoft.com/download/B/5/1/B5130F9A-6F07-481A-B4A6-CEDED7C96AE2/WindowsBlue-KB3037315-x64.msu -OutFile C:\WindowsBlue.msu |