If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.
Dim WSHShell Dim sServer, sPath, sSwitches Dim sServerName, sWinXp, sCmd Dim Command, objArgs On Error Resume Next Set WSHShell = WScript.CreateObject("WScript.Shell") sServerName = "\\server.path.com" sPath = "\apps" sWinXp = "\CleanIt.exe" sSwitches = " /sn" 'Set the command line - format: "\\server\share\path\hotfix.exe" /switches sCmd = sServerName & sPath & sWinXp & sSwitches Command = sCmd Public Function RunPatch 'set path of executable to command variable Command = sCmd 'run the command WSHShell.Run Command,1,False End Function
Join the community of 500,000 technology professionals and ask your questions.