The Curious Engineer

All blogs / DevOps / SRE / infrastructure

PoSh Chap

learn.microsoft.com/en-us/archive/blogs/poshchap

Musings on the splendour of PowerShell...

DevOps / SRE / infrastructureSecurityMicrosoft blogsMSDN archive

’15’20’25
Posts
196 from 21 Feb 2014 to 26 Jul 2018
Posting
archived, read-only
Kind
personal blog
Feed
https://learn.microsoft.com/en-us/archive/blogs/poshchap/feed.xml

2018 2

  1. Use Azure AD PowerShell to Check Synchronised On-Premises AD extensionAttributes 1-15
  2. Use Microsoft Graph to Check Synchronised On-Premises AD extensionAttributes 1-15

2017 43

  1. Post #200! a.k.a A Brave New Blog
  2. One-Liner: Get Signing Algorithm for Personal Store Certificates
  3. AD Groups with Low Member Count
  4. More on Get-Acl with Active Directory
  5. PowerShell in the Azure Portal... Oh, Happy Day!
  6. One-Liner: Query the AD Schema for User Object Attributes
  7. PowerShell in the Azure Portal... Almost!
  8. Intelllisense in the Console
  9. Scripting Tips & Tricks: Dynamic Parameters
  10. AD Cmdlet -Filter Faffing
  11. Scripting Tips & Tricks: Dynamic RegEx Queries
  12. Scripting Tips & Tricks: RegEx for OU Name & Path
  13. Scripting Tips & Tricks: Review Your Comments
  14. Security Focus: Generate an Alphanumeric Password
  15. Add Multi-Line Content to a Linux File with Add-Content
  16. One-Liner: PowerShell Pi Mnemonic
  17. Profile Power: Adjust Console Opacity
  18. Get User's Provisioned Plans with Azure AD PowerShell Module
  19. Profile Power: Default Parameter for Format-Table and Format-Wide
  20. Get Active Directory "Write Members" WriteProperty
  21. Profile Power: Tidy Up My Personal Certificate Store
  22. Security Focus: Count Vulnerabilities for Monthly Security Updates
  23. Security Focus: Get CVE Information for WannaCrypt
  24. Use CMD to echo a Script Block to an Encoded Command
  25. DNS Forwarders Fours Ways
  26. Set Password of Azure Active Directory B2B User to Not Expire with PowerShell
  27. Periodically Check PowerShell Job Status
  28. One-Liner: Get TLS Cipher Suite Details with PowerShell
  29. Use PowerShell to List Active Directory Extended Rights
  30. Security Focus: User PowerShell to Obtain Microsoft Security Update Information
  31. Restart-Computer (with BitLocker Suspended)
  32. Fun & Frolics: Generate a 0 and 1 Screen Stream
  33. Module Manifest - ScriptsToProcess
  34. Start-AzureCloudService
  35. Security Focus: Get Mail Enabled Admin Users
  36. Try to Catch Error Exception Types
  37. Back to Basics: Generate Monthly Report Folders
  38. Security Focus: Enable / Disable MFA on Azure AD Admin Account
  39. Security Focus: Update Azure AD Admin Account Password
  40. Get-OneMillionDigitsofPi
  41. One-Liner: Find a Renamed and Relocated AD Guest Account WITHOUT using the Well-Known SID
  42. Use PowerShell to Show User Rights Assignments Set by Group Policy
  43. Stop PowerShell.exe from Starting!

