PSAppInsights

0.9.6

Add Application Insights to PowerShell to get both simple and advanced tracing to gain insight to how your scripts are actually working, including errors and functional usage

Minimum PowerShell version

4.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSAppInsights

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Jos Verlinde [MSFT]

Copyright

(c) 2016-2017 Jos Verlinde. All rights reserved.

Owners

Tags

Tracing ApplicationInsights Monitoring DevOps

Functions

New-AIClient Push-AIClient Stop-AIClient Send-AIEvent Send-AITrace Send-AIMetric Send-AIException Send-AIDependency New-Stopwatch Start-AIPerformanceCollector Stop-AIPerformanceCollector Start-AILiveMetrics Stop-AILiveMetrics getCallerVersion ConvertTo-Hashtable Get-StringHash getCallerInfo

Dependencies

This module has no dependencies.

Release Notes

v0.9.6   Detect version of ps1 scripts running in Azure Automation
v0.9.4   Improved errorhandling and reporting during client initialisation            
V0.9.2.3 Silently fail if client has not been initialised, to allow adding  SEND-AI* statements withouth the need to remove them to avoid dependencies
V0.9.2   Improve Stacklogging, Send-AIException,
v0.9.1   Add -Stackwalk to allow Wrapping of a Log function and still allow correct reporting of the calling function -StackWalk 1
V0.9.0.2 Add -Developer Mode and -Sending interval to control how quick to send the information to AI
V0.9     Upgrade to ApplicationInSights 2.3.0, fix dependency load on Windows 10
V0.8.1   Code cleanup and cosmetics
V0.8.1   Default operation is name of calling Powershell script
V0.8     Integrate multiple different Features.
V0.7.4   Upgrade to ApplicationInSights 2.2.0
V0.7.3   Add support to report Powershell call stack
V0.7.2   Add Convertto-hashtable
V0.7     Add Collection of Performance Counters, Update to PSGallery
V0.6.2   Add caller's script or module version information to start-AISession
V0.6.1   Automatically add caller information on new Session (Script,  Line Number )
V0.6.0.2 Resolve naming collision for get-hash
V0.5     initial publication

Version History

Version Downloads Last updated
0.9.6 (current version) 3,259 5/27/2017
0.9.5 22 5/27/2017
0.9.4 20 5/6/2017
0.9.3 8 5/5/2017
0.9.2.4 11 4/29/2017
0.9.2.2 8 4/28/2017
0.9.1 8 4/25/2017
0.9.0.2 11 4/19/2017
0.9.0.1 14 4/12/2017
0.8 36 2/9/2017
0.7.2 61 11/1/2016
0.7.1 9 10/31/2016
0.7 11 10/30/2016
0.6.2.0 16 10/24/2016
0.5 12 10/23/2016