Hello Powershell Masters,
I have below script in VBscript, Would like to convert in PowerShell. Kindly help me in this…
option Explicit
const ForReading = 1, ForWriting = 2, ForAppending = 3
dim arrErrors(13) 'I wanted to check list of errors from my array condition
dim objFSO...
I have below hta script, to check the Services status on single system. My requirement is to run this on list of computers. i.e, The script should have a browse button to ask for a text file from local computer and accept to run on systems that are in the text file.
<Html>
<Head>...
I used to do array in VBSCRIPT like below… I am not sure how I should do it in PowerShell… Can any help me out…?
dim arrErrors(12)
arrErrors(0) = "APP0"
arrErrors(1) = " APP1"
arrErrors(2) = " APP2"
arrErrors(3) = " APP3”
arrErrors(4) = "APP4"
arrErrors(5) = "APP5"
arrErrors(6) = "APP6"...
I used to do array in VBSCRIPT like below… I am not sure how I should do it in PowerShell… Can any help me out…?
dim arrErrors(12)
arrErrors(0) = "APP0"
arrErrors(1) = " APP1"
arrErrors(2) = " APP2"
arrErrors(3) = " APP3”
arrErrors(4) = "APP4"
arrErrors(5) = "APP5"
arrErrors(6) = "APP6"...
I have below vbscript.... when executed it will give all the applications that are in this class "SELECT * FROM Application".. What I wanted is a count of these application... I am looking for this script to have in vbscript or powrershell...
Count of Package Name in totall.. say if the app-v...
I have below vbscript.... when executed it will give all the applications that are in this class "SELECT * FROM Application".. What I wanted is a count of these application... I am looking for this script to have in vbscript or powrershell...
Count of Package Name in totall.. say if the app-v...
I have below powershell script for windows events to query, trying to write this script to get the Compueter name, Event ID, Source and description info to excel.
Looking for help to finish this script. This script to run on list of computers also.
$servers = get-content “c:\list.txt”
foreach...
I Have below script:-- looking for help to convert the output to excel format
$servers = get-content “c:\list.txt”
foreach ($server in $servers)
{
$server
$command = “quser /server:” + $server
invoke-expression $command
}
when executed getting in below format the output.
server1
USERNAME...
Hello Scripting Experts,
I have an application which will write below log file automatically with the name of “CoreAPP.txt“
my Sample of “CoreAPP.txt“:
[10/31/2012 19:53:41:889 SWAP INF] {hap=CB2:app=Internet Explorer_b1 6.0.3790.3959:tid=22C0:usr=B9D327}
Elapsed time for upload: 0.718...
Hello Scripting Experts,
I have a log file on remote servers.. in remote servers c:\vb\text.log
I have included my remote systems in list.Txt
like
server1
server2
below is the sample of log..
application working
[10/23/2012 working
[10/24/2012 nos appdown
error found you need to check this
...
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.