You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0) Few words about author
1) Short Powershell introduction
2) Objects
3) Loops
Part 2 2021.06.30 12:00 - 15:00 Kraków time
1) Remote command execution
2) Regular expressions
3*) Optimization and best practices (maybe will be moved to another day)
Prerequisites for participants
Windows OPS
Basic understanding:
- What for PowerShell used (WiKi, YouTube, internet articles)
- What is cmdlet
- What is functions
- What is parameters
Практика применения в решении рабочих задач - чем больше вопросов будет на момент начала практикума, тем больше получите от мероприятия
System requirements
- Windows 10 or Windows Server 2016/2019
- PowerShell 5.1 - for validation could be used command `$PSVersionTable.PSVersion`
- Visual Studio Code (recommended)
If for some reason you have older Powershell version, it could be updated with the following links:
https://docs.microsoft.com/ru-ru/powershell/scripting/windows-powershell/install/installing-windows-powershell?view=powershell-7
https://www.microsoft.com/en-us/download/details.aspx?id=54616
Self verification
Self Input\Output knowledge check could be done with: `SelfVerification.ps1` (Question level 100 - 200)
Result description:
<30% or failed to run SelfVerification.ps1 - material could be hard to understand
>30% - <90% - will do all possible for not leave you asleep (maybe helpful for you)
If all questions are easy for you and your result >90% - workshops may be not be interesting for you (contact me for to be a co-organizer)
Practicum plan
Objects: how could be created, modified
Loops
Differences between Foreach and Foreach-Object
For
do\until
while
break\continue\next\out : out
Remote command execution (winrm)
PSRemoting configuration
Invoke-Command
Enter-PSSession\New-PSSession\Remove-PSSession
Regular expressions, search, replace and text analyze