Windows PowerShell - Powerful Shell to Control the Resources

SHARE:

This article is for sharing the basics of Windows PowerShell. First of all, a shell is an interface that gives the users to access various system resources so we can conclude what is PowerShell. It is a very powerful command-line shell and scripting language and this mainly designed for System Administrator to make their daily tasks easy. Also, the PowerShell help to automate the task and managing the operating systems through the various customized scripts.

Open PowerShell

Cortana Search – Type ‘PowerShell’ in the search and click the icon
Browse the Folder - C:\Windows\System32\WindowsPowerShell\v1.0 (can create a shortcut on the desktop for easy access)

kBasic Commands and Applications
The PowerShell is an open-source tool which is developed by Microsoft and it also supports macOS and Linux based operation systems. Using the PowerShell we can manage different resources like Active Directory, Microsoft Exchange, Azure, Office 365, etc. but here I am showing only the basic usage of the PowerShell.

cmdlets – This cmdlet is known as PowerShell commands. We can get all available list using the below command
Get-Command -Type Cmdlet – list all available commands
$PSVersionTable – This command is using for checking the current version
 Get-Help – Will display all information about the PowerShell
Get-Service – We can get all services on the system
Get-DscResource – Display all the resources on the local system
Get-process – Display the running process
Stop-process –id xxxxxx – Stop the process, replace xxxxx to process id
New-Item – Used to create new folder
Create a TheWanTricks.com in E drive  - New-Item -Path 'E:\TheWanTricks.com' -ItemType Directory
Create a new .txt file using the same command
New-Item -Path 'E:\thewantricks.txt' -ItemType File
Rename-Item – This command is used to rename the item
Rename folder test to thewantricks -  Rename-Item E:\test E:\thewantricks 
Topic Conclusion
We have talked about the basics of PowerShell and commands that are used for normal operations. This is just an intro of the PowerShell and will post advanced sections in the coming PowerShell sections. Always keep in touch.

COMMENTS

Name

Access Point,1,android,1,Anti Virus,3,Applications,4,authenticator,2,AWS,7,BIOS,2,Broadband,1,Channel,1,Cisco,9,Cisco IOS,6,Cloud Computing,7,commands,1,Communication,3,Cyber Security,11,Desktop,8,development,4,devops,5,Driver,3,Email,7,FreeBSD,2,FTTH,1,G Suite,2,Google,11,GoogleCloud,9,Hardware,8,hypervisor,6,Interface,2,Internet,19,IT Administration,23,LAN,4,Laptop,5,linux,3,Mail Server,1,Microsoft,9,Microsoft Product,1,mobile,1,Motherboard,1,Network,8,Nodes,2,online banking,1,Open Source,7,Operating System,12,Operation System,1,Parenting,1,Protocols,1,Proxmox,15,Robotics,1,Router,3,Routing,3,RPA,1,sdlc,1,seo,1,Server,1,smartphone,1,Switch,1,tech event,1,techlabs,4,TechTrends,1,Virtualization,15,VM,1,VMware,2,VPN,1,web,2,website,1,WiFi,1,Windows,11,Windows Registery,1,Wireless,1,workspce,2,
ltr
item
TheWanTricks.com: Windows PowerShell - Powerful Shell to Control the Resources
Windows PowerShell - Powerful Shell to Control the Resources
powershell, shell. scripts, automation, cmdlets – This cmdlet is known as PowerShell commands. We can get all available list using the below command
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWczuqymi6S2UGSaNzRirRsNy5lR6Roq3qPqT2_MGq27vePnsJX0HQA67G30F3TsyvlamxtPUXCUmoi2OWjORSGzFkNMLaMnyyYM8gQeWXFlGnfv6UPz0IR9v72O7G3x-kONX06Q9h6CA/s200/powershell-a98a1ad445.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWczuqymi6S2UGSaNzRirRsNy5lR6Roq3qPqT2_MGq27vePnsJX0HQA67G30F3TsyvlamxtPUXCUmoi2OWjORSGzFkNMLaMnyyYM8gQeWXFlGnfv6UPz0IR9v72O7G3x-kONX06Q9h6CA/s72-c/powershell-a98a1ad445.png
TheWanTricks.com
https://www.thewantricks.com/2020/03/windows-powershell-powerful-shell-to.html
https://www.thewantricks.com/
https://www.thewantricks.com/
https://www.thewantricks.com/2020/03/windows-powershell-powerful-shell-to.html
true
8432683891110863063
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content