All New

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

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

all:systemctl search all fields

Login

All New Login

All gists matching topic powershell

Recently created
Least recently created
Recently updated
Least recently updated

tacksupport / Audit a Teams Group

0 likes
0 forks
1 files
Last active 6 days ago
powershell windows
1 Connect-ExchangeOnline
2 # Enter the email address to connect with below
3 $Email =
4 $Group = Get-UnifiedGroup -Identity $Email
5 $GroupId = $Group.ExternalDirectoryObjectId
6 $Group.ExternalDirectoryObjectId
7 Remove-Variable Group, GroupId
8
9 Import-Module MicrosoftTeams
10 Connect-MicrosoftTeams

tacksupport / Remotely Fetch Installed Programs

0 likes
0 forks
1 files
Last active 6 days ago
powershell windows
1 # Fill in the computer name below
2
3 $ComputerName =
4
5 Get-WmiObject win32_product -ComputerName $ComputerName | Sort-Object | select Vendor, Name, version

tacksupport / Remotely Fetch a Computer's UUID

0 likes
0 forks
1 files
Last active 6 days ago
powershell windows
1 # Enter the computer name below
2
3 $ComputerName =
4
5 (Get-CimInstance -Class Win32_ComputerSystemProduct -ComputerName $ComputerName).UUID
Newer Older

Powered by Opengist ⋅ Load: 85ms⋅

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