Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: GrimR
  • Content: Threads
  • Order by date
  1. GrimR

    Hope someone can help how can i

    Hope someone can help how can i add ; in cetain places e.g. numbers (1 to 4 digits)(ADD;) String text can be any length also contain &+ etc characters)(ADD;) (Price in 0:20 to 1450:00 formatt)(ADD;)(more String Txt)(ADD;) another digit 1 Coke 20 Stock 01; Coke; 20; Stock; 0 234 Fanta Grape &...
  2. GrimR

    why wont this exit

    #Get Windows Version $version=(gwmi win32_operatingsystem).caption write-host $version "is installed" $win7='Microsoft Windows 7 Professional' $Win10='Microsoft Windows 10 Pro' if ($version -eq $Win7){ exit } else { #Add registry key for Windows 10 netwrok errorif write-host $Win10...
  3. GrimR

    Help with script

    The app to match works, but the platform section does not seem to be working $appToMatch = '*Mimecast*' function Get-InstalledApps { if ([IntPtr]::Size -eq 4) { $regpath = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' } else { $regpath = @(...
  4. GrimR

    parameters/ Arguments using powershell

    How can I install the parameters/ Arguments using powershell Start-Process 'server\software$\Agent-6.11.1-x64.msi' -ArgumentList "/i /qn" "Agent='GROUP' SERVER=cloud.work.com:443 KEY=4cehdahdihaifdiahfidhfaduhfdjhf" -Wait I get the same error in this website, but when I try his solution it...
  5. GrimR

    uninstall/install msi

    I have batch files that check the registry and if exists uninstalls the app, and then reinstalls the new version, now in Win10 these do not work as its a batch file and it does not seem to run. So how do i convert these to powershell, thought but now there would be some good examples but I cant...
  6. GrimR

    Batch File

    How can I get a batch file to run in Windows 10, when I double click it, it takes each line as a seperate command, if you hold down shift all you get is powershell which does the same thing. MCSE NT to 2012, MCITP:EA/SA, MCSA, MCDBA, MCTS, MCP+I, MCP
  7. GrimR

    wshshell not running

    what is wrong here Set wshShell = CreateObject("WScript.Shell") strKey = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" strValue = "Platform" strData = "x86" On Error Resume Next strData = wshShell.RegRead(strKey & "\" & strValue) On Error Goto 0 Select Case strData...
  8. GrimR

    unlock user array

    Anyone know if this can be done, run vbscript popup a list of users locked out (an array)(create numbers next to the list) select the number of the user you want to unlock. MCSE NT to 2012, MCITP:EA/SA, MCSA, MCDBA, MCTS, MCP+I, MCP
  9. GrimR

    Check two folders for exist

    How do I check two folders for existence. Then run the command. I'm guessing something to do with null but the way I have it, it checks each folder separately. folderPath = "C:\Program Files\Trend Micro\OfficeScan Client" strfolder = "C:\Program Files (x86)\Trend Micro\OfficeScan Client"...
  10. GrimR

    Bullet list Select Case

    Need help to finish this one a little stuck Error is object required:" I'm not sure if I'm passing the response on correctly either. Does the Case need to be 1 or "1" neither working Dim bullet Dim response Dim objFSO:Set objFSO = CreateObject("Scripting.FileSystemObject") bullet = Chr(10) & "...
  11. GrimR

    Dos help

    I know its the wrong place but is there a DOS section What I am trying to do is get a list of drives e.g fsutil fsinfo drives which returns Drives: A:\ C:\ D:\ F:\ H:\ K:\ L:\ M:\ N:\ O:\ P:\ Q:\ T:\ X:\ Z:then I need to remove a directory from each drive hopefully the above can be used as an...
  12. GrimR

    Replace string

    Please help with replace string When I get the Dell model number it comes out as Latitude E5430 non-vPro I would like to strip out the words Latitude & non-vPro NOTE: E5430 may be any Dell Model not specifically that one. Was thinking of something like below but not working If it could be done...
  13. GrimR

    UC Express

    Does anyone know how to transfer a license from one machine to another or even back it up in the case of format reload as UC express I believe is no longer free and our licenses are used. Any help appreciated. MCITP:EA/SA, MCSE, MCSA, MCDBA, MCTS, MCP+I, MCP
  14. GrimR

    DOS

    I know this is not vbscript it's old school batch file, but I cant find where else to post. Please see if you can help anyway, thanks I am trying to go through the array, if the PC name is found it goes to the section found it else goes to RunMe I can get it to echo out the names but as soon as...
  15. GrimR

    VBA or VBS position image

    Think this is VBA /VBSCRIPT question code is from Outlook email script How can I position this image objShape = objSelection.InlineShapes.AddPicture ("http://www./images/assets/logotagline.gif ") objSelection.TypeParagraph() MCITP:EA/SA, MCSE, MCSA, MCDBA, MCTS, MCP+I, MCP
  16. GrimR

    Find if OS is x86 or x64 then Windows 7 or XP and run msi

    Hi anyone know how to find if OS is x86 or x64 then Windows 7 or XP and run msi each piece of code does one part how do I combine the two Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputerName & "\root\default:StdRegProv") strKeyPath =...
  17. GrimR

    strange problem

    XP machine can connect to one server via ip address [\\192.168.0.2] and it shows the shares, if I use the UNC path [\\server] it doesn't show anything. Sounds like DNS but if I connect to other servers or PC's via unc they all show up fine. This does not happen on other machines on the network...
  18. GrimR

    Domain

    We are going to be breaking our domain and joining another, once we have joined will the doamin admins of the new doamin have access to our machines via c$ and have access to all our Shared/None shared files and folders? MCITP:EA/SA, MCSE, MCSA, MCDBA, MCTS, MCP+I, MCP
  19. GrimR

    domain

    We are going to be breaking our domain and joining another, once we have joined will the domain admins of the new domain have access to our SQL database? Currently using windows authentication MCITP:EA/SA, MCSE, MCSA, MCDBA, MCTS, MCP+I, MCP
  20. GrimR

    intranet setup

    Hope someone here can help How do I set up my machine lets say [IT] to have a website named www.ithelpdesk.com it's fine that you can connect using the ip address but it's not the way I want it. MCITP:EA/SA, MCSE, MCSA, MCDBA, MCTS, MCP+I, MCP

Part and Inventory Search

Back
Top