PowerShell Master Class - PowerShell Remoting

  Рет қаралды 84,149

John Savill's Technical Training

John Savill's Technical Training

Күн бұрын

Пікірлер: 57
@pauldelasaux5756
@pauldelasaux5756 2 жыл бұрын
Next Level Mr S. Even though the PS Core is a little outdated it's all applicable. Thank you for sharing your knowledge and making all of us better.
@MrMattcze
@MrMattcze 3 жыл бұрын
Thanks John! You exhaust the subject with every video! Cannot express how grateful I am. Cheers!
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Glad you enjoy it!
@ul7987
@ul7987 Жыл бұрын
Hey John, thanks for the time and effort on these walkthroughs. I think these courses are pretty amazing because you're giving foundational coverage. It's our proactivity in projects and use cases to evolve separate specialization skills in our own time. Keep up the great work! Really appreciate this quality of teaching.
@lakhdeepsingh1983
@lakhdeepsingh1983 5 жыл бұрын
I would not mind paying for such an amazing stuff. Thank you John \m/
@suneethnazer9217
@suneethnazer9217 Жыл бұрын
Thanks so much John - much appreciated for your great effort...
@soheilamiri968
@soheilamiri968 Жыл бұрын
hi John, very nice tutorial about powershell.
@eXsoR65
@eXsoR65 3 жыл бұрын
John thank you for this, very helpful. One thing you can do instead of telnet for troubleshooting. You can use PowerShell = Test-NetConnection "HostName" -Port 5985
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Great tip!
@ymsalem
@ymsalem 5 жыл бұрын
Very good informative material. Thanks for sharing.
@NTFAQGuy
@NTFAQGuy 5 жыл бұрын
Pleasure. Good luck!
@didier_lu
@didier_lu 5 жыл бұрын
Exceptional tutorials ... really! Thank you very very much for sharing!!!
@NTFAQGuy
@NTFAQGuy 5 жыл бұрын
Thanks!
@iamdedlok
@iamdedlok 3 жыл бұрын
Thanks John! What a Gem of a video! Have to manage lot of Windows Server Firewall rules across many servers, and this might just help me out in the short term!!
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Glad it helped!
@patrikkeusch7343
@patrikkeusch7343 4 жыл бұрын
Thank you very much john so far! you are killin it
@didierfolly
@didierfolly 4 жыл бұрын
Thanks for this video. It is super useful. Keep teaching us!
@ibrahimabdeltawab6418
@ibrahimabdeltawab6418 Жыл бұрын
So informative! Thanks so much ❤
@tomcruiseiscoming
@tomcruiseiscoming 2 жыл бұрын
Many thx 🙏❤🌹 for sharing your knowledge....
@muthupandi8714
@muthupandi8714 4 жыл бұрын
Thanks for valuable tutorials
@freshmaker4o
@freshmaker4o 6 ай бұрын
Thank you for the fantastic tutorial! Somehow I am able to do a double-hop without using Credssp, I am just creating a session from computer A to computer B and another session from computer B to computer C. On all 3 machines, I have WinRM enabled and they all have each other added to Trusted hosts. All machines are on the same subnet, not in a domain, but in the same group. The firewall is also on. Why would I be able to do that? Also, it seems that I can only use Credssp in a domain, is that correct?
@JackassGaming91
@JackassGaming91 3 жыл бұрын
Thank you! Superb detail tutorial
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Thanks!
@chrismcgourty1756
@chrismcgourty1756 3 жыл бұрын
Outstanding sir, thank you lots.
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
You are very welcome.
@ornealm
@ornealm 5 жыл бұрын
Awesome...I am more confident.
@prajganesh
@prajganesh 5 жыл бұрын
Great course! Are you planning on any other courses?
@mohitarora1701
@mohitarora1701 3 жыл бұрын
I have to configure the client machine for this remoting?
@tracert3663
@tracert3663 4 жыл бұрын
I am grateful to you for your videos. It helps me a lot to know PowerShell. Your presentation is absolutely awesome though your accent makes me a bit upset in some parts of the videos.
@NTFAQGuy
@NTFAQGuy 4 жыл бұрын
Glad you like the presentation.
@balramchatria
@balramchatria 5 жыл бұрын
Thanks you so much for your help.
@patrikkeusch7343
@patrikkeusch7343 4 жыл бұрын
A question dear powershell friendz and students of this course, who are maybe further tham me. Should I do the extrawork of creating VMs with an domaincontroller etc. for continueing this course? Will it get kind of mandatory? Because I really want to type in all of that commands myself but in this video I was't able do do so anymore at some points. Thanks
@IBITZEE
@IBITZEE 5 жыл бұрын
been trying to install MS-PSRP in OSX (last version Mojave/10.14.6)... and access via OMI/WBEM... and also via SSH... The Powershell version I use is Core 6.2.3 (and tested with 7.0preview4)... but no luck... just cant "Enter-PSSession"... 1) remote OSX machine is accessible via ping (or VNC, or...) 2) no firewall in the remote machine 3) credentials are created for the user 4) can connect via SSH with noo problem (even forward -X for X-Eyes) ?what else can I do... ?can you provide-me a link for some guide/tutorial/video Thanks for this great presentation! ZEE
@manikantaguthula5711
@manikantaguthula5711 3 жыл бұрын
Hi Sir, I have 3 servers, vm01--domain controller, vm02 and vm03 normal servers. I have added those servers in to the domain(vm02 and vm03) Now able to connect to the vm02 and vm03 through powershell remoting from vm01(dc), but not able to connect vice versa and also between vm02 and vm03. I am able to connect to the dc and between vm02 and vm03 from anyone by using credential with domain admin. I want to know why I am not able to connnect to the dc from vm02 and vm03 through remote ps without credentials. You told in the lecture, if we want to run against dc, we need to add our account in the builtin admin groups, now what can I add into it, I did not understand that point, like shall I need to add dc into admin groups or vm02 and vm03 into the admin groups? Please clarify this sir
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
I would start with docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_remote_troubleshooting?view=powershell-7.1
@yvanthepcgamer7993
@yvanthepcgamer7993 4 жыл бұрын
Why use invoke-command when I can just do the commands directly in a pssession of the target computer?
@NTFAQGuy
@NTFAQGuy 4 жыл бұрын
Invoke-command doesn’t use a persistent session so good if just need to runs command on one or more.
@yvanthepcgamer7993
@yvanthepcgamer7993 4 жыл бұрын
@@NTFAQGuy Hmm, ok thank you.
@dwelfusius
@dwelfusius 3 жыл бұрын
You are amazing! Do you have like a tip jar?
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Hehe thanks but no. Pay it forward 🤙
@dwelfusius
@dwelfusius 3 жыл бұрын
@@NTFAQGuy It's really great because I'm at that level where I'm probably one of the most proficient (in PS )people in my company, but..I'm not sure if I understand certain concepts enough to ask for the "scripting and toolmaking" course (the microsoft one).And this covers a lot of the things I felt I was not-knowledgable enough about that are used in that course.Super well done, also the fact that you don't just explain what and how , but why it needs to be done or not done like that -> it helps to make it stick for me.
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
Awesome! Keep at it and glad this useful.
@TranquilSoulQuest
@TranquilSoulQuest 5 жыл бұрын
i got this problem can you help me figuring out the problem invoke-command -computername " " {$var=10} [" "] Connecting to remote server " " failed with the following error message : WinRM cannot process the request. The following error with errorcode 0x8009030e occurred while using Negotiate authentication: A specified logon session does not exist. It may already have been terminated. Possible causes are: -The user name or password specified are invalid. -Kerberos is used when no authentication method and no user name are specified. -Kerberos accepts domain user names, but not local user names. -The Service Principal Name (SPN) for the remote computer name and port does not exist. -The client and remote computers are in different domains and there is no trust between the two domains. After checking for the above issues, try the following: -Check the Event Viewer for events related to authentication. -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport. Note that computers in the TrustedHosts list might not be authenticated. -For more information about WinRM configuration, run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (" ":String) [], PSRemotingTransportException + FullyQualifiedErrorId : 1312,PSSessionStateBroken
@alanspicertelecom
@alanspicertelecom 5 жыл бұрын
Trying to remote between 2 Windows 10 PC's on same LAN. Had troubles. Had to "$s = New-PSSession -ComputerName "User-PC" -Credential(Get-Credential)" then run commands like "Invoke-Command -Session $s -ScriptBlock { $env:COMPUTERNAME }"
@alanspicertelecom
@alanspicertelecom 5 жыл бұрын
Get into an interactive session "Enter-PsSession -Session $s" this works too !!!!
@alanspicertelecom
@alanspicertelecom 5 жыл бұрын
PS C:\WINDOWS\system32> Invoke-Command -Session $s -ScriptBlock { $psversiontable } Name Value ---- ----- PSRemotingProtocolVersion 2.3 BuildVersion 10.0.18922.1000 PSVersion 5.1.18922.1000 PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} PSEdition Desktop CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 SerializationVersion 1.1.0.1
@alanspicertelecom
@alanspicertelecom 5 жыл бұрын
PS C:\WINDOWS\system32> Invoke-Command -ComputerName User-PC {$env:COMPUTERNAME} -Credential(Get-Credential) cmdlet Get-Credential at command pipeline position 1 Supply values for the following parameters: (Popup comes up ... fill in Username and Password) USER-PC
@50PullUps
@50PullUps 5 жыл бұрын
Is anyone else having trouble using CredSSP when remoting into a Server Core 2016 host? I can confirm that on the host the two cmdlets have been executed: Enable-PSRemoting -force Set-Item WSMan:\localhost\Service\Auth\CredSSP -value $True and the correct GPO is enabled, set appropriately (*.MyDomainName.local) and linked. Is there an additional step if the remote host is running Server Core?
@phanireddy6367
@phanireddy6367 4 жыл бұрын
John please provide online training for azure
@NTFAQGuy
@NTFAQGuy 4 жыл бұрын
Keep watching ;-) About to start releasing a new series.
@10001000ist
@10001000ist 5 жыл бұрын
I am running into an issue. Error Message after running "Invoke-Command -ComputerName mypcname {$var = 10}". Error Message: Connecting to remote server mypcname failed with the following error message : The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. You can get more information about that by running the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic. Any pointers with the error?
@NTFAQGuy
@NTFAQGuy 5 жыл бұрын
Seems like maybe the machine is not in the domain so Kerberos cannot work. You could try adding to trusted hosts. The nice thing about the error is its giving you the most common causes and a next step. Run: get-help about_remote_troubleshooting for more detail. Also in the class materials I link to a free eBook on remote PowerShell that has a great troubleshooting section. Good luck!
@JC-hd3jn
@JC-hd3jn 2 жыл бұрын
1:15:10 this is fucking amazing!
@BalvinderSingh-uh3my
@BalvinderSingh-uh3my 3 жыл бұрын
Oi you Big Unit, I can't get invoke-command -Scriptblock {get-winevent -logname security} | select-object -first 10 working PSVersion 7.1.3 winevent as PS 7 Local machine. I have installed. Install-Module -Name WindowsCompatibility -Scope CurrentUser Many thanks you King of Nerds You.
@NTFAQGuy
@NTFAQGuy 3 жыл бұрын
run in elevated window if accessing winevent
@BalvinderSingh-uh3my
@BalvinderSingh-uh3my 3 жыл бұрын
@@NTFAQGuy I'm so stupid sorry for wasting your valuable time. I thought I did more than once it's working fine now. You Sir are a credit to your nation.
@NicMG
@NicMG 4 жыл бұрын
Richard Ayoade before he was famous
Getting Ready for DevOps with PowerShell and VS Code
40:28
John Savill's Technical Training
Рет қаралды 32 М.
PowerShell Master Class - Connecting Commands Together
1:06:50
John Savill's Technical Training
Рет қаралды 107 М.
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 23 МЛН
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 20 МЛН
PowerShell Master Class - Automation
46:06
John Savill's Technical Training
Рет қаралды 28 М.
SC-300 Microsoft Identity and Access Administrator Study Cram
2:43:29
John Savill's Technical Training
Рет қаралды 202 М.
Flutter Engage
3:58:21
Flutter
Рет қаралды 1,9 МЛН
PowerShell Master Class - Data and Objects
46:10
John Savill's Technical Training
Рет қаралды 25 М.
PowerShell Master Class - Advanced Scripting Techniques
46:07
John Savill's Technical Training
Рет қаралды 52 М.
VIN2677BE - Extreme Performance Series: Performance Best Practices
1:00:15
Valentin Bondzio
Рет қаралды 3,6 М.
AZ-700 Designing and Implement Azure Networking Study SUPER Guide!
2:51:59
John Savill's Technical Training
Рет қаралды 320 М.
PowerShell Master Class - PowerShell Scripting
33:42
John Savill's Technical Training
Рет қаралды 109 М.
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 23 МЛН