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 &...
#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...
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 = @(...
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...
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...
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
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...
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
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"...
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) & "...
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...
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...
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
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...
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
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 =...
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...
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
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
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.