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
<# | |
.EXTERNALMODULEDEPENDENCIES Microsoft.Graph (v.2.0.0-preview) | |
.DESCRIPTION | |
This script monitors apple token expiration in Intune (Intune) and checks if DEP, VPP, and APNS tokens, | |
certificates are valided after the number of specified days. | |
It utilizes Microsoft.Graph (v.2.0.0-preview) module to authenticate with the system managed identity of your | |
Azure Automation Account. | |
Permissions Required: DeviceManagementServiceConfig.Read.All, DeviceManagementApps.Read.All Directory.Read.All |
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 | |
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### | |
# I customized the script written by @ninjabes to my needs | |
# https://forum.proxmox.com/threads/problems-migrating-lxc-from-ubuntu2004-to-proxmox.100815/post-435303 | |
# This is currently the only workaround I know for the UID/GID mapping issues after importing rootfs exports from LXD / LXC | |
# Ubuntu 20.04 into proxmox 7.2-11 | |
# The resulting containers have various permission issues and UIDs & GIDs aren't mapped correctly. | |
# Example: ls -alh | |
# total 44K |
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
<# | |
"Written" by Florian Obradovic #Not_A_Coder #not_pretty | |
This script exports a given certificate from Azure key vault and assigns it to all Azure Application Proxy Applications | |
It will NOT work in Azure Cloud Shell: | |
$certCollection.Import($kvSecretBytes,$null,[System.Security.Cryptography.X509Certificates.X509KeyStorageFlags]::Exportable) | |
MethodInvocationException: Exception calling "Import" with "3" argument(s): "ASN1 corrupted data." | |
#> |
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
Big THX to Satmandu. | |
I just forked his scripts and added a README (https://gist.github.com/satmandu/4da5e900c2c80c93da38c76537291507) | |
HowTo: | |
create /lib/systemd/system/zpool-local.service and set your pool name (mine: tank) and the startup priority/Dependencies: | |
Before=smbd.service snap.lxd.daemon.service | |
ExecStart=+/usr/local/sbin/mount_zfs.sh tank | |