Tags » Code Snippets

PowerShell: The basic template in ISE

The basic Ctrl-J template in the PowerShell ISE is a bit noisier than I need. This is all I want:

<#
.Synopsis
Drop set of databases… 21 more words

Powershell

Getting Started with Powershell.

If you are running Microsoft Windows, you will already have Powershell installed. You can run as an administrator or a regular user, to run in administrator mode, right click on the icon and choose this option. 165 more words

Code Snippets

Read Resource File From Assembly

Get current executing assembly

Assembly assembly = Assembly.GetExecutingAssembly();

If uoy don’t know which resource to ger then use this statement. Analyze and see the required resource. 42 more words

Code Snippets