Jump to content


Established Members
  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About tsfahmed2

  • Rank
  1. I know this is really old but i thought i'd get this anyway. I like to split things up (makes things easier to write and troubleshoot) Also use arrays for arguments to msiexec.so, for your install line-- $RevitInstallDir = "$env:ProgramFiles\Autodesk\" $msifile = "$dirFiles\ABDS2017\Img\x64\RVT\RVT.msi" $installdirargs = "INSTALLDIR" + "$RevitInstallDir" $autodeskargs = @( "/i" "`"$msifile"`" "`"installdiragrs`"" "ADSK_SETP_EXE=1" "/qb!" ) $installcommand = start-process msiexec.exe -ArgumentList $autodeskargs -wait -PassThru #to get the exitcode do --- $installcommand.ExitCo
  2. Use cck2 to create an addon and deploy via script. https://mike.kaply.com/cck2/
  3. Hi, Has anyone come across this issue in SCCM 2012 R2 (CU1), where the Object Content Information for the deleted packages are still present in 'Content Status' but shows blank for the 'Software' field ?
  4. Hi, I know this is pretty old, but just in case someone needs it: Dim env Dim strCPUName strNewName = "wrongname" Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & "." & "\root\cimv2") Set colSMBIOS = objWMIService.ExecQuery ("Select SerialNumber from Win32_SystemEnclosure") For Each objSMBIOS in colSMBIOS strNewName = objSMBIOS.SerialNumber Next Set colItems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapterConfiguration WHERE IPENABLED = 'True'") For Each objItem in colItems strMAC = Replace(ObjItem.MACAddress, ":","")
  • Create New...