• /r/powershell
  • Encrypt/Decrypt files using AES encryption

    Just updated to make it my most polished script to date! I’ve been writing PowerShell for a couple years now and feel like I’m finally to the point where my code is very mature and follows best practices. Any criticism/suggestions welcome, just looking to become the best scripter I can be. https://gallery.technet.microsoft.com/EncryptDecrypt-files-use-65e7ae5d submitted by /u/siggy2xc […]

  • /r/powershell
  • Alternative to Get-ADDirectReports for direct user reporting. So close…

    I have worked with a few people and come up with the script below. https://pastebin.com/0p8P3wSK I do not want to install the Get-ADDirectReports function https://gallery.technet.microsoft.com/scriptcenter/Get-ADDirectReport-962616c6 I have tried a few things but I obviously have no idea what I am doing… Here is where I left off… https://pastebin.com/6yim2YNj Thoughts? Here is an original post from […]