ContributeMost Recent Contributions (feed)
- out-form with sort colum
- 38 minutes ago
-
From a great function in Powertab (on Codeplex).
- Search-SPN
- 2 hours ago
-
Searches Active Directory for objects having a SPN matching the input string provided.
- get windows product key
- 30 hours ago
-
retrieve the windows product key of a specified machine using WMI
- Get Exchange DB Stats
- 39 hours ago
-
Gathers lots of statistics about Exchange 2010 databases, and sends an email with both a html table, and also CSS graphs representing disk usage.
- VB MsgBox Powershell
- 42 hours ago
-
This is an advanced function I found that I’ve been using as a Show-Msgbox Function. Enjoy :)
- Get-ProcAddress
- 2 days ago
-
The Get-ProcAddress function returns the address of the desired Windows API function. The technique used to get the address does not rely upon P/Invoke or compiling C# code. GetProcAddress can be accessed through internal .NET methods that are simply wrappers for native functions. The Microsoft.Win32.UnsafeNativeMethods class exports GetProcAddress. This function indirectly access this internal class.
- Get-DelegateType
- 3 days ago
-
Declares a non-generic delegate type for the method signature provided.
- Get-CryptoBytes
- 3 days ago
-
Generate Cryptographically Random Bytes, using RNGCryptoServiceProvider, and optionally format them as strings.
Great for generating IIS MachineKeys ;-)
- Test-Hash
- 7 days ago
-
Test md5/sha1/etc file hashes.
I’ve enhanced this script to make it easy to store the results in a csv file and then test them later. See Example 1.
(This one fixes a missing “m” in the previous scrip)
- Create datastore by LUN
- 8 days ago
-
Creates a VMFS datastore via powershell by specifying the target LUN ID
Modified from the original version at http://snipplr.com/view.php?codeview&id=48048
To run: New-DatastoreByLun “myESXHost” “SANB” 9 0 “Datastore01”
PowerShell Code Repository