Category Archives: PowerShell
This is another tutorial about PowerShell tips and one powershell command: Get-WindowsOptionalFeature . Start by using the windows key and try to find the powershell by typing : powershell. When you see it use right-click the Windows PowerShell and select Run As Administrator from the action menu. This will open the PowerShell command shell. Use […]
On Windows 10, start by pressing Windows key + X, selecting PowerShell (Admin), and pasting the following code:
Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol
The SMB1 is an old protocol. More recent versions are not vulnerable to the WanaCryptor 2.0 variant.
Another tutorial about powershell commands. Get infos from Enviroment with powershell: [Environment]::UserName [Environment]::UserDomainName [Environment]::MachineName Test connection to server or test the network connectivity of a computer and get some common properties: Test-Connection google.com Test-Connection -ComputerName localhost -Count 1 | Select-Object IPv4Address,ResponseTime,TimeToLive Displays diagnostic information for a connection. Test-NetConnection Get a detailed IP configuration report for […]
Today I will show you new tips and tricks with powershell. If you want to see more about your operating system information: Get-CimInstance Win32_OperatingSystem | FL * Show your Video Driver version: gwmi win32_VideoController | select DeviceID,Name,DriverVersion | FT * Take infos about your laptop battery: gwmi win32_battery gwmi -Class batterystatus -Namespace root\wmi You can […]
Windows 10 come with pre-installed applications. You may want to uninstall some of this applications. Just press Windows and R keys and write powershell. You can see your powershell command line with this text: Windows PowerShell Copyright (C) 2015 Microsoft Corporation. All rights reserved. PS C:\Users\your_user> I will show you one list with this pre-installed […]