PowerShell SnippetRace 09-10/2024

Logon, VS-Code, Ping, AD-Monitoring

Events

  • „PowerShell and AI“ – PS Usergroup Austria Q1/2024 Meeting with Doug Finke – March 26th 2024
  • PowerShell & DevOps Summit US – April 8-11 2024 Bellevue, WA – Anmeldung
  • Expertslive.at Konferenz, June 26th 2024, – www.expertslive.at

Snippets

How to toggle PC login restrictions for AD accounts

Login restrictions on a workstation are one security measure which may be implemented via Active Directory settings. Tino JR wrote a script for administrators to control this on the command line for your AD. Read Tinos blog on powershell.org.

VS-Code Cloudsync

Many of us use multiple machines to work and code. If you use VS-Code it may be nice to have the same environment on all machines to find ourself in a familiar environment. Read Patricks blog how to achieve this.

The multiple ways to ping multiple computers with PowerShell

Another „Grünauer one-liner“ which is prety useful Commandline, Textfile of AD-query, there are many ways to get a list of machines to ping. Read Patricks blog for this specific usefuk task.

Monitor AD with PowerShell

The Active Directory database is THE database in on-prem environments. Making sure that the DB is healthy, you may use Adam Bertrams Active Directory Script which monitors ntds.dit.

With this „on-premise“ focussed i wish you a great time.

R.

Foto von Aubrey Odom auf Unsplash

Leave a Reply