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
<# | |
OFFICE 365: Expand Countries from Location Policies on Azure AD (Get-AzureADMSNamedLocationPolicy) for PowerShell 7 | |
--------------------------------------------------------------------------------------------------- | |
Autore: GSolone | |
Versione: 0.1 | |
Utilizzo: .\AzureADMSNamedLocationPolicy-CountriesTranslate.ps1 | |
Info: https://gioxx.org/tag/o365-powershell | |
Fonti utilizzate: https://learn.microsoft.com/en-us/powershell/module/azuread/get-azureadmsnamedlocationpolicy?view=azureadps-2.0 | |
https://datahub.io/core/country-list | |
https://stackoverflow.com/a/5466355/2220346 |
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 | |
# Electricity Power Check Script | |
# GSolone, 2022 - https://gioxx.org | |
#================================================================================ | |
# Credits: | |
# https://raspberrypi-guide.github.io/programming/run-script-on-boot | |
# https://unix.stackexchange.com/a/616085 | |
# https://www.cyberciti.biz/faq/unix-linux-bash-script-check-if-variable-is-empty/ | |
# https://www.cyberciti.biz/tips/howto-linux-unix-write-to-syslog.html | |
# https://askubuntu.com/a/77739 |
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
import requests | |
import urllib.request | |
import base64 | |
import json | |
import os | |
import shutil | |
import subprocess | |
import hashlib | |
channel = "LATEST_FIREFOX_VERSION" |
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
<# | |
Remove homenet.telecomitalia.it from Windows DNS Suffix | |
GSolone 22/3/22 | |
Credits: | |
https://superuser.com/a/1507551 | |
https://docs.microsoft.com/en-us/powershell/module/dnsclient/set-dnsclientglobalsetting?view=windowsserver2022-ps&viewFallbackFrom=win10-ps | |
https://www.mssqltips.com/sqlservertip/5459/how-to-modify-the-global-dns-configuration-on-servers-using-powershell/ | |
https://adamtheautomator.com/powershell-replace/ | |
#> | |
try { |
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
AAD_BASIC= Azure Active Directory Basic | |
AAD_PREMIUM= Azure Active Directory Premium | |
AAD_PREMIUM_P1= Azure Active Directory Premium P1 | |
AAD_PREMIUM_P2= Azure Active Directory Premium P2 | |
ADALLOM_O365= Office 365 Advanced Security Management | |
ADALLOM_STANDALONE= Microsoft Cloud App Security | |
ADALLOM_S_O365= POWER BI STANDALONE | |
ADALLOM_S_STANDALONE= Microsoft Cloud App Security | |
ATA= Azure Advanced Threat Protection for Users | |
ATP_ENTERPRISE= Exchange Online Advanced Threat Protection |
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
; GetWindowsVersion 4.1.2 (2022-01-24) - alternate script with server versions | |
; | |
; Based on Yazno's function, http://yazno.tripod.com/powerpimpit/ | |
; Update by Joost Verburg, Giovanni 'Gioxx' Solone | |
; Update (Macro, Define, Windows 7 detection) - John T. Haller of PortableApps.com - 2008-01-07 | |
; Update (Windows 8 detection) - Marek Mizanin (Zanir) - 2013-02-07 | |
; Update (Windows 8.1 detection) - John T. Haller of PortableApps.com - 2014-04-04 | |
; Update (Windows 2008, 2008R2, 2012 and 2012R2 detection) - Francisco Simoões Filho franksimoes@gmail.com - 2014-08-25 | |
; Update (Windows 10 TP detection) - John T. Haller of PortableApps.com - 2014-10-01 | |
; Update (Windows 10 TP4 and 2016 detection, and added include guards) - Kairu - 2015-06-22 |
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
'GSolone 2019 | |
' ult.mod. 9/2/22: integro le eccezioni per cartelle e file da escludere dalla pulizia | |
' Credits: | |
' https://www.experts-exchange.com/questions/23543652/VBScript-to-delete-all-files-and-folders-in-a-directory.html | |
' https://www.automateexcel.com/vba/getfolder-getfile/ | |
' https://superuser.com/a/1127074 | |
strFolder = "C:\ManageEngine\ServiceDesk\Patch" | |
intDays = 0 |
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/sh | |
# @author: Alexandre Plennevaux | |
# @description: MIRROR DISTANT FOLDER TO LOCAL FOLDER VIA FTP | |
HOST='sftp://ftp.domain.com' | |
USER='ftpusername' | |
PASSWORD='ftppassword' | |
REMOTE_DIR='/absolute/path/to/remote/directory' | |
LOCAL_DIR='/absolute/path/to/local/directory' |
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
' Outlook 2016: Attachment Reminder | |
' ----------------------------------------------------------------------------------------------------------- | |
' Author: GSolone | |
' Version: 0.1 | |
' Last modified: 21-01-2022 | |
' Credits: https://www.slipstick.com/outlook/email/attachment-missing-from-outlook-message/ | |
' https://stackoverflow.com/questions/40934390/how-to-check-for-attachment-when-sending-an-email | |
' ------------------------------------------------------------------------------------------------------------ | |
' UPDATES: | |
' - |
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 | |
:: Windows 10 Start Options Disable | |
:: https://gioxx.org/tag/StartOptionDisable | |
:: GSolone 2021 (ult.mod. 15112021-rev5) | |
:: Check Windows Version | |
for /f "tokens=4,5,6 delims=[]. " %%G in ('ver') Do (set _major=%%G& set _minor=%%H& set _build=%%I) | |
if '%_major%' NEQ '10' ( | |
echo Windows 10 non rilevato, premi un tasto per terminare lo script. | |
pause > NUL |