All posts by Joachim Nässlander

With over 25 years in IT, an IT architect certification and a never ending quest for knowledge I work to spread knowledge to all visitors.


A question arised on the Microsoft Live-tour how to run powershell-scripts as logon-scripts. The way to do it is the same as how to run powershell-commands from vb-script. You need to create a “wrapper” or call your ps1-script from vb-script through Like this:

Dim objShell,objFSO,objFile
Set objShell=CreateObject(“WScript.Shell”)
Set objFSO=CreateObject(“Scripting.FileSystemObject”)
‘sökväg till skriptet
If objFSO.FileExists(strPath) Then
set objFile=objFSO.GetFile(strPath)
strCMD=”powershell -nologo -command ” & Chr(34) & “&{” &_ objFile.ShortPath & “}” & Chr(34)
‘WScript.Echo strCMD
‘0 gömmer fönstret
‘1 visar fönstret
objShell.Run strCMD,0
WScript.Echo “Hittar inte ” & strPath
End If

Joachim Nässlander

Joachim NässlanderI’ve spent over 15 years in the IT industry. Most of that time has been spent as a consultant for various companies. Currently I’m responsible for the group IT-security and Infrastructure at Transcendent Group.

Previously I’ve worked at companies like Dell, Knowledge Factory and Qbranch.

Over the years I’ve participated in several Microsoft Technology Adoption Programs and Rapid Deployment Programs. Some of these are “Longhorn”, Windows Vista, Hyper-V, SCVMM, Stirling and Windows Server 2008 R2/Windows 7.

[list style=”check” color=”grey”]

  • 2011 – 2009 – Microsoft MVP in Cluster / High Availability
  • 2009 – IT-Consultant of the year, IDG IT Business Awards
  • 2008 – Microsoft MVP in File Systems And Storage


You can read more about the MVP award here or view my MVP profile here.

[list style=”check” color=”grey”]

  • Microsoft Certified IT Professional Enterprise Administrator (MCITPEA)
  • Microsoft Certified IT Professional Virtualization (Hyper-V)



Transcript ID: 799030

Access Code: nullsession

Member of
[list style=”check” color=”grey”]

  • Microsoft Extended Expert Team


Speaking assignments:
[list style=”check” color=”grey”]

  • TechDays 2012
    From Virtual Server to Hyper-V 3.0
  • TechEd New Orleans 2010
    The session “Managing Server Core without breaking a sweat!” and Ask The Experts on Cluster
  • TechEd Berlin 2009
    Product demo on Hyper-V Server 2008 R2 with Live Migration and Ask The Experts on Cluster
  • TechEd Los Angeles 2009
    Ask The Experts on Cluster
  • Teched Barcelona 2008
    Product demonstration of building a cluster on Server Core. Session finished #1 in evaluation.
    Ask The Experts on Cluster.
  • Microsoft Technet Update 2007
    Co-hosting with Maria Lundahl from Microsoft.
    A Swedish tour visiting Gothenburg, Malmoe, Umea and Stockholm.
    Subject was virtualization and we covered App-V, Virtual Server, Hyper-V and Terminal Services.
  • TechEd Barcelona 2007
    Ask The Experts on Windows Server 2008 Core and Active Directory.
  • Expert Zone 2007
    Arranged by Cornerstone and Qbranch the tour visited Malmoe, Gothenburg, Stockholm and Sundsvall.
    We discussed and demoed the new functionality in Windows Server 2008 such as Hyper-V, Terminal Services.
  • Microsoft TechNet Live 2007
    Held in Malmoe, Gothenburg, Linkoping, Orebro, Stockholm and Umea.
  • Server Core Night 2007
    About 200 visitors at Berns in Stockholm. An event where Andrew Mason and Tom Hazel held a presentation about Windows Server 2008 Core.
    I held a brief demo of WSV (Hyper-V, previously now as Viridian / Windows Server Virtualization), which was the first public presentation in Sweden.


Writing assignments:
[list style=”check” color=”grey”]