r/PowerShell • u/rogueit • Apr 17 '26
Might be missing something with IWR
I'm doing an iwr and I'm getting back things like any idea what i'm missing?
QQ�!�H�@#e���E`���:���o��n~�j�+�Ma!���5I��OO���Y��v
�J#��LM����)��-�P�r�o��;S*
]R�µ^"���ۏХ��2����D��Hlj�~��i3�Gr��q��4��T3HߕN{I�ò�P��<co-���vR�$�O,�#œ5�&�^?o�w��+�1�v��{Ø��:�J]��$ގ_]^]�[z^<����<.=ߎi_�y�bz���|������o���az�����4rq�30�%�ḧ́9�u��fR��' �9�!�c d~7�{tCZg� I�g ��˚6G�"����L����YO��I=]��Ѱ9:���`e����Q��[��9.᧵K~�K�\��<C��S�pp�緡�e��H�/}LK�:��^f�),n�-��=��ZB�Inr���#`C��6kԥ�5���a�.M��4�Sh4XJ'?�k�O���9BҘ$M�̴3��6r�"���#�ןOQ#O�j�O#7������w���t~�cN5�o{Ǫ��f���i�d�S����r�8�K��\o���HWR l��g'�wc�:v ��M���^�7��@e�t��/��hb�a��������K���[�����9�n�I��k�4�J&>$$#�8��h4i�wn�
� 5�c;?�Y����I:=��)d�0�ٛ���K��I���t�p��<}>I=6j�*�F�8.�x#�8K����M8�\.r��$V��*����Я?�gY<��5�jx46s���A��O��W����N��啺@oIN�h����0X��יH�n I�Y��N��x
F�����F�$�u��;>��^���tXS��n
v��%�� .�̸6�{/iB��g��:�ץܤ�>:�-���7WN���n��!i��uL�-
0
Upvotes
3
u/Kirsh1793 Apr 17 '26
Probably encoding mismatch. You might have to convert it to UTF8 or whatever the response is encoded in.
3
u/BlackV Apr 17 '26
3
u/node77 Apr 17 '26
I think your iwr is actually invoking a binary and what you see it is the jibberish of that.
2
u/pigers1986 Apr 17 '26
welp, you enter crap and you got it back :D
what did you do to get that ? exact steps ?
1
u/xipodu Apr 17 '26
How does your invoke webrequest look like
1
u/dodexahedron Apr 18 '26
Did you write the iwr and do you know what it is requesting? Sounds like neither is likely true and that this is better for you and your computer than this "working."