« * K @techbyjeff.net

Jeff @techbyjeff.net

2026-11-20 20:44 UTC

Put [ValidateNotNullOrEmpty()] on a parameter, then assign ‘’ to it later in the function. PowerShell runs the check again and throws, so my fallback for a blank -LogPath could never run. www.techbyjeff.net/one-run-one-... #PowerShell #ActiveDirectory

Link: One Run, One Log File (www.techbyjeff.net/one-run-one-log-file/)

0 likes, 0 reposts, 0 replies

3 Next post4 More from @techbyjeff.netBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup