In the previous tip we illustrated how you can access detailed event log information that you retrieved via Get-EventLog by using...
Powershell
Categories
- Free tools
- SQL Admin Toolset
- SQL Compliance Manager
- SQL Defrag Manager
- SQL Diagnostic Manager for MySQL
- SQL Diagnostic Manager for SQL Server
- SQL Diagnostic Manager Pro
- SQL Doctor
- SQL Enterprise Job Manager
- SQL Inventory Manager
- SQL Query Tuner for SQL Server
- SQL Safe Backup
- SQL Secure
- SQL Workload Analysis for SQL Server
- Uptime Infrastructure Monitor Formerly Uptime
Reading Event Logs Smart (Part 1)
When you query an event log with PowerShell, by default you get back a text message with the logged information. For example, if you’d like to know...
Understanding Type Accelerators (Part 2)
PowerShell comes with a number of hard-coded type accelerators that serve like aliases for commonly used .NET types, and since they are a lot...
Understanding Type Accelerators (Part 1)
“Type Accelerators” work like aliases for .NET types. They are intended to save typing. For example, the [ADSI] “type”...
Out-Notepad: Send Information to Notepad
Have you ever wanted to send text directly to Notepad, without having to use a file? Typically, you would need to write the text to a file, then...
Using Secret $FormatEnumerationLimit variable
Format-List by default displays object properties in a list, and if a property contains an array, the array is turned into text, and only a few...
How to learn PowerShell for free
Microsoft’s Windows PowerShell is a task-based command-line shell and scripting language. It is an automation platform and scripting language...
Turning Display Off Immediately
If you are about to launch a lengthy automation script, why not turn off the display right away instead of waiting for the screen saver timeout to...
Configuring Network Adapter
Here is a simple example illustrating how you assign IP address, gateway, and DNS server to a network adapter. The script lists all active network...
Free PowerShell Help Manuals
Even experienced PowerShell users often ignore that PowerShell comes with an excellent help system, much similar to the man pages in Linux. All you...
Managing Windows 10 Default Apps with PowerShell
Windows 10 comes with a load of apps preinstalled, and even if you remove things manually, they might come back after the next big Windows 10...
Using Magic Script Block Parameters
In the previous example we showed the special nature of the -NewName parameter in Rename-Item. it accepts a new file name, but also a script block...
Bulk-Renaming Pictures
Renaming a single file is easy using Rename-Item, but sometimes cmdlet parameter can be much smarter and help you automate in bulk. For example,...
PowerShell Gallery dbatools – PowerShell Extension for Database Professionals
In the previous tip we explained how you can get PowerShellGet up and running with your PowerShell version. Now let’s see how easily the...
PowerShell Gallery: Discovering Script Block Logging (Part 2)
In the previous tip we introduced the free ScriptBlockLoggingAnalyzer module which uncovers the code that PowerShell logs. By default, this is...
PowerShell Gallery: Discovering Script Block Logging (Part 1)
In the previous tip we explained how you can get PowerShellGet up and running with your PowerShell version. Now let’s see how easily the...
PowerShell Gallery: Creating QR GeoLocations
In the previous tip we explained how you can get PowerShellGet up and running with your PowerShell version. Now let’s see how easily the...
PowerShell Gallery: Creating QRCode vCards
In the previous tip we explained how you can get PowerShellGet up and running with your PowerShell version. Now let’s see how easily the...
PowerShell Gallery: Creating QR Codes
In the previous tip we explained how you can get PowerShellGet up and running with your PowerShell version. Now let’s see how easily the...
Accessing Free PowerShell Gallery (Part 2)
PowerShellGet is a new free extension for PowerShell that enables you to download and install free extensions and commands. It comes with PowerShell...
Accessing Free PowerShell Gallery (Part 1)
PowerShell is an extensible framework, and there are tons of free and very useful command extensions available on the PowerShell Gallery...
Printing Tables from PowerShell (using WPF)
Whenever you would like to display, print, or save as PDF in a tabular form, WPF (Windows Presentation Foundation) may be a good way. Originally,...
Creating PowerShell Command Cheat Sheets (Part 4)
In the previous tip, we created cheat sheets for PowerShell commands. We used command names and their synopsis to create cheat sheets like this:...
Creating PowerShell Command Cheat Sheets (Part 3)
In the previous tip, we created cheat sheets for PowerShell commands and turned them into HTML reports that could be opened in a browser, and...
Creating PowerShell Command Cheat Sheets (Part 2)
In the previous tip, we created cheat sheets for PowerShell commands, and as a reminder, this line would create a sheet for network commands...
Creating PowerShell Command Cheat Sheets (Part 1)
Here is a clever trick to create cheat sheets for your favorite PowerShell commands. Any PowerShell command ships via a module, so if you have a...
Quickly Open PowerShell via Windows 10 Start Menu
In Windows 10, PowerShell can be launched via WIN+X (or by right-clicking the start menu icon). If your Windows 10 offers to open the outdated...
Test AD User Exists
If you’d need to find out whether a given Active Directory user exists, and provided you have installed the ActiveDirectory PowerShell module...
WMI Quick Primer (Part 4)
Typically, WMI objects contain properties with valuable information. This line would retrieve all information about all running Notepad instances...
WMI Quick Primer (Part 3)
In the previous tip we explained why Get-CimInstance may have advantages over the older Get-WmiObject cmdlet. Now here is another example that...