Forum Discussion

TJCooper440's avatar
TJCooper440
Copper Contributor
Oct 16, 2024

Powershell 7 - $time is not defined - Script from Microsoft

I get the error "Get-ADComputer: Variable: 'time' found in expression: $time is not defined.". The script is straight from Microsoft and $time is populated with a date/time. It seems very simple, I d...

Resources