0
votes
0answers
72 views

need command line to test duplex status on windows NIC cards

this woud be for windows 7 I tried the following powershell command get-wmiobject Win32_NetworkAdapter | foreach-object { get-wmiobject -namespace root/WMI -class MSNdis_macOptions -filter ...
4
votes
1answer
2k views

How to set printer permissions using PowerShell / some other script?

I need to update printer's permissions in a script, i.e. do the same as I would manually do this way: Open Devices and Printers applet Double-click the default printer (open its queue) Go to Printer ...
6
votes
2answers
770 views

Monitor hardware change events

I have a laptop that periodically notifies me that some piece of hardware was installed/removed by playing the little ba-dum sound. I have no idea what hardware is changing - I am not adding or ...
2
votes
2answers
2k views

How to extend a logical volume using Powershell

On Windows XP SP3, how can I extend a volume using Powershell on a remote computer? I prefer WMI over Powershell remoting.
2
votes
1answer
3k views

How to display an array of bytes in PowerShell as a joined string of hex digits?

I am using WMI to find out what my WWN (World Wide Name) is for my port on an HBA card. I can get the WWN back but it is contained as an 8 byte array. I would like to convert this byte array into a ...
1
vote
3answers
186 views

Adding/Removing Users For Permissions in XP

I have some specific folders that I grant members of my team permissions to. So I'll share a specific folder and add them as permissions. But after they are done I usually remove them from the list ...