Skip to content
CR Tech

Servers, Systems, Guides

Menu
  • Dell
    • System Management
    • Dell PowerEdge RAID Controller (PERC)
    • iDrac and LifeCycle Controller Guides/Troubelshooting
    • Dell Repository Manager
  • Operating Systems
    • Microsoft Windows Server
    • Microsoft Client OS
    • Exchange Server
    • Linux
  • Scripting Guides
    • PowerShell
    • Bash
    • Python
    • JSON
  • Networking
    • Domain Name System
    • Dynamic Host Configuration Protocol
    • Active Directory
  • Cloud Computing
    • Amazon AWS
    • Azure
    • Cyber security
  • Virtualization
    • VMware
    • Hyper-V
    • Virtual Box

Category: PowerShell

Home » Scripting Guides » PowerShell » Page 10
PowerShell / Scripting Guides

PowerShell: Get a GUI interface for any PowerShell cmdlet

Some cmdlets have too many parameters to list. Is there an easy way to build a cmdlet with its parameters for the console? Just use the Show-Command cmdlet with any …

PowerShell / Scripting Guides

PowerShell: Use a destructive PowerShell cmdlet safely

PowerShell has a built-in safety switch to many of its cmdlets. The –whatif parameter, which is meant to show you what would happen if you used a PowerShell cmdlet without …

PowerShell / Scripting Guides

How to get all groups that a user is a member of?

Open PowerShell with administrator privileges and run:   Get-ADPrincipalGroupMembership username | select name name —- Domain Users Domain Computers Workstation Admins Company Users Company Developers AutomatedProcessingTeam Example:

PowerShell / Scripting Guides

Setting Distribution Group Delivery Restrictions via PowerShell

Adjusting the delivery restrictions on distribution groups is quite a common task. The more members a group has the more of a problem this ends up being in big organisations. …

PowerShell / Scripting Guides

How to Copy Members of a Security Group in Active Directory

Ever ran into a task where you needed to copy all the members of a certain AD security group over to a new or existing security group? If so, you …

PowerShell / Scripting Guides

How To Find Nested Active Directory Group Memberships in PowerShell

Find the actual number of users in a group by locating those that may be hard to find in a hidden subgroup. As someone that manages Active Directory users and …

PowerShell / Scripting Guides

Quick Tip: Restarting all Microsoft Exchange services

There are times when you need to restart all Exchange related services so here are 2 small scripts that will help you achieve this without going over each service in …

PowerShell / Scripting Guides

Migrate new user to O365

Pre-Migration Work Create the AD user account and Exchange on-prem mailbox Confirm UPN suffix of user account matches the email address Go to O365 admin console and add the user license …

PowerShell / Scripting Guides

Exchange 2010: Change security groups to distribution groups

Distribution groups are a well-known concept for Exchange admins. Quite simply, a distribution group is an Active Directory group that’s Exchange-enabled and therefore has an email address. Messages sent to …

PowerShell / Scripting Guides

Creating Test Users In Bulk Using Powershell

There is always a requirement to create test users in bulk in your lab, maybe even in live network to test something. You can quickly create mailbox users using a …

Posts navigation

Older posts
Newer posts

SYSADMIN POEM

Keys clack beneath my fingers, I frantically click at the mouse
Most the servers are down, everything in house.

I click and type away as sweat runs down my brow
Everything went down but I’m not sure yet how.

The coffee’s long been cold but I drink it anyway
I know I’ll be stuck here until the break of day.

The phone is ringing off the hook, but I ignore its rattle.
The users are all angry, like an untamed herd of cattle.

I pray to the IT gods to have pity on my soul
Let this restore work, let the data all be whole.

-ccraddocks

NETWORK SYSADMIN POEM

Three small words make a difference and can make or break

And just a few seconds is all that it takes

Often forgotten they've caused broken hearts

So here's a reminder:

copy run start-unknown

August 2025
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Apr    

RECENT POSTS

  • Simplify Your Entra ID Governance with Azure Group Expiration
  • Testing out Cross-Region Azure Load Balancer
  • How to Reduce your Azure Storage Accounts Spend
  • How to Configure an Azure Storage Account with an Application Gateway and Custom Domain
  • Active Directory Replication Summary to your Email

KNOWLEDGE ARTICLES

  • Dell Hardware/Software
  • Enterprise Operating Systems
  • Scripting Guides
  • Networking

GET IN TOUCH WITH US

Copyright © 2025 CR Tech – OnePress theme by FameThemes