Search found 13003 matches

by jvierra
Thu May 10, 2012 9:06 am
Forum: Windows PowerShell
Topic: Flat buttons
Replies: 6
Views: 1717

Flat buttons

Code: Select all

$button1.FlatAppearance.BorderSize=0
jvierra2012-05-10 16:08:34
by jvierra
Mon May 07, 2012 4:06 pm
Forum: Windows PowerShell
Topic: Rename Dist Lists - Display Name, property name, s
Replies: 4
Views: 765

Rename Dist Lists - Display Name, property name, s

The name and displayname are NOT the email address. The email address is separately settable. HELP Set-DistributionGroup -full You must eventually learn to use the builtin help. It is very easy. Just type 'help' and some word you want to lookup. HELP get-distributiongroup Remember that for every 'ge...
by jvierra
Mon May 07, 2012 7:17 am
Forum: Windows PowerShell
Topic: Rename Dist Lists - Display Name, property name, s
Replies: 4
Views: 765

Rename Dist Lists - Display Name, property name, s

Exchange 2007?

Have you tried to use the set comamnds.

Code: Select all

	
get-distributiongroup "testgroup"  |
     Set-DistributionGroup -name newname -displayname new displayname

jvierra2012-05-07 14:19:08
by jvierra
Mon May 07, 2012 4:36 am
Forum: Windows PowerShell
Topic: Rename Dist Lists - Display Name, property name, s
Replies: 4
Views: 765

Rename Dist Lists - Display Name, property name, s

Post your script? We can't be of much help if we can't see it.
by jvierra
Sun May 06, 2012 11:44 am
Forum: Windows PowerShell
Topic: PSRemoting
Replies: 3
Views: 1292

PSRemoting

I have always set up PowerSHell with GP except on stan dalon esystems. It has always worked perfectly. The only issues I ever faced were setting the firewalls through GP.


You shouldn't have any problems.
Good luck.
by jvierra
Sun May 06, 2012 11:00 am
Forum: Windows PowerShell
Topic: PSRemoting
Replies: 3
Views: 1292

PSRemoting

Just set Group Policy. It will do it correctly. Be sure you have the firewall ports open. Winrm quickconfig still works as it always did. The new piece in V2 is that you can use a POwerSHell CmdLet to do the config. Both quickconfig and Enable-PSRemoting will open the firewall ports for you. If you ...
by jvierra
Sun May 06, 2012 12:23 am
Forum: Windows PowerShell
Topic: Here is script to help extract Serial Numbers
Replies: 5
Views: 2167

Here is script to help extract Serial Numbers

EBrant - Good discovery. You are getting better. I uploaded this before. http://sapien.com/forums/uploads/2491/Get-SN3.txt I went back and debugged it. The original was just a simple demo of how to get PowerShell todo more work for you. The code was not 'live'. Now it is. I also discovered that it h...
by jvierra
Fri May 04, 2012 9:59 am
Forum: Windows PowerShell
Topic: start-service email
Replies: 3
Views: 834

start-service email

help Send-MailMessage -full


by jvierra
Fri May 04, 2012 7:05 am
Forum: Windows PowerShell
Topic: How can I expand the Properties under __Path
Replies: 3
Views: 914

How can I expand the Properties under __Path

It sounds like a pretty dumb idea to me. We use the path to get related classes or to save an object for later reference. There i sno disassemby of the path. It is just a lowly string. It can be displayed or saved but it cannot be expanded. I can do this with the path: [wmi]'OMEGA2rootcimv2:Win32_Di...
by jvierra
Fri May 04, 2012 1:57 am
Forum: Windows PowerShell
Topic: How can I expand the Properties under __Path
Replies: 3
Views: 914

How can I expand the Properties under __Path

Path is not a collection is a string containg the full WMI path to the class ofr instance. Every WMI object has a __PATH. All of the properties with underscores are system properties and not for general consumption. Perhaps you are looking for: gwmi win32_ComputerSystemProcessor | select * jvierra20...