2016 51

  1. Janus...
  2. Happy Holidays 2016!
  3. RegEx for Splitting Hairs
  4. List Forest SPN Mappings
  5. 10 Years of PowerShell!
  6. Days of Service and Service Anniversaries
  7. All Properties AND a Constructed Attribute? Get out of here!
  8. Active Directory Object Parent GUID Fun!
  9. Active Directory Object GUID Conversion Larks!
  10. RegEx for SMTP Address Validation
  11. RegEx for Password Complexity Validation
  12. Back to Basics: Comparing Property Values Between PS Custom Objects
  13. Back to Basics: Multiple Statements with Try / Catch
  14. Security Focus: Check Credential Guard Status with PowerShell
  15. One-Liner: Use PowerShell to Verify Domain Controller Location
  16. Security Focus: Use PowerShell to List Authentication Policy Silo Members
  17. Ooooh... PnP Cmdlets & Surface Book Fun!
  18. One-Liner: Use PowerShell to Get GPOs Containing User Settings
  19. Use PowerShell to Get GPO Status Flag
  20. Security Focus One Liner: AD Privileged User and Password Doesn't Expire
  21. Security Focus: Orphaned AdminCount -eq 1 AD Users
  22. Back to Basics: Change an Attribute on a File
  23. Security Focus: AD Objects Configured as AdminCount -eq 1
  24. Parameter HelpMessage Arguement
  25. Use PowerShell to Decipher GPO Version Information
  26. Security Focus: Check the AdminSDHolder ACL - Part 2
  27. MS16-072 - Known Issue - Use PowerShell to Check GPOs
  28. Security Focus: Check the AdminSDHolder ACL - Part 1
  29. Back to Basics: Is my Parameter Value from the Pipeline?
  30. Security Focus: Reporting on Interesting UserAccountControl Values
  31. Configure an Azure Automation Account - An Addendum
  32. Back to Basics: A Casting Quandary
  33. Perform a Basic o365 Inventory with PowerShell
  34. Security Focus: Report on Protocol Transition
  35. Security Focus: Report on Unconstrained Delegation
  36. Security Focus: Report on Constrained Delegation
  37. Active Directory - Parsing a 'Multi-Line' Description Property
  38. Even Newer and Even More Improved Formula: Build an Active Directory Forest in Microsoft Azure (IaaS) II
  39. Back to Basics: Use PowerShell to Search Servers for Specific Software
  40. Back to Basics: Use PowerShell to Generate a List of Week Commencing Dates
  41. Configure DNS Dynamic Update Credentials for DHCP with PowerShell
  42. ADMirror PowerShell Module
  43. Configure an Azure Automation Account - Part 3 - Validation Run Book
  44. Configure an Azure Automation Account - Part 2 - Credentials and Variables
  45. Configure an Azure Automation Account - Part 1 - Start Me Up
  46. Use PowerShell to Restrict DNS Resource Record Registration
  47. One-Liner: Generate a Random Password
  48. One-liner: Use Get-ADObject to Find Authorised DHCP Servers
  49. Automagically Keep the Azure PowerShell Module Up-To-Date
  50. One-Liner: Is my Laptop Connected to a Domain Controller?
  51. PowerShell and certutil.exe

2015 50

  1. Happy Holidays - Festive Fun!
  2. Use PowerShell to Add a Vendor-Specific Class to Windows DHCP
  3. Security Focus: sIDHistory / sID Filtering Sanity Check - Part 2
  4. Security Focus: sIDHistory / sID Filtering Sanity Check - Part 1 - aka Post #100!
  5. iSCSI Storage for My Cluster Test Lab - Part 2
  6. iSCSI Storage for My Cluster Test Lab - Part 1
  7. One-Liner: Get Latest Windows Server Technical Preview Image
  8. Differentiate Between Automatic Variables and User Created Variables
  9. Copy To or From a PowerShell Session
  10. Security Focus: More on Defender and PowerShell
  11. Security Focus: Defending PowerShell with the Anti-Malware Scan Interface (AMSI)
  12. Motd
  13. Backwards Incompatibility: Slip Into Something Just As Comfortable
  14. Create Azure Cloud Service Remote Desktop Connection Manager File (.rdg)
  15. One-Liner: Launch Azure VM RDP Connection from PowerShell
  16. Scripting Tips & Tricks: ISE - Alt + Shift + Left Mouse Button
  17. Update an ISE Snippet
  18. Scripting Tips & Tricks: The PowerShell Script Analyzer Module
  19. Quenching a Thirst... Test Lab Hydration
  20. Getting Started with the PowerShell Gallery
  21. PowerShell, FSMOs and Netdom
  22. One-Liner: Stop and Deallocate Azure Virtual Machines
  23. Find Server Objects Without NTDS Settings
  24. Defender PowerShell Module
  25. The Joy of --%
  26. One-Liner: List Deleted Objects
  27. Are your Active Directory Partitions Backed Up?
  28. Security Focus: Check Active Directory for Anonymous Access
  29. Use PowerShell to Enter-PSSession from the Active Directory Users and Computers MMC
  30. Latest HSGB Outings... Just-In-Time (JIT) Administration
  31. Remove a String from a Multi-Valued Attribute
  32. Get Active Directory Accounts Created in the Last N Days (featuring -xor)
  33. Security Focus: Resetting 'Smart card is required for interactive logon'
  34. Security Focus: Analysing 'Account is sensitive and cannot be delegated' for Privileged Accounts
  35. msDS-parentdistname vs. parentGUID
  36. Mirror an OU Structure to a Test Domain
  37. PowerShell and _MSDCS Recovery
  38. One-Liner: Domain Controller Patch Levels
  39. Remove AD Child Domain with PowerShell
  40. Create AD Child Domain with PowerShell
  41. Use PowerShell and DSAMAIN.exe to Mount a Backup of NTDS.dit
  42. RODCs Ahoy!
  43. Create AD Forest with PowerShell
  44. Use PowerShell and Repadmin to Check for Updates to High Privileged Groups
  45. Schedule a System State Backup with PowerShell
  46. NEW & IMPROVED FORMULA: Build an AD DS Forest in Azure
  47. Scripting Tips and Tricks: 'Jagged' Arrays
  48. Use PowerShell to Start Domain Controller Garbage Collection
  49. Three Steps to PowerShell Module Success
  50. Execution Policy and Group Policy

