ContributeMost Recent Contributions (feed)
- Update-Ipod
- 21 hours ago
-
Quick function to start a sync operation using the iTunes COM object.
- Set-WebConfig
- 36 hours ago
-
A function to set a sql connection string in a web.config file
Andy Schneider
Get-PowerShell.com
- Set-Computername
- 36 hours ago
-
A function to rename a computer
Andy Schneider
get-powershell.com
- Set-Domain
- 36 hours ago
-
A function to join a domain
Andy Schneider
Get-powershell.com
- Set-IPAddress
- 41 hours ago
-
- A function to set an IP Address
- Andy Schneider
- Get-PowerShell.com
- Is-SameSubnet
- 43 hours ago
-
Simple function that determines whether a pair of IP’s are on the same subnet, given a specified mask.
- Out-Wiki
- 44 hours ago
-
Out-Wiki – converts cmdlets help to media wiki (wikipedia) format
http://dmitrysotnikov.wordpress.com/2008/08/18/out-wiki-convert-powershell-help-to-wiki-format/
Modify the invocation line at the bottom of the script to point to your
PowerShell snapin, and change the preface in the “generate index” section
- Automount new PSDrives
- 4 days ago
-
This only works PowerShell v2.0 CTP2, and you’ll need to save it as AutoMount.psm1 in a directory under your documents folder like so (vista example):
userprofile\documents\windowspowershell\packages\automount\automount.psm1
You can then load it with the command:
ps> add-module automount
I have this in my profile. You can temporarily disable automount with the function Disable-AutoMount and reenable it at anytime with Enable-AutoMount. The module also exposes four new events for you to consume yourself. You could, for example, hook your own script to run anytime a device is added and/or removed. This is what I do myself in the module. I hook a WMI event once then forward 1 of 4 possible new events depending on the type of WMI event that was raised.
NOTE: this particular flavour of WMI query only works in Vista and Windows 2003 it appears. I’m looking into getting it working with 2000/XP also.
- demo
- 5 days ago
-
demo
- Reset Time Sync Setting
- 7 days ago
-
Cycles all VMs on VirtualCenter server and sets the ‘SyncTimeWithHost’ to true or false based on user input
PowerShell Code Repository