Skip to content

ebuford/CITN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CITN PowerShell

Welcome Church IT Network folks!

Below you should find some links to get you started with Powershell.

3 Things you should should know!

1. If you only use Get commands you can't do any damage!

You can use Get-Command to see what commands you can get.

Get-Command get-*

Get-Command get-* -Module ActiveDirectory

Get-Help

If you get an error when you try to get help then you should update help and this is the way to do it:

Update-Help

2. You can count Objects

The command below will get all the Processes on your computer.

Get-Process

But if you want to count the Processes you simply surround it with Parentheses like this and view the count.

(Get-Process).count

3. You can grab powershell on another computer

There are some tricks to getting remote powershell to work right - this isn't a tutorial on Remoting... but if you have fairly new OSs on machines, you can connect to another Machine using the Enter-PSsession command:

Enter-PSSession DC1

Learning Powershell

PowerShell Editor

I prefer to use Visual Studio Code (VS Code) which works on Windows, Linux, and macOS. Click on the following link to create your first PowerShell script.

Installing PowerShell

First you need to set up your computer working environment if you have not done so. Choose the platform below and follow the instructions. At the end of this exercise, you should be able to launch the PowerShell session.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published