![Adam Driscoll](/img/default-banner.jpg)
- Видео 219
- Просмотров 657 120
Adam Driscoll
США
Добавлен 21 мар 2007
Hello! I'm Adam and I run a software company. This channel features technical videos during my adventure as a developer and startup founder. I produce software on the .NET stack for PowerShell with a lot of ReactJS sprinkled in.
Running Visual Studio Code in the Browser with code-server
In this video, I show how to run Visual Studio Code in the browser with an open-source project called code-server. We step through running the proper docker commands and configuring the code-server instance to run the PowerShell extension.
Просмотров: 4 437
Видео
PowerShell Universal Training - Apps - Theming
Просмотров 5659 месяцев назад
In this video, I show how to use the PowerShell Universal Apps theming engine. We look at how to select a theme, customize an existing theme and create your own theme.
PowerShell Universal Training - App Designer
Просмотров 1,3 тыс.9 месяцев назад
In this video, I show how to use the PowerShell Universal v4 App Designer to visually create apps in the platform without having to write script for the entire page.
PowerShell Universal Training - APIs - Event Hub
Просмотров 4619 месяцев назад
In this video, we'll look at how to send events from a PowerShell Universal server to clients with Event Hubs.
PowerShell Universal Training - APIs - Security
Просмотров 938Год назад
This video is part of the PowerShell Universal Training course. You can find more information here: ironmansoftware.com/training/powershell-universal
PowerShell Basics - Variables
Просмотров 1,4 тыс.Год назад
In this video, we go over the basics of variables. We'll look at how to define and use variables, the variable cmdlets, the variable provider and scopes. This video is part of my PowerShell Training course. The code for this video can be found here: ironmansoftware.com/training/powershell/basics-variables
PowerShell Basics - Strings
Просмотров 2,5 тыс.Год назад
In this video, we take a look at strings in PowerShell. We will cover the following topics: - What are strings? - 02:48 - Expansion - 05:10 - Here-strings - 06:25 - Splitting - 09:09 - Joining - 10:30 - Formatting - 14:31 - Concatenating - 16:56 - String Methods - 20:38 - Comparisons - 22:04 - Encoding 🧑💻For all the code from this video, please visit my course here: ironmansoftware.com/trainin...
Styling your PowerShell terminal with $PSStyle
Просмотров 2,2 тыс.Год назад
In this video, we look at how to format your terminal with $PSStyle. This video is part of my PowerShell training course. You can get the code for this video here: ironmansoftware.com/training/powershell/psstyle
PowerShell Universal Training Course - Dashboards - Navigation
Просмотров 875Год назад
Learn how to setup dashboard navigation in PowerShell Universal. This video is part of the PowerShell Universal training course. You can download sample code and view the entire curriculum here. ironmansoftware.com/training/powershell-universal
PowerShell Environment - about_PowerShell_config
Просмотров 1,1 тыс.Год назад
This video introduces the powershell.config.json file used to configure your PowerShell 7 environment. This video is part of the PowerShell Training course: ironmansoftware.com/training/powershell
PowerShell Cmdlets - Select-Object
Просмотров 2,3 тыс.Год назад
In this video, we go over all the ways to use Select-Object to process data in PowerShell. We will cover: - Property - ExpandProperty - ExcludeProperty - Unique - Skip, Last, First, Index, etc This video is part of the PowerShell Training course and sample code can be found here: ironmansoftware.com/training/powershell
PowerShell Pro Tools Training - Visual Studio Code - Sessions
Просмотров 1 тыс.Год назад
This video is part of the PowerShell Pro Tools training course. ironmansoftware.com/training/powershell-pro-tools
PowerShell Universal Training Course - Installation - IIS
Просмотров 732Год назад
This video is a part of the PowerShell Universal Training Course. ironmansoftware.com/training/powershell-universal
PowerShell Pro Tools Training - Visual Studio - Windows Forms Designer
Просмотров 1,5 тыс.Год назад
This video is part of the PowerShell Pro Tools Training Course. ironmansoftware.com/training/powershell-pro-tools
PowerShell Universal Training Course - Dashboards - Dynamic Regions
Просмотров 621Год назад
This video is part of the PowerShell Universal Training Course. ironmansoftware.com/training/powershell-universal
PowerShell Pro Tools - PSScriptPad - Debugging
Просмотров 654Год назад
PowerShell Pro Tools - PSScriptPad - Debugging
PowerShell Universal Training - Automation - Triggers
Просмотров 367Год назад
PowerShell Universal Training - Automation - Triggers
PowerShell Pro Tools - Visual Studio Code Installation
Просмотров 2,5 тыс.Год назад
PowerShell Pro Tools - Visual Studio Code Installation
PowerShell Universal Training - Installation - Persistent Docker Container
Просмотров 547Год назад
PowerShell Universal Training - Installation - Persistent Docker Container
PowerShell Pro Tools - Visual Studio Code Packaging
Просмотров 1,1 тыс.Год назад
PowerShell Pro Tools - Visual Studio Code Packaging
PowerShell Pro Tools - Visual Studio Code Provider Explorer
Просмотров 306Год назад
PowerShell Pro Tools - Visual Studio Code Provider Explorer
PowerShell Pro Tools - Visual Studio Code Host Process Explorer
Просмотров 508Год назад
PowerShell Pro Tools - Visual Studio Code Host Process Explorer
PowerShell Tools for Visual Studio - Project System
Просмотров 2,5 тыс.Год назад
PowerShell Tools for Visual Studio - Project System
PowerShell Pro Tools - Visual Studio Code Refactoring
Просмотров 723Год назад
PowerShell Pro Tools - Visual Studio Code Refactoring
PowerShell Pro Tools - Visual Studio Code Variable Explorer
Просмотров 6 тыс.Год назад
PowerShell Pro Tools - Visual Studio Code Variable Explorer
PowerShell Universal Training - Platform - Secret Management
Просмотров 669Год назад
PowerShell Universal Training - Platform - Secret Management
PowerShell Tools for Visual Studio - Debugging
Просмотров 1,2 тыс.Год назад
PowerShell Tools for Visual Studio - Debugging
PowerShell Universal Training - Configuration - SQL Persistence
Просмотров 1 тыс.Год назад
PowerShell Universal Training - Configuration - SQL Persistence
PowerShell Universal Training - Dashboards - Basic Tables
Просмотров 906Год назад
PowerShell Universal Training - Dashboards - Basic Tables
PowerShell Universal Training - Desktop - About
Просмотров 186Год назад
PowerShell Universal Training - Desktop - About
Very helpful! Thanks!
Excellent tutorial - many thanks for posting.
late to the party! thank you! ... how about wcf CallBack methods that use OperationContext.Current.GetCallbackChannel .. how to gRPC them? :))
Thanks for the video. Didn't realize Powershell has a Linux version that needs to be installed natively in the WSL distro.
You're my hero! I've found some info about opening dump file with WinDbg, but I had no idea where to even start learning the tool. This was exactly what I needed. Thanks!
Hi Adam, Thanks for this. Question. If I have 2 window forms running in their own runspaces. How can I close and dispose the 2nd window thru a button or an event in the 1st window?
Thankfully I had this bookmarked as I needed to use it again to host and launch my wife's hypnotherapy business - excellent tutorial!
I did all things like you but when I open the new tab, I always loss the customize theme :(
Hi, I am trying to launch form designer using VS code and Powershell Pro Tools in ubuntu. But I am stuck at the “PowerShell Pro Tools is connecting…” Is there any way to fix it? Thank you!
1:56 Thanks! The font was named otherwise and I did not got that until now. It is "MesloLGS Nerd Font", respectively "MesloLGS Nerd Font Mono"
typed dotnet add package Microsoft.PowerShell.SDK in Terminal. error: for the paket "Microsoft.PowerShell.SDK" are no versions available. I installed the PowerShell SDK beforehand and even restarted my pc. what am I doing wrong?
Apparently neither DotNetSDK 6 nor 8 support PowerShell anymore. I am going to stay with python, where it still works...
Amazing! First hit on the search on how to debug PS in VsCode and the complete and perfect explanation comes up! You even cover advance topics! Super Helpful!! Cheers
not work for me I try use 0xProto and the font that you use but still have progr ❯
The best intro video to Code first grpc.
Thx bro!
Hey, there. Thanks for the run down here, it was super useful. I do have one question though. How are you able to use Console.WriteLine and ReadLine without using System;? I am still having to use it for similar code. I am using Visual Studio 2019 and not VSCode, though I'm not sure if it's relevant.
Thanks!
hey, can I access the root folder of the server running the docker container itself through vscode in the webrowser? (I just installed an ssh extention, but maybe there is a better way)
How do you Import-Module ActiveDirectory inside this Powershell project? I kept getting errors
when i run a script with a breakpoint in VS code it doesn't enter a [DBG] mode in terminal, tried to change to 'continue', 'Break' still the same, how can i get the script to stop when it reach a breakpoint? thanks
Can I launch a vbs-code instead of the batch to avoid that extra cmd-popup?
Can the pages or dashboards be hosted on GitHub pages?
thank you!
Can we apply it in cmd in integrated VSCode terminal?
\o/, aparently the automation could be removed that version 7.4, but stays still 7.2
the bamespace Automation doesnt found in my project, even installing the <PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.0" />
Very helpful <3
Your approach works fine but it doesn't generate code for gRPC client. Can someone help with generating it?
Why do you need it really?
Thank you very motch for question! I don't need this anymore). I thought that I have to have a gRPC client to inject to my service.
@@Nazaro4kaI'm glad the issue got resolved
😏 P r o m o s m
I wish if Powershell comes with python like syntax... Well, it's an extra ordinary wish. But what if Powershell comes with at least C syntax ? Current syntax is horrible.
Thank God man... i thought what happened why was it not showing in vscode. Now it's ok😂😂
huuugely helptful video. instant subscribed
Best explanation I've found on this subject, thank you very much. Here's a function I made using this tutorial: function Invoke-AsyncRunspace { param ( [Parameter(Mandatory=$true)] [ScriptBlock]$ScriptBlock, [Parameter(Mandatory=$false)] [bool]$ImportCustomFunctions = $true, [Parameter(Mandatory=$false)] [bool]$ImportVariables = $true, [Parameter(Mandatory=$false)] [switch]$OutOfProcess ) if ($OutOfProcess -and ($ImportCustomFunctions -or $ImportVariables)) { throw "The OutOfProcess parameter can only be set if ImportCustomFunctions and ImportVariables are set to false." } $InitialSessionState = [System.Management.Automation.Runspaces.InitialSessionState]::CreateDefault() if ($ImportCustomFunctions) { $CustomFunctions = Get-Command -Type Function | Where-Object { $_.Module -eq $null } $CustomFunctionsHashTable = @{} foreach ($CustomFunction in $CustomFunctions) { $CustomFunctionDefinition = $CustomFunction.Definition.toString() $CustomFunctionsHashTable.Add($CustomFunction.Name, $CustomFunctionDefinition) } $RunspaceVariable = [System.Management.Automation.Runspaces.SessionStateVariableEntry]::new("CustomFunctionsHashTable", $CustomFunctionsHashTable, "Runspace local copy of functions from parent scope") $InitialSessionState.Variables.Add($RunspaceVariable) } if ($ImportVariables) { if (${function:Get-UserVariable}) { $Variables = Get-UserVariable } else { $Variables = Get-Variable } foreach ($Variable in $Variables) { $RunspaceVariable = [System.Management.Automation.Runspaces.SessionStateVariableEntry]::new($Variable.Name, $Variable.Value, "Runspace local copy of variable from parent scope") $InitialSessionState.Variables.Add($RunspaceVariable) } } if ($OutOfProcess) { $TypeTable = [System.Management.Automation.Runspaces.TypeTable]::LoadDefaultTypeFiles() $Runspace = [System.Management.Automation.Runspaces.RunspaceFactory]::CreateOutOfProcessRunspace($TypeTable) } else { $Runspace = [System.Management.Automation.Runspaces.RunspaceFactory]::CreateRunspace($InitialSessionState) } $Runspace.Open() $PowerShell = [System.Management.Automation.PowerShell]::Create() $PowerShell.Runspace = $Runspace if ($ImportCustomFunctions) { $ImportCustomFunctionsScriptBlock = [scriptblock]{ foreach ($customFunciton in $CustomFunctionsHashTable.keys) { New-Item function:\$customFunciton -Value $CustomFunctionsHashTable[$customFunciton] -ItemType Function } } $PowerShell.AddScript($ImportCustomFunctionsScriptBlock) } $PowerShell.AddScript($ScriptBlock) $InvokeAsync = $PowerShell.InvokeAsync() function global:Remove-Runspaces { foreach ($runspace in (Get-Runspace).where({$_.RunspaceAvailability -eq "Available" -and $_.Id -ne 1})) {$runspace.Dispose()} } Write-Warning 'Remember to run "Remove-Runspaces" at the end of your script to clean up the runspaces.' return $InvokeAsync }
You can disable the annoying Terminal warning about multiline paste
Wow, this is highly relevant to me right now, because I just started working on a rudimentary build process for one of my PowerShell repos on GitHub! I discovered this video completely by accident while looking for something entirely unrelated, but I'm really glad I found it when I did, because now I can use PowerShell for the CI/CD pipeline as well as the code itself!
Nice! I have some great ideas for this!
thanks !
This was an excellent Debug tutorial for Powershell in VS Code - thanks for sharing! May I ask, is there any use for the "DEBUG CONSOLE"? When my code hits a breakpoint, the DEBUG CONSOLE allows me to enter a query, but it more or less just echo's what I type - nothing more or less... Is there any actual function to the DEBUG CONSOLE?
Awesome functionality. Good work Adam!
its give an error
I used the Sapien product for a few years on the job, developing ETL and CRUD applications for a large law firm. The Sapien product worked well although I have not kept up with their new releases for the last few years. I am evaling this product now, it looks just as capable - if not more so- and not so pricey which is important since I have to pay myself. I didn't even try convincing the law firm to pay for a dev tool, they were pretty clueless about tech management.
Oh my Posh! What's that .😳 Lol I was living under a rock i suppose, gotta watch this one...
Thanks for the script. Alt+F6 and Alt+F6 are added successfully after running the script. The $SPVsersionTable displays the correct versions. However when running Connect-PnPOnline -Url "our tenant's URL" -Interactive with MFA I got the error message in below "You did not authenticate with PnP PowerShell. Feel free to close this browser window. Error details: error invalid_resource error_description:AADSTS500011: The resource principal named https was not found in the tenant named..." Sorted by myself. Uninstalled PS7 and installed it again and tick remote enabled during the installation.
0:21 Basic table 1:27 Table columns 2:29 Column rendering 5:03 Pagination 6:13 Sorting 7:14 Filters 8:29 Search 9:05 Expand/collapse rows 10:50 Exporting 12:52 Selection
Just because you specifically asked for feedback at the end of the video: super great content. I purchased universal last week and I’m binge watching the whole course. I really love that the script UI will dynamically detect params.
Hey there, is that video about advanced dashboard tables you mentioned out yet? I fail to find it in your video feed... Anyways, thanks a truck load for this terrific tool and all the awesome work you provide for powershell <3
thanks for your information, it's useful
Very helpful, thanks for sharing this. I hadn't looked into debugging since doing it on the CLI. This is way better!
Some timestamps: 1:21 Form components 3:14 Form layout 4:38 Return components with forms 5:38 From validation 7:12 Cancel forms 8:04 Return component without replacing the form 9:10 Dynamic forms based on selected options