Support Forums

Search found 10169 matches

by jvierra
Thu Jan 12, 2017 1:49 pm
Forum: Windows PowerShell
Topic: Log PS output to a file?
Replies: 8
Views: 160

Re: Log PS output to a file?

You will have to list all of the files and delete the oldest one each time you want to make a new log.
by jvierra
Thu Jan 12, 2017 1:31 pm
Forum: Windows PowerShell
Topic: Scheduled Tasks Audit
Replies: 5
Views: 90

Re: Scheduled Tasks Audit

It works for me as you can see above. Have you even tried it?
by jvierra
Thu Jan 12, 2017 1:28 pm
Forum: PowerShell GUIs
Topic: Datagridview too many rows and auto size
Replies: 22
Views: 275

Re: Datagridview too many rows and auto size

It works for me. Just anchor to all four sides and run the form then stretch it or shrink it and the grid follows.
by jvierra
Thu Jan 12, 2017 12:58 pm
Forum: Windows PowerShell
Topic: Scheduled Tasks Audit
Replies: 5
Views: 90

Re: Scheduled Tasks Audit

Who says you cannot use a wildcard. D:\scripts> Get-ScheduledTask -TaskName My* TaskPath TaskName State -------- -------- ----- \Mytasks2\ MyTask2 Disabled \Mytasks2\ MyTask3 Disabled \Mytasks2\ MyTask4 Disabled
by jvierra
Thu Jan 12, 2017 12:56 pm
Forum: PowerShell GUIs
Topic: Datagridview too many rows and auto size
Replies: 22
Views: 275

Re: Datagridview too many rows and auto size

Anchor on all four sides and it will grow with the form.
by jvierra
Thu Jan 12, 2017 12:04 pm
Forum: Windows PowerShell
Topic: Log PS output to a file?
Replies: 8
Views: 160

Re: Log PS output to a file?

You cannot use wild cards in a file name.

You need to write a script that counts the transcript files There is no way to do this other than that.

If you append then you will never get multiple files.
by jvierra
Thu Jan 12, 2017 12:02 pm
Forum: PowerShell GUIs
Topic: Datagridview too many rows and auto size
Replies: 22
Views: 275

Re: Datagridview too many rows and auto size

You can anchor the DGV to the form and it will stretch with it.
by jvierra
Thu Jan 12, 2017 11:51 am
Forum: PowerShell GUIs
Topic: Datagridview too many rows and auto size
Replies: 22
Views: 275

Re: Datagridview too many rows and auto size

I don't understand what that has to do with the size of the DGV.
by jvierra
Thu Jan 12, 2017 11:03 am
Forum: PowerShell GUIs
Topic: Datagridview too many rows and auto size
Replies: 22
Views: 275

Re: Datagridview too many rows and auto size

You have a fixed set of items. Just set the form to the size needed and make the DGV the correct size.
by jvierra
Thu Jan 12, 2017 9:52 am
Forum: Windows PowerShell
Topic: Log PS output to a file?
Replies: 8
Views: 160

Re: Log PS output to a file?

You will have to write a script process that does that. There is no way to do it automatically. Just count the files and delete the oldest one.

Go to advanced search