In case you have necessity to view stored wifi passwords this is command that is necessary to be executed. (with administrative rights)
for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -i -v echo | netsh wlan show profiles %j key=clear