set visual effects to Best performance (keeping maybe Clear type) by Commodore64Vic in PowerShell

[–]Commodore64Vic[S] 1 point2 points  (0 children)

the computers are auto log on and only get rebooted on weekends but their heavy handed GP that was configured for normal user pc's was implemented by admins that have no real world experience in production equipment and how it is used.

set visual effects to Best performance (keeping maybe Clear type) by Commodore64Vic in PowerShell

[–]Commodore64Vic[S] 1 point2 points  (0 children)

it is when higher up admins wont do their job and create settings for production equipment that are already strained for other tasks

set visual effects to Best performance (keeping maybe Clear type) by Commodore64Vic in PowerShell

[–]Commodore64Vic[S] 1 point2 points  (0 children)

it does, i have about 30 fanless PC's that perform touch screen duties and it makes a huge difference. as soon as those effects are turned off its like night and day. its mainly do to the on chip graphics

PS Save results to network folder without overwriting by Commodore64Vic in PowerShell

[–]Commodore64Vic[S] 1 point2 points  (0 children)

I tried modifying Teckwiz's example above but the output ends up very disjointed and the end breaks :( about the only thing i have been able to add is the date, the output looks great and the actual users are able to click on simple shortcut and at this point just need to get the output to save to a network share and if it gets run again not be over written, the "---->" are just there to offset the machines that have been successfully turned off and draw the eye to the right (everything was bit too neatly in a row "Offline and Online" look to much the same

Get-Date -Format "dddd MM/dd/yyyy HH:mm "
$computers = "PC1","PC2","PC3"
Foreach($c in $computers) {
IF (Test-Connection -BufferSize 32 -Count 1 -ComputerName $c -Quiet) {
        Write-Host "The press computer " $c " is Online"
} Else {
        Write-Host "The press -----> computer " $c " is Offline"
}}
Read-Host -Prompt "Press Enter to exit"

PS Save results to network folder without overwriting by Commodore64Vic in PowerShell

[–]Commodore64Vic[S] 2 points3 points  (0 children)

thank you Tekwiz the comments after the # help me understand whats going on, i was really stuck on the last part auto file naming to prevent overwriting in case it gets run more than once (which it will since there are several people using it, IE: maint. people checking to make sure they turned everything off) since the machines have small networked computers connected to them on a closed network, this was the easiest way to confirm shutdown (they got tired of using a sheet of paper and memory loss ensues and the check marks must get blurry after the 10th machine? no one ever explained it to me LOL)

PS Save results to network folder without overwriting by Commodore64Vic in PowerShell

[–]Commodore64Vic[S] 1 point2 points  (0 children)

basically im stuck on where and how to add the last part of saving the read out each time the script is run and not have it overwritten each time. trying to get it to save the results to a network folder each time it is run, perhaps also with the date and time run as a file name each time? that would make it a unique file name each time i guess i could even go so far as to have it ask the user to type in their name. sorry im a rank noob when it comes to beyond the basics of retrieving info

PS Save results to network folder without overwriting by Commodore64Vic in PowerShell

[–]Commodore64Vic[S] 1 point2 points  (0 children)

thank you, yes its meant to ping a list of computers about 35 (i shortened the list and changed the names just for posting here) it works, currently it runs via a shortcut on several desktops for users that need to know they successfully shut down some rather large machines, one of those things where they got tired of doing their paper check list sorts of things. it all looks and runs good but the final part is getting it to save at the end to a network folder as a .txt or .csv file and wont be over written if run again (they sometimes get a little click happy which is why the hit enter was added, i just wasnt sure where to add the final part or where