Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

15 Useful PowerShell Commands for Beginners | Learn Microsoft PowerShell

Автор: WindowsChimp

Загружено: 2020-02-28

Просмотров: 172562

Описание:

Microsoft created the PowerShell for task automation and configuration management. If you want to learn the PowerShell and looking for some useful commands to start with, then watch this video till the end and you learn such 15 useful PowerShell commands for newbies.

Follow the timestamp to quickly jump to the command you want to learn--

1. Listing the drives 0:34
Get-PSDrive
To list drives with the file system
Get-PSDrive –PSProvider FileSystem

2. Listing the files in a directory 1:10
Get-ChildItem
To list files in another directory
Get-ChildItem path-of-another-directory

3. Changing the current directory 1:36
Set-Location path

4. Creating a new item 1:53
To create directory
New-Item –ItemType Directory –Path path -Name name-of-the-directory
To create file
New-Item –ItemType File –Path path –Name filename –Value “value in your file”
To edit content later
Set-Content –Path path-of-file –Value “your new value”

5. Viewing file information or printing it 3:10
To view file information
Get-Item file-name
To view the content of the file
Get-Content file-name
To view it in an external window
Get-Content file-name | Out-GridView
To print it
Get-Content file-name | Out-Printer

6. Renaming a file or folder 4:03
Rename-Item –Path path –NewName new-name

7. Copying or moving an item 4:34
To copy
Copy-Item path-with-file-name –Destination destination-path
To move
Move-Item –Path path-with-file-name –Destination destination-path
To move and rename
Move-Item –Path path-with-file-name –Destination destination-path-with-new-name

8. Removing a file or directory 5:44
Remove-Item file-or-directory-name

9. Getting all the commands 6:00
Get-Command
To get command of specific type
Get-Command –CommandType function, alias, or cmdlet
To search for a command
Get-Command *search-value

10. Getting help for a command 6:32
Get-Help command-name
To get examples
Get-Help command-name -Example

11. Getting the list of processes and services 7:04
For processes
Get-Process
For services
Get-Service

12. To stop a process 7:20
Stop-Process –Name name-of-process
To stop a particular instance of the process and confirm
Stop-Process –Id id-of-process –Confirm -PassThru

13. Get the list of Windows drivers 8:01
Get-WindowsDriver –Online –All

14. Taking backup of drivers 8:15
Export-WindowsDriver -Online -Destination path-for-backup

15. Scan for malware 8:42
Start-MpScan –ScanType QuickScan/FullScan –ScanPath directory-path-to-be-scanned

We will be uploading a video on advanced PowerShell commands so subscribe to the channel and press the bell button to get the notification.

15 Useful PowerShell Commands for Beginners | Learn Microsoft PowerShell

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

array(10) { [0]=> object(stdClass)#6091 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "IHrGresKu2w" ["related_video_title"]=> string(61) "Microsoft PowerShell for Beginners - Video 1 Learn PowerShell" ["posted_time"]=> string(19) "8 лет назад" ["channelName"]=> string(11) "Shane Young" } [1]=> object(stdClass)#6064 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "EfkLZXF35ks" ["related_video_title"]=> string(53) "Top PowerShell Commands Every Sysadmin Needs to Know!" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(11) "James on IT" } [2]=> object(stdClass)#6089 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "pyy_dqc3CUg" ["related_video_title"]=> string(44) "DSTIKE ESP32 Zen Machine | Password Reminder" ["posted_time"]=> string(24) "27 минут назад" ["channelName"]=> string(10) "Travis Lin" } [3]=> object(stdClass)#6096 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "cDcS6iL1G4I" ["related_video_title"]=> string(49) "Learn and use PowerShell with just three commands" ["posted_time"]=> string(21) "3 года назад" ["channelName"]=> string(12) "TechThoughts" } [4]=> object(stdClass)#6075 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "Hmkyn4yoLNQ" ["related_video_title"]=> string(24) "PowerShell for Beginners" ["posted_time"]=> string(27) "6 месяцев назад" ["channelName"]=> string(20) "Automate with Rakesh" } [5]=> object(stdClass)#6093 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "Wi921a6NASE" ["related_video_title"]=> string(66) "45 Shortcuts to Make you Super Windows User | Windows 10 Shortcuts" ["posted_time"]=> string(19) "5 лет назад" ["channelName"]=> string(12) "WindowsChimp" } [6]=> object(stdClass)#6088 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "TUNNmVeyjW0" ["related_video_title"]=> string(36) "Windows PowerShell [01] Introduction" ["posted_time"]=> string(19) "5 лет назад" ["channelName"]=> string(12) "John Hammond" } [7]=> object(stdClass)#6098 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "jjQPzaKHhpc" ["related_video_title"]=> string(110) "Comedy Club: Курсы альфа-самца | Кравец, Шальнов, Бутусов @ComedyClubRussia" ["posted_time"]=> string(19) "2 дня назад" ["channelName"]=> string(11) "Comedy Club" } [8]=> object(stdClass)#6074 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "gd7BXuUQ91w" ["related_video_title"]=> string(50) "60 Linux Commands you NEED to know (in 10 minutes)" ["posted_time"]=> string(21) "2 года назад" ["channelName"]=> string(12) "NetworkChuck" } [9]=> object(stdClass)#6092 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "ZOoCaWyifmI" ["related_video_title"]=> string(37) "Learn PowerShell in Less Than 2 Hours" ["posted_time"]=> string(21) "2 года назад" ["channelName"]=> string(19) "PowerShell Engineer" } }
Microsoft PowerShell for Beginners - Video 1 Learn PowerShell

Microsoft PowerShell for Beginners - Video 1 Learn PowerShell

Top PowerShell Commands Every Sysadmin Needs to Know!

Top PowerShell Commands Every Sysadmin Needs to Know!

DSTIKE ESP32 Zen Machine | Password Reminder

DSTIKE ESP32 Zen Machine | Password Reminder

Learn and use PowerShell with just three commands

Learn and use PowerShell with just three commands

PowerShell for Beginners

PowerShell for Beginners

45 Shortcuts to Make you Super Windows User | Windows 10 Shortcuts

45 Shortcuts to Make you Super Windows User | Windows 10 Shortcuts

Windows PowerShell [01] Introduction

Windows PowerShell [01] Introduction

Comedy Club: Курсы альфа-самца | Кравец, Шальнов, Бутусов @ComedyClubRussia

Comedy Club: Курсы альфа-самца | Кравец, Шальнов, Бутусов @ComedyClubRussia

60 Linux Commands you NEED to know (in 10 minutes)

60 Linux Commands you NEED to know (in 10 minutes)

Learn PowerShell in Less Than 2 Hours

Learn PowerShell in Less Than 2 Hours

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]