My PowerShell Scripts - Systems Administration #powershell #script #sysadmin

preview_player
Показать описание
Automating your routine tasks is one of the key components to performing Systems Administration tasks. Here I show you what I have setup.

Using PowerShell, I am able to utilize scripts (in the form of functions within a module) to help me perform some simple yet important tasks. A quick side-note, I use the following scripts/functions in PowerShell V3. I have not tested them all in V2.

Affiliate Links:
Рекомендации по теме
Комментарии
Автор

Just now learning powershell and I was looking for some inspiration. This might be 9 years old but it fits the bill, much thanks!

gizmothunder
Автор

Every once in a while I would like to automate some tasks, but never took the time to learn, but this makes me think again about setting aside time to get the basics down and start learning as I go.

Blood_Hound
Автор

I just wanted to thank you for taking the time to put this video up. I am current enrolled in an IT program at my local community college, but I was thinking of also taking the Network Specialist program when I am finished with the CSS program seeing how the two have a majority of the same core classes at my school. So, your videos are a good way to see some of the material I will be faced with in the coming year giving me a heads up here and there.

ititoday
Автор

You are welcome - I was going to start a PowerShell series, but then thought I would start that another time rather than for this one.

PC-Addicts
Автор

I always asked if they restarted their computer. If you have fast startup enabled, the uptime does not reset always so keep that in mind. I generally would disable fast startup organization-wide so restarting actually fixes an issue you are trying to fix.

davidg
Автор

You rock! This is still useful today. Thank you for providing this information for free. You are an awesome guy

Nik-rxrj
Автор

neat, glad i've stumbled upon this, just recently started in the industry, this inspired me to compose my library. thx

mav
Автор

Been doing a bit of work on the house, and I also bought a Raspberry Pi before Xmas, very distracting, but good fun! don't worry, I'm working on some new tutorials and will be uploading very soon...

ittaster
Автор

Thanks... I agree with what you said. As I'm sure you are aware, these are just a couple tiny little examples of the things you can do. Maybe one day I will show you all a few things we do at work that are really super amazing. One of our System Admins is really good with PowerShell and has written a ton of things that helps the hospital tremendously.

PC-Addicts
Автор

I recently wrote a script to query all AD users that have mailboxes, with passwords about to expire. It then emails each user at the 14 day mark letting them know that they need to think about changing there password, at the 5 day mark it then emails them everyday until the 1 day mark. I have it ran through a scheduled task at 10 am everyday. The nice part about this is we all get email alerts CC to our mailboxes. I found we had to do this since our Execs would ignore the pop up in Win7.

chrgeorgeson
Автор

Fantastic to watch you I am just starting to learn the basics very impressive videos

stevebright
Автор

Awesome! So glad you found this helpful... Hope it helps others out there as well. If you figure out the best way via Unix, let us know! :)

PC-Addicts
Автор

damn I'm kinda late but this motivated me to do more powershell

Marki
Автор

Thanks for the comments. I would be very careful about using any script you find on the internet (unless it's from a few well respected PowerShell people). I know what you mean about 'not clicking'... I was in the same spot too at first. The best advice I can give is to find some basic tutorials (especially from Don Jones) and go from there. He really explains things in a simplified way.

PC-Addicts
Автор

Your links aren't there anymore, I was curious on getting the full PS scripts for Get-Uptime and Get-HW if you still had them. Thanks!

LoganMiller-niut
Автор

this is a helpful video. do you have any more examples of scripts you use?

hillarybasile
Автор

Try OCS-ng or sonething in this style for this purposes.

Quiver
Автор

Hi Sir,
How can I use power shell to write down PC Lock time and PC unlock time in any of the text applications?

pankajshinde
Автор

I'm trying to figure out how to pull the Get-HWVersion function?

anthonytitan
Автор

Great video, thanks for posting. I am a total windows noob - does windows not already have built in commands that would provide these functions? I hate to be "that guy", but everything you did with a script is just a built in command in Linux.

skeeveskeeve