AntiPattern

Cross-Session State Assumption

cross-session-state-assumption

A recurring PowerShell shape where data extraction is split across separate CLI calls, so state and parsed variables cannot be shared; this leads to null dereferences and downstream type/CSV handling errors.