Add-Type | PowerShell Command

Published: 03 March 2021
on channel: Scripting with Ease
1,196
6

PowerShell Command : Add-Type

The Add-Type cmdlet lets you define a Microsoft .NET Core class in your PowerShell session. You can then instantiate objects, by using the New-Object cmdlet, and use the objects just as you would use any .NET Core object. If you add an Add-Type command to your PowerShell profile, the class is available in all PowerShell sessions.

PowerShell is a cross-platform task automation and configuration management framework, consisting of a command-line shell and scripting language. Unlike most shells, which accept and return text, PowerShell is built on top of the .NET Common Language Runtime (CLR), and accepts and returns .NET objects. This fundamental change brings entirely new tools and methods for automation.

Blog
https://scriptingwithease.web.app/blo...

Android App
https://play.google.com/store/apps/de...

LinkedIn
  / sagar-hande-47416a86  

External Source:
https://docs.microsoft.com/en-us/powe...

#powershellCommand #pscmd


On this page of the site you can watch the video online Add-Type | PowerShell Command with a duration of hours minute second in good quality, which was uploaded by the user Scripting with Ease 03 March 2021, share the link with friends and acquaintances, this video has already been watched 1,196 times on youtube and it was liked by 6 viewers. Enjoy your viewing!