Search found 166 matches

by JohnTitor
Wed Mar 27, 2019 9:23 am
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 6506

Re: Tray App no output

I don't think you're following what I'm asking.. I'm looking to build a Windows Tray App... btw this code is now working for me.. I had the logic wrong function LoadFile{ $global:File = (Get-Process -Name 'PowerShell Studio' -ErrorAction SilentlyContinue) } while ($true) { Write-Host "Kompressor Sta...
by JohnTitor
Wed Mar 27, 2019 6:04 am
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 6506

Re: Tray App no output

Hello, I wanted to note, this application was the first thing I started working on when I turned on my PC.. While your points are valid, I just wanted to point that out. I did put my code in my OP but incase, I've made changes to it today. I'm looking to not compress-archive if powershell studio is ...
by JohnTitor
Tue Mar 26, 2019 8:03 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 6506

Re: Tray App no output

Restarted my PC, works as expected.

Weird behavior.
by JohnTitor
Tue Mar 26, 2019 3:45 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 6506

Re: Tray App no output

https://www.sapien.com/forums/viewtopic.php?f=12&t=13048&p=69748&hilit=Tray+app#p69748 See the notifications that OlgaB produced? That’s what I want :) ???? Olga B? She just posted the following: "" Hello, I can't reproduce your issue. I created Tray app using your code. It works as expected. Also ...
by JohnTitor
Tue Mar 26, 2019 2:52 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 6506

Re: Tray App no output

viewtopic.php?f=12&t=13048&p=69748&hili ... app#p69748

See the notifications that OlgaB produced? That’s what I want :)
by JohnTitor
Tue Mar 26, 2019 2:42 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 6506

Re: Tray App no output

Regardless right?

The toast notification is not working for me :)
by JohnTitor
Tue Mar 26, 2019 2:29 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 6506

Tray App no output

function LoadFile{ $global:File = test-path -path C:\Windows\Utilities\Sapien.zip } while ($true) { LoadFile if ($global:File -eq $false) { $Options = @( "/E", "/l" ) $rclog = Robocopy "C:\users\tech\Documents\SAPIEN" \xxx $Options $rclog | out-file C:\users\tech\Documents\SAPIEN\Filecount.txt #Com...
by JohnTitor
Fri Mar 22, 2019 12:58 pm
Forum: PowerShell
Topic: Count of Files
Replies: 13
Views: 4993

Re: Count of Files

whoops, sorry about that. I've confirmed this works as expected and will update once I get robocopy to count/copy folders in one command. $user = 'USERNAME' $Folders = @( #Destkop "C:\users\$user\Desktop" #Documents "C:\users\$user\Documents" #Downloads "C:\users\$user\Downloads" #Favorites "C:\user...
by JohnTitor
Fri Mar 22, 2019 11:38 am
Forum: PowerShell
Topic: Count of Files
Replies: 13
Views: 4993

Re: Count of Files

This looks promising as a start
SymLink.png
SymLink.png (14.92 KiB) Viewed 1678 times
by JohnTitor
Fri Mar 22, 2019 10:48 am
Forum: PowerShell
Topic: Count of Files
Replies: 13
Views: 4993

Re: Count of Files

C:\link is considered a system folder?

I've researched a bit this morning and it doesn't look like you can symlink multiple folders to one