Getting Started
To run the scripts on your machine, open PowerShell and execute one of these commands:
PS> irm 3n.si/PSScripts | iex
This command downloads the script index and lets you select one or more scripts to run.
PS C:\Users\admin> irm scripts.nikigre.si | iex === Available Scripts (Grouped by Category) === === Exchange === [1] Export-MailboxSizes Exports all mailbox sizes (in GB) to CSV Outputs: MailboxSize.csv Last Modified: 2025-06-13 10:06 [2] Export-DistributionGroups Exports Distribution groups and its properties Outputs: ExportDGs.csv Last Modified: 2025-06-13 10:27 Enter script IDs (space separated, e.g. '1 3 5'):
Requirements
- Windows PowerShell 5.1 or higher (or PowerShell Core)
- Internet access to fetch the script
- Execution policy must allow remote scripts (
Set-ExecutionPolicy RemoteSigned) - Some scripts may require Exchange or AD modules installed
Security
All scripts are fetched from a central server and execute locally on your machine. No administrative credentials are transmitted over the network.
Available Scripts
17 Get-Computers ActiveDirectory - Computers
Gets the list of active computers for the time period from now to X days entered by the user.
5 Export-GroupMembersMatrix ActiveDirectory - Groups
Exports group membership matrix (groups as columns, users as rows) for Excel.
6 Export-GroupsWithMembers ActiveDirectory - Groups
Exports all groups with members listed in a single line per group.
7 Export-GroupMembersDetailed ActiveDirectory - Groups
Exports detailed group membership data (GROUP, GROUP_TYPE, ACCOUNTNAME) for easy filtering in Excel.
8 Export-GroupMembersAsText ActiveDirectory - Groups
Exports group members in plain text format for quick review.
2 Export-PasswordNeverExpiresUsers ActiveDirectory - Users
Exports all users with 'PasswordNeverExpires' and 'Enabled' flag to CSV.
3 Export-UserBasicData ActiveDirectory - Users
Exports user attributes: Name, SamAccountName, LastLogon, PasswordNeverExpires, Enabled status.
4 Export-UserDescriptions ActiveDirectory - Users
Exports all users with their descriptions and enabled status.
9 Export-UsersWithOUPath ActiveDirectory - Users
Exports users with their organizational unit (OU) paths.
10 Export-UsersLastLogon ActiveDirectory - Users
Exports all users with their last logon timestamps.
16 Export-Contacts ActiveDirectory - Users
It exports contacts in AD. Exchange module recommended, to get SMTP Address
1 Export-MailboxSizes Exchange
Exports all mailbox sizes (in GB) to CSV. Requires Exchange Management Shell.
11 Export-DistributionGroups Exchange
Exports Distribution groups and its properites.
12 Get-MostActiveSenders Exchange
Prints 10 most active sender in last 14 days.
14 Massgrave - Microsoft Activation Scripts Windows
It runs Microsoft Activation Scripts (MAS). Open-source Windows and Office activator featuring HWID, Ohook, TSforge, KMS38, and Online KMS activation methods, along with advanced troubleshooting. Author: https://massgrave.dev/
15 Create-MicrosoftOfficeShortcuts Windows
It creates shortcuts to the desktop for Microsoft Word, Excel, PowerPoint using Google Chrome web app feature.
18 Remove-MicrosoftOffice Windows
It checks for all Microsoft products, prompts you to select which one to uninstall.
13 Get-WindowsUpdateStatus WindowsUpdates
Outputs pending updates, Windows Update settings, Windows Update service status and logs.
19 Update to Windows 11 WindowsUpdates
It updates the registry, to allow optional updates and forces the searching for updates.