Quantcast
Channel: PowerShell.org » All Posts
Browsing all 13067 articles
Browse latest View live

Reply To: PsObject in a String

Daniel Krebs – Tnx this is what I'm looking Tnx Itamar

View Article


Reply To: Remotely grabbing username

$strName = (Get-Item -Path Env:\USERNAME).value

View Article


Reply To: PSRemoting – PSSessionConfiguration – Using PSSnapin in...

Martin, Thanks for taking the time to investigate this scenario. I think I'll follow up as you suggested with a Connect entry to tell Microsoft about this. As I was looking at the current set of...

View Article

Reply To: Microsoft.Exchange.Management.PowerShell.E2010

HI Matt Yes, exactly the same on both.

View Article

Audio volume

friends, how do I control the audio volume (the overall volume and Media Player)?

View Article


Reply To: Audio volume

With PowerShell? I don't think there's any support for that built-in, but since you can access the entire COM and Win32 API ecosystem, I'm sure there's a way to make it work. A quick web search turned...

View Article

Reply To: Audio volume

Thank you!!

View Article

Reply To: Issue with 'Limit-EventLog'?

I'm using PowerShell 3.0, for the record.

View Article


Reply To: Issue with 'Limit-EventLog'?

If the error indeed comes from PowerShell, and not from the underlying .NET Framework, then yeah, I'd think they'd want to clarify.

View Article


Reply To: Running PowerShell issue

Basically I am prepping for an Email Migration from Sherweb to Office 365. Migration is IMAP so I loose calendar entries, contact, Signature files etc. So I decided to write a script to do the...

View Article

Reply To: Running PowerShell issue

A logon script might be the easiest way. But, the trick with most of those things will be to get the script running not as an admin, but as the user. That way the script will have access to the users'...

View Article

Reply To: Running PowerShell issue

Yes I have thought of the Login script option and was hoping not to go there since I wanted to schedule the process after the workday. I believe if I did the logoff it shutdowns down the drives and...

View Article

Reply To: Running PowerShell issue

Correct, a logoff script would not likely have enough time to run before drives and whatnot are disconnected. Thing is, a scheduled task has to run "as" the user in order to have access to their...

View Article


Reply To: Running PowerShell issue

What I would do if I were you is just use GPO Preferences. There is a preference that will allow you to place the files on the system where you need. As Don noted, the system folders may not be the...

View Article

Reply To: Wildcards..

Hi Guys, As promised, I got back in to the office today and tried this out. Dave – Thanks very much, did the trick. The only change i had to make, ironically, is that i had to specify "*" as a...

View Article


Reply To: Querying the Battery

Rob, many thanks for those links! The PowerShell Magazine one is particularly cool. Don, Excellent information.. I read something somewhere about root\wmi not being "supported", but since it provides...

View Article

Managed workstations

I need to be able to create a managed workstation with powershell. When we do this manually, the process requires that we have a GUID or UUID to identify the workstation. I am soooo confused. I've...

View Article


Reply To: Managed workstations

What do you mean by a "managed workstation"? Which product are you using? To get at the same value described by your manual process, do this: (Get-CimClass...

View Article

Reply To: Managed workstations

I should note, though: this value is not likely to be a GUID for a particular workstation. On the two computers I tested, I got the same value of {FAF76B96-798C-11D2-AAD1-006008C78BC7} , which turns...

View Article

Image may be NSFW.
Clik here to view.

Reply To: Managed workstations

In Active Directory, right click on an OU to create a New Computer. Give it a name, press Next, and the next window has a box that you can click to make a "managed workstation". That's the goal. We...

View Article
Browsing all 13067 articles
Browse latest View live