In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
powertips
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
How Linux protects SecureStrings (Not)
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Quickly Initializing Multiple PowerShell Consoles
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Identifying Group Memberships
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Finding System Paths
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Working with NTFS Streams (Part 5)
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Working with NTFS Streams (Part 4)
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Working with NTFS Streams (Part 3)
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Working with NTFS Streams (Part 2)
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Working with NTFS Streams (Part 1)
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Watching German TV Shows
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Finding Last Logged-on User
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Using BITS to Download Files (Part 2)
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Using BITS to Download Files (Part 1)
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Investigating PowerShell Console Output
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Identifying Origin of Network Access
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Exploring Folder Structures (Part 2)
In the previous tip we introduced the PowerShell “SmbShare” module which comes with Windows and enables you to manage file shares. We looked at the...
Silencing Write-Host Statements
Write-Host is an extremely useful cmdlet to output information to a user because this output cannot be discarded: function Invoke-Test {...
Discarding Streams
PowerShell outputs information via different streams. Warnings are written to a different stream than output, and errors again go to a different...
Discarding (Any) Output
There are (a few) commands in PowerShell that output information to the console no matter what you do. Neither redirection of streams nor assigning...
Identifying Operating System Details
WMI returns a cryptic number when you ask for operating system details: PS> Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object...
Identifying Windows Type
Boot and Install Time for Operating System
The WMI class Win32_OperatingSystem provides rich information about a number of datetime information, including the date of last boot-up and the...
Changing Operating System Description
Each Windows operating system has a description, and you can view (and change) this description with the following command: PS> control sysdm.cpl...
Showing Object Data as Table in a Grid View Window
Typically, when you output a single object to Out-GridView, you get one line, and every property surfaces as a column: Get-ComputerInfo |...
Removing Empty Properties
WMI and Get-CimInstance can provide you with a lot of useful information but the returned objects often contain a number of empty properties: PS>...
Using Assertions
Often, your code needs to assert certain prerequisites. For example, you may want to ensure that a given folder exists, and use code like this: #...
Wake On LAN
There is no need for external “Wake On LAN” tools. If you want to wake up a network machine, simply tell PowerShell the MAC address of...
Converting Hex Numbers
PowerShell can interactively convert hexadecimal numbers when you prefix “0x”: PS> 0xAB0f 43791 If the hex number is stored in a...
Auto-Learning Argument Completion
Argument completion is awesome for a user because valid arguments are always suggested. Many built-in PowerShell commands come with argument...