What Are You Doing Right Now
-
@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.
-
At a back to school Carnival hosted at my kid school.
-
Good morning, all!
-
Just getting back to it, had a local rock concert last night at a venue in Denton that is closing.
-
Getting tasks done before vacation.
-
Brunch at Hartsfield Jackson airport
-
@eddiejennings said in What Are You Doing Right Now:
Brunch at Hartsfield Jackson airport
Eww, not a fun airport to deal with.
-
@eddiejennings which Houston airport are you going into?
-
Dealing with a Verizon Outage for a client, since Friday and finally got Verizon to fix it.
-
Checking this Unifi Video to S3 Uploader, seems pretty cool
https://github.com/jethrocarr/unifi-video-s3uploader