All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
gioxx's Avatar

gioxx / config.psd1

0 likes
0 forks
1 files
Last active 1748337338
1 # This is a config.psd1 example for PSADT4+
2
3 @{
4 Assets = @{
5 # Specify filename of the logo.
6 Logo = '..\Assets\AppIcon.png'
7
8 # Specify filename of the banner (Classic-only).
9 Banner = '..\Assets\Banner.Classic.png'
10 }
gioxx's Avatar

gioxx / UtentiAD_in_scadenza.ps1

0 likes
0 forks
2 files
Last active 1733223535
1 Import-Module ActiveDirectory
2
3 # Definisci la scadenza account (in questo caso filtro gli account che scadranno entro il 31/12 dell'anno in corso)
4 $oggi = Get-Date
5 $fineAnno = Get-Date -Year $oggi.Year -Month 12 -Day 31
6
7 $utenti = Get-ADUser -Filter {Enabled -eq $true} -Property SamAccountName, DisplayName, AccountExpirationDate |
8 Where-Object { $_.AccountExpirationDate -and $_.AccountExpirationDate -le $fineAnno }
9 $utenti | Select-Object SamAccountName, DisplayName, AccountExpirationDate | Format-Table -AutoSize
gioxx's Avatar

gioxx / cloudflared-compose.yml

0 likes
0 forks
1 files
Last active 1720811960
1 services:
2 cloudflared:
3 image: cloudflare/cloudflared:latest
4 container_name: cloudflared
5 restart: unless-stopped
6 command: tunnel run
7 environment:
8 - TUNNEL_TOKEN=${TUNNEL_TOKEN}
Newer Older

Powered by Opengist ⋅ Load: 50ms⋅

日本語
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ Blog