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

Set Get-ADUser PasswordLastSet property

Hello all, I’m trying to create a script that will force specific domain users to have to reset their password earlier than the domain password policy. Unfortunately, due to our environment our Domain...

View Article


Running a PS script in batch file, disable UAC?

Hi, I am trying to run the following command from a batch file: PowerShell -NoProfile -ExecutionPolicy Bypass -Command “& {Start-Process PowerShell -ArgumentList ‘-NoProfile -windowstyle hidden...

View Article


Reply To: Running a PS script in batch file, disable UAC?

So, there’s not a way to stop UAC from doing what it does, short of turning it off. Because you’re trying to run a process that triggers UAC, I’m not sure you could turn it off as PART of that...

View Article

Reply To: Set Get-ADUser PasswordLastSet property

Take a look at http://forums.techarena.in/active-directory/1298966.htm as a start. The attribute isn’t actually a System.DateTime under the hood. In fact,...

View Article

Reply To: Transcript design guidance needed

Not that straightforward, no. Starting a remote session doesn’t run a profile, for example. You’d probably have to create a custom endpoint, and either (a) always connect to it, or (b) replace the...

View Article


Reply To: psreadline module kills tab-completion in pssessions

Experienced, yes; fixed, no. I tend to not use Enter-PSSession, much, though. I tend to build commands or scripts and send them using Invoke-Command, so this doesn’t really impact me.

View Article

Reply To: Set Get-ADUser PasswordLastSet property

The PWDLastSet attribute is controlled by the system. You cannot set this with two exceptions, you can set 0 and you can set -1. In order to achieve your requirements of different password...

View Article

DataGridView: Value of first cell in Selected Row ToString

I have a DataGridView that allows the user to click on any row, and it selects the entire row as desired. However, I’m having an issue getting he value of the FIRST Cell in that Row that is selected...

View Article


i can't get access to PS options

hello, everybody! I’m very new in PS experience, and I have just first problem with my PS, when I tried to get access in PS options (please, look at this snapshot). I would be very grateful for any...

View Article


Reply To: i can't get access to PS options

You will need to describe the problem.

View Article

Is it possible to use ComputerAccount$ or managed service account as RunAs?

Hello, I’m setting new endpoint which will have RunAs specified and right now the only thing I can put there is real service account password. For local Services as well as IIS I can alternatively...

View Article

Reply To: Is it possible to use ComputerAccount$ or managed service account...

No, they aren’t.

View Article

Reply To: Is it possible to use ComputerAccount$ or managed service account...

You may want to hold off a bit until after TechEd. Watch Jeffrey Snover session online – there’s an important announcement and toolkit around this.

View Article


Reply To: i can't get access to PS options

Hello, I’m a student MVA courses, and just start working with PS console in security options area. Why my access is restricted? I’m running Win 8.1 Entr EVO ver., thanks!

View Article

Reply To: Is it possible to use ComputerAccount$ or managed service account...

I’m going to TechEd, so will watch it live.

View Article


Reply To: i can't get access to PS options

I’m sorry, I don’t understand what “security options” means. Are you running a command? Are you getting an error message? Have you made sure you ran the shell as Administrator?

View Article

Reply To: Is it possible to use ComputerAccount$ or managed service account...

Even better. Hope I run into you!

View Article


Reply To: i can't get access to PS options

yes, I’m running a command “get-executionpolicy” as Administrator, and the shell answers me – “Restricted”(( sorry, for my English…

View Article

Reply To: i can't get access to PS options

“Restricted” is the execution policy.

View Article

Reply To: i can't get access to PS options

Wow! I can do it!!! I would have to listen more carefully your lectures, it’s working now, excellent, and just so thank you for your attention! Great! But your am. English is so fast…))) See you, and...

View Article
Browsing all 13067 articles
Browse latest View live