• Stars
    star
    178
  • Rank 214,050 (Top 5 %)
  • Language
    PowerShell
  • License
    Other
  • Created about 12 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PowerShell scripts for better debugging and life

Wintellect PowerShell Module

After posting many random PowerShell scripts in my blog , I packaged them up into a common module to make sharing and incorporating easier. Please fork and let me know if there's any bugs you find. I hope you find it useful.

WintellectPowerShell is in the PowerShell Gallery. To install, execute the following command:

Install-Module -Name WintellectPowerShell -Scope CurrentUser

If you had a previous version of WintellectPowerShell installed and you get an error about the 'Authenticode issuer' that is because I had to renew my code signature file. Add the -SkipPublisherCheck to the above command. All required files are properly digitally signed.

Here's the about text showing all cmdlets. Of course, all cmdlets have detailed help for more information.

TOPIC
    about_WintellectPowerShell

SHORT DESCRIPTION
    Provides cmdlets for setting up symbol servers and other 
    functionality related to debugging and performance tuning.
           
LONG DESCRIPTION
    This module makes setting up symbol servers and source server debugging 
    functionality easier to control for Visual Studio 2013 through 2017 
    and WinDBG. Setting up a development machine for symbol server 
    access is more difficult than it needs to be but no more.
	
    You can have any combination of Visual Studio 2013 through 2017, and
    WinDBG on the computer for these cmdlets to work.
	
    These cmdlets had been originally developed as PowerShell scripts by John 
    Robbins and released on his blog. This module combines all the separate 
    scripts to make everything easier to manage.
	
    If you have any questions, suggestions, or bug reports, please contact John 
    at [email protected].
				
    The following cmdlets are included.


    Cmdlet                         Description
    ------------------             ----------------------------------------------
    Set-SymbolAndSourceServer      Sets up a computer to use a symbol and source
                                   server. (Combines Set-SymbolServer and 
                                   Set-Source Server)

    Set-SymbolServer               Sets up a computer to use a symbol server.
        
    Get-SymbolServer               Returns a hashtable of the current symbol 
                                   server settings.

    Set-SourceServer               Sets the source server directory.

    Get-SourceServer               Returns a hashtable of the current source 
                                   server settings
        
    Get-SourceServerFiles          Prepopulate your symbol cache with all your
                                   Source Server extracted source code.
                
    Get-SysinternalsSuite          Gets all the wonderful Sysinternals tools
        
    Get-Uptime                     Returns how long a computer has been running.
        
    Test-PathReg                   Utility function to test is a registry key 
                                   property exists in a key.

    Remove-IntelliTraceFiles       Removes no longer needed IntelliTrace files.

    Compare-Directories            Compares two directories.

    Merge-HashTables               Utility function to merge two hash tables 
                                   together.

    Set-ProjectProperties          Makes setting Visual Studio project options 
                                   super easy.

    Add-NgenPdbs                   Easily create PDB files from NGEN'd images on 
                                   a machine.

    Set-Environment                Alias to "set" to bring the DOS set command 
                                   to PowerShell.

    Invoke-CmdScript               Executes a CMD script and imports the 
                                   environment variables set in the script to 
                                   the current PowerShell instance.

    Import-VisualStudioEnvironment Executes the specified Visual Studio 
                                   VCVARSALL.BAT file importing the environment
                                   variables into PowerShell for command line
                                   usage.

    Set-Signatures                 Makes digitally signing files a lot easier by
                               	   looking for the first non-Azure code signing 
                                   file and picking the timestamp server.

    Get-DumpAnalysis               Automates analyzing a bunch of minidump  
                                   files using CDB and debug scripts.


SEE ALSO
    Online help and updates: 
            http://www.wintellect.com/devcenter/author/jrobbins
    GitHub repository      : 
            https://github.com/Wintellect/WintellectPowerShell

More Repositories

1

Angular-MVC-Cookbook

AngularJS and ASP.NET MVC Cookbook
JavaScript
470
star
2

PowerThreading

Jeffrey Richter's Power Threading Library
C#
216
star
3

Wintellect.Analyzers

.NET Compiler Platform ("Roslyn") diagnostic analyzers and code fixes written by Wintellect
C#
87
star
4

FastFileFinder

Find files and directory names FAST!
C#
87
star
5

ProcMonDebugOutput

See your trace statements in Sysinternals Process Monitor
C#
82
star
6

Paraffin

Making Windows Installer XML (WiX) easier to use
C#
74
star
7

WintellectWebinars

Code and Slides from Wintellect's Webinars
JavaScript
65
star
8

DataScienceExamples

Examples on data science as reference to blog posts.
Jupyter Notebook
56
star
9

SterlingDB

C#
53
star
10

XamarinSamples

F#
38
star
11

ProtoSharp

Allows you to use prototypal inheritance in C#
C#
26
star
12

AzureStorage

Jeffrey Richter's/Wintellect Microsoft Azure Storage Library
C#
18
star
13

Start-PowerShellPoint

1st rule of PowerShell is to always use PowerShell. Replace PowerPoint with this!
PowerShell
14
star
14

WintellectTFSBuildNumber

Easy creation of file versions based on your TFS Build number
C#
9
star
15

WintellectVSCmdlets

PowerShell macros using NuGet to replace missing macros in Visual Studio
PowerShell
8
star
16

ExampleHttpServer

A simple web server that demonstrates fundamental HTTP concepts to help developers learn.
JavaScript
7
star
17

MSLearn

Repository for MS Learn content
HTML
5
star
18

node-azure-oauth

JavaScript
5
star
19

SqlServerGadgetBox

Interesting SQL Server diagnostics from a NodeJS application.
JavaScript
5
star
20

intro-to-typescript

Sample TypeScript project with snippets and examples for the "Intro to TypeScript" course
TypeScript
4
star
21

lithograph

An AngularJS module that allows for the extraction of data directly from HTML
JavaScript
4
star
22

video-assessments

Tool for creating assessment questions for online training videos.
JavaScript
2
star
23

javascript-training

Javascript training slides and examples.
JavaScript
2
star
24

ng-office-graphs

ng-Office and graphs.
JavaScript
2
star
25

angular2-contact-manager

A simple Angular 2 application using ASP.Net 5
C#
2
star
26

blobxfer

Because MSFT keeps breaking blobxfer
Python
1
star
27

Classrates

Repository for Classrates Web site
JavaScript
1
star