全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

登錄


全部 新建 登錄

所有 Gists

倒序排序 創建
順序排序 創建
倒序排序 更新
順序排序 更新
gioxx's Avatar

gioxx / config.psd1

0 喜歡
0 分支
1 檔案
最後活躍 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 喜歡
0 分支
2 檔案
最後活躍 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 喜歡
0 分支
1 檔案
最後活躍 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}
上一頁 下一頁

由 Opengist 提供支持 ⋅ Load: 50ms⋅

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