Utilities
Utilities copied to clipboard
Utility scripts that I've written
Hello !! I tried your script and it was failing on my end under PowerShell v.4, v.5, and PowerShell core 7+ The error was the following: ```Method invocation failed because...
It seems your get-activesession module has problem with parsing sessions that have no session name 
https://github.com/ThePoShWolf/Utilities/blame/c4f80636fd005906f14d4b07f3ba2e135ff8e120/ActiveDirectory/Get-LoginEvents.ps1#L45 Hi @ThePoShWolf , I'm curious to know whether the correct value for the IP address should be the property number eighteen instead of 19? therefore, the code should be...
A few suggestions for [Set-PathVariable.ps1](../blob/master/Misc/Set-PathVariable.ps1): 1. The regex on [line 45](https://github.com/ThePoShWolf/Utilities/blob/c4f80636fd005906f14d4b07f3ba2e135ff8e120/Misc/Set-PathVariable.ps1#L45) should end with a `$` to avoid a partial match. From: ```powershell $arrPath = $arrPath | Where-Object { $_...
Unfortunately, I tried many powershell scripts, including yours, but none of them work. While the cmd script is running ``` @ECHO OFF REM usage: append_system_path "path" SET Key="HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" FOR...