Skip to main content

Posts

Showing posts from March, 2021

PowerShell display pop-up message theVBScript way

Create a new object in PowerShell by referring to Wscript.Shell component. Here's the code to display a pop-up message using  PowerShell via VBScript components. #create Wscript.Shell object to $WshShell variable $WshShell = New-Object -ComObject WScript.Shell #This will display the members of WshShell #$WshShell | Get-Member #This will display the message for 5 seconds, even if the user does not click ok" $WshShell.Popup("Hello, remember to shutdown your PC! Long holiday is around the corner.", 5 , "A Gentle Reminder") #Sample image of the output above: Code below will display a warning sign and the message will stay until the OK button is clicked. #create Wscript.Shell object to $WshShell variable $WshShell = New-Object -ComObject WScript.Shell #This will display the message until the OK button is clicked and also display the warning sign $WshShell.Popup("Hello, remember to shutdown your PC! Long holiday is around the corner.", 0 , "A Gentl

Windows 10 WiFi not working after network reset

Resetting Windows WiFi is quite a good option when wireless is not working. Indeed, “network reset” will does help if there are network issues. What if after doing “network reset” comes with another issue? For example, after doing network reset the Wireless option on the taskbar is unable to find or see the available WiFi networks. If Windows 10 is unable to find available WiFi or does not show wireless SSID available networks after network reset, then it could be that some services are not running or were set to “Manual” and did not run automatically after reset. Therefore, the service or services has to be started manually to run or enable the service. Screenshot below shows how to do a network reset on Windows 10. Press Windows key + I, on the search box type “network reset” and from the drop-down result, choose “network reset”. The system will ask to reboot or might reboot immediately. So, save files that needs to be saved before doing network reset.   After “networ