Search found 318 matches

by sekou2331
Fri Mar 08, 2013 1:09 pm
Forum: PowerShell
Topic: passing parameters
Replies: 11
Views: 5169

passing parameters

I want to pass multiple Ip addresses through a Param and want the job to run for each computer. I am using the Param Function below. But i can only make it work with on computer at a time. Do i need to add a foeach loop in the Param or in the process part of the Param? Also the second part is of the...
by sekou2331
Wed Mar 06, 2013 9:10 am
Forum: PowerShell
Topic: deleting certain property info
Replies: 4
Views: 2658

Re: deleting certain property info

Cool this worked for me.
by sekou2331
Tue Mar 05, 2013 12:54 pm
Forum: PowerShell
Topic: deleting certain property info
Replies: 4
Views: 2658

deleting certain property info

Hi,

i am using the line below. I this is the kind of output i am geting domain\username. Is there a way to remove the domain\ and just get the username?
PowerShell Code
Double-click the code block to select all.
Get-wmiobject Win32_ComputerSystem | Select-Object username
by sekou2331
Tue Feb 26, 2013 6:35 am
Forum: PowerShell
Topic: HTML table font conversion.
Replies: 22
Views: 27843

HTML table font conversion.

I got the script converting the file to xml to work. Can we now use if statements or is there another route. I see you are using tr to change certain boxes. I will try and investigate more. But please let me know if it possiable to use if statements to color certain numbers in different coulmns.
by sekou2331
Mon Feb 25, 2013 1:51 am
Forum: PowerShell
Topic: HTML table font conversion.
Replies: 22
Views: 27843

HTML table font conversion.

I inserted what you gave me and it gave me the attached. But i had to change something in the script. It seems like the line below have a extra single qoute that cancels out everything. $htmlfile='="V:DeskTritonPluginVerPluginVersion$rptdate.htm" Attached files /FileUpload/c9/927cef1592a1a...
by sekou2331
Fri Feb 22, 2013 6:55 am
Forum: PowerShell
Topic: HTML table font conversion.
Replies: 22
Views: 27843

HTML table font conversion.

You have to change the file to a .htm file by changing the extension

Attached files /FileUpload/58/01723bdb63f673109bc4cf3b2aa2c9.txt (7.1 KB)
by sekou2331
Fri Feb 22, 2013 5:20 am
Forum: PowerShell
Topic: HTML table font conversion.
Replies: 22
Views: 27843

HTML table font conversion.

This works. It made all words blue and the background light gray.
by sekou2331
Thu Feb 21, 2013 3:41 am
Forum: PowerShell
Topic: HTML table font conversion.
Replies: 22
Views: 27843

HTML table font conversion.

Ok you keep saying my script doesnt work. Please tell me how it doesnt work? I get an output from my script. It also changes the information to red. It just does not use the if statement correctly. Thank for your help I will investigate further while using the inforamtion you gave me to see if i can...
by sekou2331
Wed Feb 20, 2013 9:25 am
Forum: PowerShell
Topic: HTML table font conversion.
Replies: 22
Views: 27843

HTML table font conversion.

Ok I have attched how this script really looks. When i run the script it work perfectly it is just the HTML part i having a issue with.

Attached files /FileUpload/1e/5d199d9406d43b8fdaee450f98a88d.txt (4.9 KB)
by sekou2331
Wed Feb 20, 2013 6:48 am
Forum: PowerShell
Topic: HTML table font conversion.
Replies: 22
Views: 27843

HTML table font conversion.

THe code is ok i am just trying to change certain font colors to red by using a if statement. but it is not working. Going to finish looking at what you gave me and see if i can make it work. Thank you.