Powershell - Pain Relief by R.T.Edwards
Thursday, March 13, 2014
Powershell: Using Visual Basic's CreateObject
Here's how you can use CreateObject in Powershell:
$Iret = [reflection.assembly]::LoadWithPartialName("'Microsoft.VisualBasic")
$Iret = [Microsoft.VisualBasic.Interaction]::CreateObject("ADODB.Connection")
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment