Search found 153 matches

by JohnTitor
Thu Mar 21, 2019 6:03 am
Forum: PowerShell
Topic: Displaying and Interacting with Drivers
Replies: 13
Views: 4249

Re: Displaying and Interacting with Drivers

I'd much rather keep this as native as possible. I think Devcon will be perfect as long as I can some how incorporate it into my form build..
by JohnTitor
Wed Mar 20, 2019 10:53 pm
Forum: PowerShell GUIs
Topic: Create Themes?
Replies: 16
Views: 3270

Create Themes?

How can I give my users the choice of themes that can be saved and loaded on next application launch?
by JohnTitor
Wed Mar 20, 2019 10:15 pm
Forum: PowerShell
Topic: Displaying and Interacting with Drivers
Replies: 13
Views: 4249

Re: Displaying and Interacting with Drivers

After some more time researching I’ve discovered MS isn’t letting us do this without devcon
by JohnTitor
Wed Mar 20, 2019 3:56 pm
Forum: PowerShell
Topic: Displaying and Interacting with Drivers
Replies: 13
Views: 4249

Re: Displaying and Interacting with Drivers

Sweet. I’ll look into that and post back.
by JohnTitor
Wed Mar 20, 2019 3:11 pm
Forum: PowerShell
Topic: Displaying and Interacting with Drivers
Replies: 13
Views: 4249

Re: Displaying and Interacting with Drivers

The way we do it in our environment say we want to remove the display driver Go to device management Find the display adapter Right click and choose uninstall We make sure that “delete associated software” is uncheck And reboot the machine Upon logging in, Windows finds the device and installs it. T...
by JohnTitor
Wed Mar 20, 2019 9:47 am
Forum: PowerShell
Topic: Displaying and Interacting with Drivers
Replies: 13
Views: 4249

Displaying and Interacting with Drivers

Hello, I'm looking for a way to manage drives remotely for the techs Essentially query the PC, list the drivers, give them easy selections USB, DisplayDrivers, Mouse, etc... remotely remove Think Device Uninstall in device management but not remove the software I can't seem the find the best solutio...
by JohnTitor
Thu Mar 14, 2019 1:11 pm
Forum: PowerShell
Topic: Count of Files
Replies: 13
Views: 4286

Re: Count of Files

Huh? lol I'll give you some examples of the different folders I'm moving "C:\users\$user\desktop" "C:\Users\$user\AppData\Local\Google\Chrome\User Data\Default" "C:\Users\$user\AppData\Local\Microsoft\Feeds" "C:\Users\$user\AppData\Local\Microsoft\Internet Explorer\EmieUserList" "C:\Users\$user\AppD...
by JohnTitor
Thu Mar 14, 2019 12:48 pm
Forum: PowerShell
Topic: Count of Files
Replies: 13
Views: 4286

Re: Count of Files

$folders = "C:\users\user\desktop","C:\users\user\documents"
$count = $null
foreach ($folder in $folders){

$rclog = robocopy $folder \xxx /L /E
$count += ($rclog -match 'new File' ).Count

}

$count

Looks like a winner!
by JohnTitor
Thu Mar 14, 2019 12:20 pm
Forum: PowerShell
Topic: Count of Files
Replies: 13
Views: 4286

Re: Count of Files

I'm trying to provide the count of files of the folders I'm going to move through robocopy and display it to the technician Then, once the robocopy job is done, I'm going to provide them the count on the new PC The problem, is not all files are under the users profile so I can't just count that. The...
by JohnTitor
Thu Mar 14, 2019 11:06 am
Forum: PowerShell
Topic: Count of Files
Replies: 13
Views: 4286

Count of Files

So I'm trying to show the count of about 40 different folders Desktop Documents MozillaProfiles Outlook etc... My current working theory is $folder = "C:\users\user\desktop" $DesktopCount = Get-ChildItem $folder -Force -Recurse -File | Measure-Object | %{$_.Count} Then at the end of the script I do ...