❗ All the information provided on this tutorial are for educational purposes only. I'm not responsible for any misuse of this information. If you like the app buy it
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
Param( | |
[parameter(Mandatory = $true)] | |
[string] | |
$vCenter, | |
[parameter(Mandatory = $true)] | |
[string] | |
$TargetCluster, | |
[parameter(Mandatory = $true)] | |
[string] | |
$User, |
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
#!/bin/bash | |
####################################################################################### | |
# | |
# vCenter Backup - vcsa_backup.sh | |
# Create a Backup of the vCenter Server Appliance | |
# 1.0 - [21/11/2023] danielchc | |
# | |
####################################################################################### | |
function echo_log () { |
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
// ==UserScript== | |
// @name Quitar Limite El Pais | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Quitar límite articulos ElPais | |
// @author danielchc | |
// @match https://elpais.com/* | |
// @grant none | |
// ==/UserScript== |
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
0.0.0.0 a.stat.xiaomi.com | |
0.0.0.0 abtest.mistat.intl.xiaomi.com | |
0.0.0.0 abtest.mistat.xiaomi.com | |
0.0.0.0 ad.mi.com | |
0.0.0.0 ad.xiaomi.com | |
0.0.0.0 ad1.xiaomi.com | |
0.0.0.0 adv.sec.miui.com | |
0.0.0.0 api.account.xiaomi.com | |
0.0.0.0 api.ad.xiaomi.com | |
0.0.0.0 api.admob.xiaomi.com |
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
for /f "skip=4 usebackq tokens=2" %%a in (`nslookup myip.opendns.com resolver1.opendns.com`) do echo %%a |
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
@echo off | |
set dnsservers=1.1.1.1 1.0.0.1 9.9.9.9 149.112.112.112 8.8.8.8 8.8.4.4 208.67.222.222 208.67.220.220 91.239.100.100 89.233.43.71 | |
(for %%a in (%dnsservers%) do ( | |
ping -n 1 %%a |findstr "TTL=" | |
)) | |
pause |
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
param([String]$FileName='ADGroups.csv') | |
Import-Module ActiveDirectory 2>$nul | |
$groups=ForEach ($i in Get-ADGroup -Filter 'groupcategory -eq "security"' -searchbase "OU=Domain Users,dc=ORGANITATION,dc=local" | Where-Object { !($_.Name -like "*Domain*")} ){ | |
Get-ADGroupMember $i | Where-Object {($_.objectClass -eq "user")} | Select @{n='DistributionName';e={$i.Name}},Name,SamAccountName | |
} | |
$groups |Export-CSV $FileName -NoTypeInformation -Encoding UTF8 |
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
param([String]$printerTarget='',[String]$printServer='') | |
$conex="\\$printServer\$printerTarget" | |
if ((Get-Printer).Name -eq $conex){ | |
"Printer already installed: $($printerTarget)" | |
}else{ | |
$printClass = [wmiclass]"Win32_Printer" | |
$printClass.AddPrinterConnection($conex) | Out-Null | |
(Get-WmiObject -Class Win32_Printer -Filter "ShareName='$($printerTarget)'").SetDefaultPrinter() | Out-Null | |
"Installed: $($printerTarget)" |
NewerOlder