Alle Neu

user:thomas Gists erstellt von Nutzer

title:mygist Gists mit Titel

filename:myfile.txt Gists mit Dateinamen

extension:yml Gists mit Dateiendung

language:go Gists in Sprache

topic:homelab gists with given topic

Anmelden


Alle Neu Anmelden

Alle Gists

Neueste erstellt
Älteste erstellt
Neueste bearbeitet
Älteste bearbeitet
gioxx's Avatar

gioxx / config.psd1

0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 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 Favoriten
0 Forks
2 Dateien
Zuletzt aktiv 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 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 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}
Neuer Älter

Powered by Opengist ⋅ Load: 48ms⋅

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