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
<# | |
.SYNOPSIS | |
Finds the download URL for IntuneWindowsAgent. | |
.DESCRIPTION | |
This script retrieves the download URL for IntuneWindowsAgent from the registry. | |
It checks the registry path for the specified subkeys and retrieves the DownloadUrlList and ProductVersion properties. | |
.EXAMPLE | |
.\FindIMEDownloadURL.ps1 | |
This command runs the script to find the download URL for IntuneWindowsAgent. | |
.NOTES |
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
function Update-CSVDelimiter { | |
param ( | |
[string]$FilePath, | |
[string]$Encoding = "ISO-8859-1", # Default encoding, can be changed | |
[switch]$ToComma, # Switch to convert ";" to "," | |
[switch]$ToSemicolon # Switch to convert "," to ";" | |
) | |
# Check if the specified file exists | |
if (Test-Path $FilePath) { |
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
@echo off | |
:: GSolone, 2025 | |
:: Rinomina i file PDF ottimizzati tramite Stirling-PDF e toglie dal nome "_Optimized" | |
:: Inserisci questo file batch nella cartella contenente i file PDF e lancialo. Spostalo ovunque tu ne abbia necessità. | |
setlocal enabledelayedexpansion | |
set "findWord=_Optimized" | |
for %%F in (*) do ( | |
set "oldName=%%F" | |
set "newName=!oldName:%findWord%=!" | |
if not "!oldName!"=="!newName!" ren "%%F" "!newName!" |
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
iPod2C1 = iPod Touch 2 | |
iPod3C1 = iPod Touch 3 | |
iPod4C1 = iPod Touch 4 | |
iPod5C1 = iPod Touch 5 | |
iPad1C1 = iPad | |
iPad2C1 = iPad 2 WIFI | |
iPad2C2 = iPad 2 WIFI + 3G | |
iPad2C3 = iPad 2 WIFI + 3G CDMA | |
iPad2C4 = iPad Mini - WIFI |
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
import csv | |
import sys | |
if len(sys.argv) != 3: | |
print("Utilizzo: python script.py input_file.csv output_file.csv") | |
sys.exit(1) | |
input_file = sys.argv[1] | |
output_file = sys.argv[2] |
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
# Retrieve the status (and the version) of the VMware Tools and the Hardware Version (Compatibility) of all VMs powered on | |
# GSolone, 2023 | |
# Credits | |
# https://communities.vmware.com/t5/VMware-vSphere-Discussions/How-to-check-VMware-Tools-status-of-VM-use-PowerCLI/td-p/2278893 | |
# https://blogs.vmware.com/PowerCLI/2018/09/discovering-vms-with-specific-vmware-tools-versions.html | |
Set-Variable ProgressPreference Continue | |
$arr_VMStats = @() | |
$ProcessedCount = 0 |
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
Param( | |
[Parameter(Position=0, Mandatory=$true, ValueFromPipeline=$true, HelpMessage="User principal name (es. [email protected])")] | |
[string] $UserPrincipalName | |
) | |
function priv_CheckMGGraphModule { | |
$mggConnected = $false | |
if ( (Get-Module -Name Microsoft.Graph -ListAvailable).count -gt 0 ) { | |
try { |
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
<# | |
.SYNOPSIS | |
Find active Skype for Business services on the entire tenant using Microsoft Graph. | |
.DESCRIPTION | |
Find active Skype for Business services on the entire tenant using Microsoft Graph. Generates an array containing the detected user and license and displays it on the screen. | |
It also saves the same data in a CSV file within the folder from which you are launching the script (Current Directory in PowerShell) that can be used for later manipulation of users and licenses (and active Skype for Business plans). | |
You can execute this script without parameters and wait for results. | |
.NOTES |
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
apt-get update | |
apt-get install qemu-guest-agent -y | |
systemctl unmask systemd-logind | |
apt install dbus -y | |
systemctl start systemd-logind |
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
<# | |
GSolone, 2023 | |
Credits: | |
https://stackoverflow.com/a/44337588 | |
Changes: | |
7/7/23- Improve: I provide for download-only capability via script with parameter -DownloadOnly (without installation). | |
Change: removed pause command, if I download the installation package I will proceed and notify on screen. | |
#> | |
param( |
NewerOlder