What Are You Doing Right Now
-
@eddiejennings said in What Are You Doing Right Now:
Somtimes I love PowerShell
Apparently -erroraction doesn't work with get-aduser and such... I use a try/catch block in my code.
-
@nerdydad He was being facetious
-
@jmoore said in What Are You Doing Right Now:
@nerdydad He was being facetious
feces what?
Oh PowerShell. yeah :pile_of_poo:
-
Going cross eyed from repeatedly doing this on 30 folders.
Now on to Client 2
-
@jaredbusch said in What Are You Doing Right Now:
Going cross eyed from repeatedly doing this on 30 folders.
Now on to Client 2
Note:
CTRL+R
is my friend... -
Reading a FUN FAQ FRIDAY email from HR and the subject line says HR FFF!!!
-
@black3dynamite HR at my old company said they were there to answer any of our questions. The HR director was a girl I went to elementary school with. I used to e-mail her complex, morally grey scenarios expecting her to answer my questions. She did a lot of the time. Learned a lot about how Jill thought. lol
-
@dafyre said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
Somtimes I love PowerShell
Apparently -erroraction doesn't work with get-aduser and such... I use a try/catch block in my code.
A little Googling and testing returned this.
Get-ADUser -filter { samaccountname -eq $SAM }
if$SAM
has a username that doesn't exist, there's no error message. Just an empty value, which I can then use in the forthcomingif
statement. -
@eddiejennings said in What Are You Doing Right Now:
@dafyre said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
Somtimes I love PowerShell
Apparently -erroraction doesn't work with get-aduser and such... I use a try/catch block in my code.
A little Googling and testing returned this.
Get-ADUser -filter { samaccountname -eq $SAM }
if$SAM
has a username that doesn't exist, there's no error message. Just an empty value, which I can then use in the forthcomingif
statement.what are you trying to do?
-
@obsolesce said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
@dafyre said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
Somtimes I love PowerShell
Apparently -erroraction doesn't work with get-aduser and such... I use a try/catch block in my code.
A little Googling and testing returned this.
Get-ADUser -filter { samaccountname -eq $SAM }
if$SAM
has a username that doesn't exist, there's no error message. Just an empty value, which I can then use in the forthcomingif
statement.what are you trying to do?
Make AD accounts form a CSV of names, some of which already have accounts. As a challenge I wanted a programmatic way of ignoring those that exist rather than seeing errors that X account exists.
I think I’ve got it figured out.
-
Getting closer to the end of the day ( at least that's what I am telling myself)
Have a good weekend everyone. -
@wrcombs Yes I might be taking a half day. It almost noon here, and is Friday.
-
pizza for lunch. super supreme hand tossed crust
-
@momurda said in What Are You Doing Right Now:
@wrcombs Yes I might be taking a half day. It almost noon here, and is Friday.
It's 1:30pm here, Cant take a half day sadly.
-
It is 5 O'clock somewhere!
-
@wrcombs said in What Are You Doing Right Now:
@momurda said in What Are You Doing Right Now:
@wrcombs Yes I might be taking a half day. It almost noon here, and is Friday.
It's 1:30pm here, Cant take a half day sadly.
Only lunch time for me.
-
Just got a call : " My Pc doesnt have a restart option."
Looking at it.. Nope! no restart option in the start menu .this is Windows 7 Pro,,
The site did say they are using 2 different towers and one monitor using SCrlk to change between the two..Any Ideas on why? or how to get them back?
Had to use
Shutdown -r
to restart today. -
@wrcombs said in What Are You Doing Right Now:
Just got a call : " My Pc doesnt have a restart option."
Looking at it.. Nope! no restart option in the start menu .this is Windows 7 Pro,,
The site did say they are using 2 different towers and one monitor using SCrlk to change between the two..Any Ideas on why? or how to get them back?
Had to use
Shutdown -r
to restart today.Looking through Start menu properties :
Power button option: Log off ( Grayed out as well, Can not change) ..... -
Looks like I'm going to a concert in Denton tonight. Lord help me.
-
Holy cow what a busy afternoon.