Date and Time formats are highly culture-specific, so often you need to convert date and time from one cultural format to another. That's pretty...
Month: January 2013
Feature request: Results grid
Argh, edited for simplicity. Please allow alternating rows -- anywhere in the interface, but my concern just now is the results grid -- to alternate...
Create File Shares Remotely
To create a new file share remotely, you could use the WMI class Win32_Share and its Create() method. Invoke-WmiMethod helps you run WMI methods...
Displaying WMI Inheritance
In PowerShell 3.0, the (hidden) object property PSTypeNames shows you the complete inheritance tree for WMI objects: PS> $os = Get-WmiObject...
MONyog MySQL Monitor 5.57 beta 1 Has Been Released
Changes (as compared to 5.56) include: Bug fixes: * The rendering of Monitors page was slow with large number of servers both registered and...
Auto-Discovering Online Help for WMI
Get-WmiObject is a great and simple cmdlet to retrieve WMI information, and the parameter -List returns all available WMI class names that you can...
Feature request: Table data editor
When working with DB2, the precision of timestamps include milliseconds. By using the table data editor, I'm facing two problems: 1.) When I...
Export data – validation
When I export data to Excel, a validation of the options takes place, even if some options aren't shown and some are disabled, because...
Problem after connecting with Remote Desktop
There again exist some problems in connection with RD. After connecting to the host, the Messages tab shows as "null". When I execute a...
Using MemberSets
In a previous tip you learned how PropertySets can create groups of properties for easier access. Yet another (hidden) feature of PowerShell objects...
Using PropertySets
PropertySets are lists of properties, and PowerShell sometimes adds PropertySets to result objects to make picking the right information easier....
CDP server sizing and data retention question
May 15, 2014 at 3:44 pm #608 MattLeeParticipant Hi 1) Are there any information on how CDP servers should be sized for backup of e.g. 300 Virtual...
Getting Weather Forecast from an Airfield near You
PowerShell can access web services and automatically retrieve information such as weather forecasts. New-WebServiceProxy does all the work for you,...
Checking System Uptime
In a previous tip we explained how you read date and time information from WMI and convert it into a regular date and time information. With this...
Converting Date to WMI Date
WMI (Windows Management Instrumentation, Get-WmiObject) uses a specific (DTMF) format for date and time. You can easily convert regular date and...
Force A Service Monitor Refresh
I tried searching the forum with “refresh a service monitor” but it was rejected? Anyway, I have 2 MS process service monitors on a...
Aqua Data Studio 12.0.15 – Several Enhancements + Minor Fixes
We have just released the 12.0.15 patch which contains enhancements to FluidShell, allows insertion of > 4000 characters into an Oracle CLOB...
Accessing PowerShell Host Process
With this line, you always get back the process object representing the current PowerShell host: PS>...
Using Specific Error Handlers
If you want error handler to handle specific error types, you can add the error type after the keyword trap or catch. However, this will only work...
Finding Popular Historic First Names
To find popular first names for given decades, check out the function Get-PopularName. It accepts a decade between 1880 and 2000 and then uses the...
Why Using Here-Strings?
To create multi-line text in a script, you can simply enter the multi-line text into your script using quotes: $text = 'First Line Second Line...
How to connect to oracle database using the following jdbc url?
jdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(host=server1)(port=1521))(address=(protocol=tcp)(ho...
Identifying .NET Framework 4.5
PowerShell 3.0 can run both on .NET Framework 4.0 and 4.5. .NET Framework 4.5 adds additional objects and members, so for example this line will...
Is Using RECONFIGURE WITH OVERRIDE dangerous?
One of my pet peeves is the use of RECONFIGURE WITH OVERRIDE in scripts to change server options. Am I being unreasonable or is this justified? All...