Windows PowerShell [03] Profiles & Execution Policies

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I appreciate how you fixed the issue while recording, that was *really* helpful!
The whole video was just great!!


Foot note: MS fixed the typo :(

lilbobby
Автор

Thanks John for explaining Profiles and execution policies in such a great depth. Totally loved it . Thank for it😀

Ram_Mohammad_Singh_Adam
Автор

Thanks. Despite being only a day or so new to PowerShell I was able to update all my help files and do everything you demonstrated in the video.
Am actually getting some control over PowerShell.

MrTubeMeToo
Автор

This series is very good for beginners and those changing from bash or cmd

kss
Автор

Sad how the views on these Powershell videos are dropping off as the series goes on. I get a lot out of them. I hope he continues these.

bluesquare
Автор

To remove more than one file or directory, you need to separate the names by a comma (, ). For example: rm .\hello\, .\hello2\

nomadoflight
Автор

Just a quick correction - echo is write-output, not write-host. The difference almost never matters, but write-host will throw errors in non-interactive session if I remember right (for instance, scheduled tasks as system) and it can cause scripts to report as failed because of it (if it tries to execute again when it fails it will just execute forever even though it's working)

varnull
Автор

Awesome explanation bro, thank you very much 👽💙

bigsonKosi
Автор

Hi John,
I had been through couple of videos. The fact is you are really doing awesome job in bringing such fantastic series.
This could have been more appealing and interesting to those who are from linux background if you introduce similar commands which is used for linux, while you are explaining powershell cmdlets as much as possible.
Although you are doing this thing but I request you to keep comparison check with linux environment to the extent its possible in future videos too. Awesome man...your videos are very much explanatory & uniqueness is in comparing with the linux environment, which is removing the barrier of windows and linux world mentality!!

nirabhmani
Автор

@10:45: Powershell command 'Update-Help' looks similar to the linux command 'update mandb'

Really enjoyed your video sessions:)

nirabhmani
Автор

Something I have always loved about PS is that its good for shortening commands. "ni -IT Dir Test" Will create a directory called Test in your current Directory. It's really nice and smooth that way for sure.

KingBryan
Автор

PowerShell can run CLI binaries, like *mkdir* or *nslookup*, in addition to cmdlets, functions etc.

Get-Help is your friend, learn to use it often, and use the -ShowWindow parameter to pop up the help in a separate window, or the -Online parameter to open the help in a browser window.

geroffmilan
Автор

mkdir is a function because aliases are very limited and cant define default arguments to the aliased command. use get-command to check what it is when uncertain.

phantom_stnd
Автор

This is very important to know! Thanks! :)

owlprincess
Автор

if you run

new-item -itemtype file $profile -force

powershell will make not only the file, but also the folder needed to hold it. I just tried it on my machine here. Remove your $profile and try the command. Let me know if it works for you.

JoelCHopper
Автор

Looked up mkdir because I was curious. Turns out mkdir is a function that calls new-item. Also there is an alias for mkdir, which is "md". View the function via Get-Content Function: \mkdir - Thank you stack overflow / google.

Snmo
Автор

i recommand to ue visual code a great code editor (microsoft OO official product available on other system too), you can invoque it with 'code' which is shorter than 'notepad' ^^

UTubeK
Автор

Very usefull video, thank you so much mate!!

alvadron
Автор

Well done! Would like to see more home-user applications than admin apps (which apparently PS was meant for).

danbromberg
Автор

mkdir is not an alias. If you run gal md, the result is md -> mkdir

lbbrfarangkiinok
welcome to shbcf.ru