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… Continue Reading PowerShell tips – part 004.
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… Continue Reading PowerShell tips – part 003.
Windows 10 comes with pre-installed applications. You may want to uninstall some of these 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… Continue Reading Remove pre-installed Windows 10 applications.
I will come with new examples and tips with Windows 10 PowerShell. Let’s start: List recursive android application from your folder using: Get-ChildItem -Recurse -Filter “*.apk” Calculate the number of archives for gmail attachment limit ( max gmail size 25MB): 132MB / 25MB Lists all of the commands in the… Continue Reading PowerShell tips – part 002.
Some examples and tips with Windows 10 PowerShell. Most of this maybe will work with old versions of Windows but I tested just with Windows 10. Let’s start: See the indication of a denial of service (DoS) attack: netstat -ant | Select-String “SYN_RECEIVED” Last boot uptime: (get-date) – (gcim Win32_OperatingSystem).LastBootUpTime… Continue Reading PowerShell tips – part 001.
1. Why PowerShell? – since Windows 7 we have a new command-line environment in Windows named PowerShell; – is a much more powerful command-line shell; – the scripting language is more good than the Command Prompt; – is more complicated than the traditional Command Prompt; – uses different commands, known… Continue Reading Windows 10 – replace cmd with powershell.
The Windows PowerShell remoting features are supported by the WS-Management protocol and the Windows Remote Management (WinRM) service. So, Windows PowerShell is a new Windows command-line shell designed for system administrators. If you got this error is shown below that is need to make something.
File D:\test-powershell.ps1 cannot be loaded because the execution of scripts is disabled
on this system. Please see "get-help about_signing" for more details.
At line:0 char:0
First, you just need… Continue Reading Windows PowerShell – first setup.
In this tutorial, I show you the basics of creating a graphical user interface (GUI) using Windows PowerShell The framework of libraries .NET also referred to as assemblies, are provided specifically for graphical user interface creation, web application development, business process handling, and database access, and more… WinForms is a… Continue Reading Creating GUIs with Windows PowerShell