เว็บรวบรวม Tools สำหรับ Windows ใช้งานหลากหลาย
วันจันทร์ที่ 6 มีนาคม พ.ศ. 2566
วันอาทิตย์ที่ 12 กุมภาพันธ์ พ.ศ. 2566
PowerShell สคริปลบ Folder และ Files
------ Start Script --------------------------------------------------------
#Folder Path
$FolderPath = "D:Test1"
#Check if folder exists
If (Test-Path $FolderPath) {
# Folder not exist, delete it!
Remove-Item -Path $FolderPath -Recurse
Write-host "Folder Deleted at '$FolderPath'!" -f Green
}
Else {
Write-host "Folder '$FolderPath' does not exists!" -f Red
}
------ End Script --------------------------------------------------------
PowerShell การเปิดสิทธิ์ให้ run ไฟล์สคริป เช่น delfile.ps1 ได้
PowerShell การเปิดสิทธิ์ให้ run ไฟล์สคริป เช่น delfile.ps1 ได้
- ให้เรียกใช้ powershell
- ให้พิมพ์คำสั่ง
วิธีการเปิดสิทธิ์ให้เรียกใช้ PowerShell ได้
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
วิธีการปิดสิทธิ์ไม่ให้เรียกใช้ PowerShell ได้
Set-ExecutionPolicy Restricted -Scope CurrentUser
- เรียกใช้ไฟล์สคริป เ่ช่น .\delfile.ps1
วันเสาร์ที่ 4 กุมภาพันธ์ พ.ศ. 2566
วันจันทร์ที่ 9 มกราคม พ.ศ. 2566
วิธีดูรหัสผ่าน WIFI ที่เคยเชื่อมต่อบันทึกไว้ในเครื่องคอมพิวเตอร์
How to view saved WiFi passwords of all WiFi networks
You need another trick to view the WiFi password when you are not actively connected to the Wi-Fi network. Thankfully, it’s not that hard. All you have to do is execute a couple of commands, and you are done. The only requirement is you should have connected to it previously. If you’ve never connected to it
- Open the Start menu.
- Search for “Command Prompt.”
- Right-click on Command Prompt
- Choose “Run as administrator.”
- Run the below command to get WiFi SSIDs.
netsh wlan show profiles - Note down the profile name of the WiFi network.
- Run the below command while replacing “ProfileName” with the actual profile name you got earlier.
netsh wlan show profile name="ProfileName" key=clear - You will see the saved WiFi password next to “Key Content” under “Security Settings.”
- With that, you’ve successfully viewed the saved WiFi password.
- Close the Command Prompt window.
reference: https://windowsloop.com/view-saved-wifi-passwords-windows/

