You typed in an invalid command and nothing should have happened except a red-lettered error message like this:
ipconfic : The term 'ipconfic' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- ipconfic /flushdna
- ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (ipconfic:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Was that command typed at the computer's command prompt or in Powershell?
Either way there should not be a problem as the command would not be recognized.
Therefore the command really did not and could not have actually executed.
If my understanding is wrong or you did do something else then update your post accordingly.