Archive for December 11th, 2009

Test with some PowerShell code

#start an remote desktop sessie
function Start-RDPSession {
	param([string]$ComputerName=$(Throw "Missing computername argument!!"),
		[switch]$Admin)
 
	if ($Admin) {
		Invoke-Expression -Command "mstsc.exe /v:$ComputerName /admin"}
	else {
		Invoke-Expression -Command "mstsc.exe /v:$ComputerName"}
}
Comments Off more...

Welcome

Welcome to my new space on the World Wide Web. For now there is not much to see. But soon there will be much more.

Comments Off more...

(c) 2010 Mario van Antwerpen
iDream theme by Templates Next | Powered by WordPress