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: Scripting Guides

Home » Scripting Guides » Page 10
PowerShell / Scripting Guides

Common tasks you perform using the GUI that you can do faster in Windows PowerShell

PowerShell / Scripting Guides

Use PowerShell to disable scheduled tasks

How can I use Windows PowerShell to disable a scheduled task? Use the Disable-ScheduledTask cmdlet and specify the task name, for example: Disable-ScheduledTask -TaskName “SystemScan”     How can I …

PowerShell / Scripting Guides

Use PowerShell to disconnect virtual disk

How can I use Windows PowerShell to disconnect from a virtual disk? Use the Disconnect-VirtualDisk cmdlet and specify the friendly name, for example: Disconnect-VirtualDisk -FriendlyName VirtualDisk01

PowerShell / Scripting Guides

Use PowerShell to dismount a disk image

How can I use Windows PowerShell to dismount a virtual disk? Use the Dismount-DiskImage cmdlet. It will dismount either an ISO or a virtual hard disk. Specify the path then …

PowerShell / Scripting Guides

How Can I Be Notified Any Time a Service Goes Down?

How can I be notified any time a service goes down? There are a couple different ways you can do this, but perhaps the simplest approach is to create a …

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 …

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

July 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
« 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