The lifecycle of a mobile app is more complex and different from a desktop app. On a mobile device an application runs either in the foreground or...
Month: September 2013
Finding Scripts by Keyword
With an increasing number of PowerShell scripts on your hard drive, it can become hard to find the script you are looking for. Here's a helper...
Monyog MySQL Monitor 5.63 Has Been Released
Changes (as compared to Monyog MySQL Monitor 5.62) include: Bug fixes: * If Monyog was not able to connect to a MySQL server, replication page would...
Setting Monitor Brightness
If your display driver supports WMI, then you can change the display brightness using PowerShell - event on remote machines! Here's the...
Check Monitor Brightness
If you want to check your current display brightness (preferably on notebooks, of course), here's a quick function: function...
Creating Symbolic Links
Symbolic links work very similar to "regular" link files (*.lnk): they can point to virtually any file or folder and even UNC paths....
Aqua Data Studio 14.0 – RC – NoSQL, SQL Azure and Much More
We have begun seeding release candidates of Aqua Data Studio version 14.0 with a planned stable release in mid October. We have added support for...
Monyog MySQL Monitor 5.62 Has Been Released
Changes (as compared to Monyog MySQL Monitor 5.61) include: Features: * Removed a hardcoded limit (of 512) of the number of MySQL servers that could...
Testing Administrator Privileges
To test whether a script is run by an Administrator with full privileges (UAC elevated), here is an unusual approach that illustrates the enormous...
Creating Hard Links
Hard links are file "phantoms" in the NTFS file system. They make one file visible in multiple file system locations (within one volume)....
Showing Hidden Files in File Explorer
PowerShell can easily read and write to the Registry, the central store for Windows settings. Here's a function that can turn the display of...
Verbose Output for PowerShell Functions
To add on-demand verbose output to your PowerShell functions, make sure your functions support the common parameters by adding the CmdletBinding...
Are you asking about app size? (by Delphi for Android)
You're asking about app size? Not a news. Since Delphi 1 people're asking "why Windows calculator is 33 kb, while Delphi version of...
Copying Results to Clipboard
To easily copy cmdlet results to other applications, simply pipe them to clip.exe. Next, paste the results into whatever application you want:...
Turn Out-GridView into Selection Dialog
Finally, in PowerShell 3.0, Out-GridView can turn into a versatile selection dialog - just add the new parameter -PassThru and watch: $Title =...
Three Most Useful ISE Tricks
If you use PowerShell 3.0 and the ISE editor, then here are the three most useful tricks you should know: 1. Press CTRL+J to open a list of...
Vertical Grid View
You can always pipe objects to Out-GridView and get a nice extra window with all of the object properties lined up as table. That's useful if...
Aqua Data Studio 13.0.4 – Minor Fixes and Enhancements
We have released the 13.0.4 patch which addresses several defects and includes a few enhancements. Patch: dd1.aquafold.com/.../ads-13.0.4-patch.zip...
Go to Function Definition on F12
If you are into writing long and complex PowerShell code with a lot of functions, then this one is for you. In other development environments, when...
Adding New Type Accelerators in Powershell
If you find yourself using certain .NET types frequently, you may want to make your life easier and implement shortcuts. For example, there is a...
Finding Type Accelerators
PowerShell maintains a list of shortcuts for .NET types to make coding more convenient for you. For example, to convert a string to a DateTime type,...
Playing Audio Clips on Android
I have been working with our R&D team on the samples and snippets for RAD Studio XE5. Our mobile snippets are designed to showcase key...
Returning Multiple Values
A PowerShell function can return multiple values. To receive them, simply assign the result to multiple variables: function Get-DateTimeInfo { #...
Manipulating File System Paths (Part 3)
In previous tips we illustrated how you can turn file system paths into arrays and then create new paths by changing or excluding parts of the...