Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

502 total results found

Ryan's Career - Personal Information

PowerShell to Add a User to a Distribution Group

M365 - One Liners Distribution Lists

#Connect to Exchange Online Connect-ExchangeOnline -ShowBanner:$False #Add User to the Distribution Group Add-DistributionGroupMember –Identity "Sales@Crescent.com" -Member "Steve@Crescent.com"

Managing Configs

Cisco - Cheatsheet

PowerShell to Import Distribution List Members From CSV/TXT

M365 - Scripts Distribution Lists

$GroupEmailID = "Sales@Crescent.com" $CSVFile = "C:\Temp\DL-Members.txt" #Connect to Exchange Online Connect-ExchangeOnline -ShowBanner:$False #Get Existing Members of the Distribution List $DLMembers = Get-DistributionGroupMember -Identity $GroupEma...

Windows - Walkthroughs

Powershell to Bulk Add Users to Different Distribution lists

M365 - Scripts Distribution Lists

$CSVFile = "C:\Temp\DL-Group-Members.csv" Try { #Connect to Exchange Online Connect-ExchangeOnline -ShowBanner:$False #Get date from CSV File $CSVData = Import-Csv -Path $CSVFile #Iterate through each row in the CSV ForEach...

Troubleshooting

Proxmox - Cheatsheet

Get CPU and RAM Usage

Windows - Scripts Performance

$Output = 'C:\temp\Result.txt' $ServerList = Get-Content 'C:\temp\Serverlist.txt' $ScriptBLock = { $CPUPercent = @{ Label = 'CPUUsed' Expression = { $SecsUsed = (New-Timespan -Start $_.StartTime).TotalSeconds [Math]::Round($_.C...

DFS - Cheatsheet

Port Setup

Cisco - Walkthroughs

How to change the owner of an Azure Active Directory device

Intune - Scripts

In Azure AD, you can see that each device has an owner. The owner is the user who joined the device to Azure AD, which is sometimes the administrator account. If you want to change the owner, you won’t be able to do so through the Azure portal. That is why in ...

Repairs

Synology - Cheatsheet

RSAT Install

Windows - Scripts Windows Roles

# Get RSAT items that are not currently installed: $install = Get-WindowsCapability -Online | Where-Object {$_.Name -like "RSAT*" -AND $_.State -eq "NotPresent"} # Install the RSAT items that meet the filter: foreach ($item in $install) { try { ...

About Me

Under construction!

IP Address Lists

Store Wishlists

Personal Holiday Wishlists - Ryan

Remove Ghost Devices

Windows - Scripts System

removeghosts.ps1 <# .SYNOPSIS Removes ghost devices from your system .DESCRIPTION This script will remove ghost devices from your system. These are devices that are present but have an "InstallState" as false. These devices are typically shown as...

Test gMSA Account on DCs

Active Directory - Scripts

# This will run on all Domain Controllers. . Replace 'adhealthcheck' with actual gMSA name Invoke-Command -ComputerName (Get-ADDomainController -Filter *).Name -ScriptBlock { $Account = Get-ADServiceAccount -Filter { Name -eq 'adhealthcheck'} Instal...