2014 50

  1. Find, Disable and Move 'Stale' User or Computer Accounts
  2. Strict Replication Consistency On New Domain Controllers
  3. Use PowerShell to Check and Configure DFSR Content Freshness
  4. Scripting Tips and Tricks: Param()
  5. Use PowerShell to Check for High Privilege Group Membership
  6. One-Liner: Change Account Lockout Threshold
  7. Verify Active Directory Group Naming Standards
  8. One-Liner: Active Directory Protected Objects
  9. Scripting Tips and Tricks: CmdletBinding()
  10. Help, I Need Connectivity!
  11. Introducing Scriptify!
  12. One-Liner: My Take On Finding Stale User and Computer Accounts
  13. One-Liner: Delegate Group Policy Management
  14. Scripting Tips and Tricks: Write-Verbose
  15. Managing Azure VMs with PS Remoting
  16. Scripting Tips and Tricks: Message Boxes
  17. Scripting Tips and Tricks: Strict Mode
  18. Scripting Tips and Tricks: Requires
  19. NEW & IMPROVED FORMULA: PowerShell and Chuck Norris Wallpaper
  20. Creating a Windows Server 2012 DHCP Failover Relationship
  21. Authentication Policy Silos
  22. Scripting Tips and Tricks: Script Development with Splatting
  23. Security Focus: Find User Accounts Configured for DES Encryption
  24. One-Liner: PS Remoting - Connected Clients
  25. PS Remoting Considerations
  26. Useful Windows Feature Commands
  27. One-Liner: Windows Server 2012 DHCP - Failover Mode Switching
  28. One-Liner: Get Windows Server 2003 Server Count
  29. Active Directory Replication Cmdlets vs. Repadmin
  30. Active Directory Replication Cmdlets - Site Creation
  31. One-Liner: Find Manually Created Replication Connection Objects
  32. Remote Group Policy Update - 'Under the Bonnet'
  33. One-Liner: Targeted Remote Group Policy Updates
  34. Using PowerShell to create a BPA Problem Report
  35. Tracing the Source of Account Lockouts
  36. Active Directory Bulk User Modification
  37. One-Liner: Collect AD LDS Lingering Object 1946 Events
  38. PowerShell ISE Script Browser Add-On
  39. One-Liner: Specific GPO and DC Information from a Forest
  40. 'Retire' Active Directory Non-LVR Group Members
  41. Comprehensive GPO Backup Script
  42. Prepopulate Passwords to RODCs with PowerShell
  43. Prompt Delivery
  44. To and Fro, Back and Forward Links
  45. Logging, On
  46. One-Liner: Active Directory Schema Version
  47. PowerShell, DHCP and Star Wars
  48. PowerShell and Executable Output (with Boats)
  49. One-Liner: Get a List of AD Users Password Expiry Dates
  50. Using Get-Acl to Identify Administrator Permissions