{"id":99460,"date":"2020-03-26T22:50:30","date_gmt":"2020-03-26T22:50:30","guid":{"rendered":"https:\/\/daoudisamir.com\/?p=99460"},"modified":"2025-05-22T00:44:20","modified_gmt":"2025-05-22T00:44:20","slug":"getting-started-with-powershell","status":"publish","type":"post","link":"https:\/\/samtech365.com\/getting-started-with-powershell\/","title":{"rendered":"PowerShell (Part 1) &#8211; Getting Started"},"content":{"rendered":"<p>In this post we will get started with PowerShell for Office 365, before digging into more complex details related to the administration fo SharePoint, Exchange Online, Office365 Users&#8230;etc, let&#8217;s first start by getting some basic knowledges about PowerShell.<\/p>\n<h1>1- Setting up your environment<\/h1>\n<h3>Windows<\/h3>\n<p>For windows users, most of the Windows editions &gt; Windows 7 SP1, will have PowerShell installed by default, if not, you can enable it \u00a0by following this simple article from Microsoft<\/p>\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/scripting\/getting-started\/starting-windows-powershell?view=powershell-7\">https:\/\/docs.microsoft.com\/en-us\/powershell\/scripting\/getting-started\/starting-windows-powershell?view=powershell-7<\/a><\/p>\n<h3>MacOS<\/h3>\n<p>My preferred Device and OS ? (Sorry MS, I tried all the surface devices, but can&#8217;t separate from my Mac ?)<\/p>\n<ul>\n<li>To Install PowerShell, \u00a0you can simply open a terminal and run<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-linenumbers=\"false\">brew cask install powershell<\/pre>\n<p>This assuming you have brew installed on your MacOS, if not, here is how you can install it : <a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/scripting\/install\/installing-powershell-core-on-macos?view=powershell-7#about-brew\">https:\/\/docs.microsoft.com\/en-us\/powershell\/scripting\/install\/installing-powershell-core-on-macos?view=powershell-7#about-brew<\/a><\/p>\n<ul>\n<li>To start PowerShell, just type the following command<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-linenumbers=\"false\">pwsh<\/pre>\n<ul>\n<li>To check for an update, and install the latest version of PowerShell<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-linenumbers=\"false\">brew update\nbrew cask upgrade powershell<\/pre>\n<h1><\/h1>\n<h1>2- Getting started with PowerShell<\/h1>\n<p>Be re-assured, you are not expected and might not be able to remember all the commands, properties, members &#8230;etc available in PowerShell (if you do, you need to get a life ?).<\/p>\n<p>However, you can easily get help from PowerShell, using some of the existant commands such as :<\/p>\n<ul>\n<li>\n<h3><strong>Get-Command<\/strong><\/h3>\n<ul>\n<li>This command allows you to list all the commands available in PowerShell, you can filter by a sub string, for example, if I am looking for all the commands with the word <strong>Host<\/strong>, I can do:\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-linenumbers=\"false\">Get-Command *Host<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<h3><strong>Get-Help<\/strong><\/h3>\n<ul>\n<li>This command allows you to get the details of a specific command, for example, I want to know what does the Get-PSDrive command do and how can I use it (which parameters does it expect and what results does it return), for this, I can simply type:\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-linenumbers=\"false\">Get-Help Get-SPDrive<\/pre>\n<p>Which will return the following output<\/p>\n<p><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" data-attachment-id=\"99466\" data-permalink=\"https:\/\/samtech365.com\/getting-started-with-powershell\/screenshot-2020-03-26-22-13-06\/\" data-orig-file=\"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&amp;ssl=1\" data-orig-size=\"1026,400\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot 2020-03-26 22.13.06\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?fit=640%2C249&amp;ssl=1\" class=\"aligncenter wp-image-99466 size-full\" src=\"https:\/\/i0.wp.com\/daoudisamir.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?resize=640%2C250&#038;ssl=1\" alt=\"\" width=\"640\" height=\"250\" srcset=\"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?w=1026&amp;ssl=1 1026w, https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?resize=300%2C117&amp;ssl=1 300w, https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?resize=1024%2C399&amp;ssl=1 1024w, https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?resize=768%2C299&amp;ssl=1 768w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/li>\n<li>If you want to see the online help for this command, you can simply type:\n<pre class=\"EnlighterJSRAW\" data-enlighter-linenumbers=\"false\">Get-Help Get-SPDrive -Online<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>Get-Member\n<ul>\n<li>This command allows you to list all the properties &amp; methods for a specific command. For example, I want to see the members and properties of the Get-Service command, I can simply type:<\/li>\n<li>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-linenumbers=\"false\">Get-Service | Get-Member<\/pre>\n<p>&nbsp;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h1>3- Update the help<\/h1>\n<p>If the help you get from Get-Help is not up to date, or the Get-Help can&#8217;t find a specific command (this is very frequent when you install a new module), you can simply update the help section which will download all the files and details of the available commands, simply type:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-linenumbers=\"false\">Update-Help<\/pre>\n<h1><\/h1>\n<blockquote><p>I will skip the part where we talk about how to Write-Host, do a loop, declare a variable &#8230;etc, as this is just a quick introduction before we jump into the more serious things related to Office365.<\/p>\n<p>I believe there are plenty of ressources online if you want to improve your PowerShell skills, but for me, I will just give you what we need to jump to the next step which is way more fun ?.<\/p><\/blockquote>\n<h1><\/h1>\n<h1>4- Create a function<\/h1>\n<p>You can easily create a function and call from different places in your code.<\/p>\n<p>Please be aware that similarly to JavaScript the function needs to be declared before you call it.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-linenumbers=\"false\">function Add ($a, $b)\n{\n    $result = $a+$b\n    Write-Host \"The result is $result\"\n}<\/pre>\n<h1><\/h1>\n<h1>5- Call a function<\/h1>\n<p>You can simply do:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-linenumbers=\"false\">add 3,4<\/pre>\n<h1><\/h1>\n<h1>6- Reference another .PS1 file<\/h1>\n<p>Let&#8217;s say you have your library of functions (Send Email, Write to Windows Log, Encrypt &#8230;etc.) you can reference your <strong>functions.PS1<\/strong> file from another .PS1 script and call the functions listed in that file. For this, just type in your <strong>Main.ps1<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-linenumbers=\"false\">. .\/functions.ps1<\/pre>\n<h1>What&#8217;s next ?<\/h1>\n<p>In the next post, I will take you through the modules you need to install to be able to authenticate and connect to your Office365 tenant and be able to administer it properly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post we will get started with PowerShell for Office 365, before digging into&#8230;<\/p>\n","protected":false},"author":1,"featured_media":99466,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[59],"tags":[197],"class_list":["post-99460","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-powershell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PowerShell (Part 1) - Getting Started - SamTech 365 - Samir Daoudi Technical Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/samtech365.com\/getting-started-with-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Started with PowerShell\" \/>\n<meta property=\"og:description\" content=\"In this post we will get started with PowerShell for Office 365, before digging into more complex details related to the administration fo SharePoint, Exchange Online, Office365 Users\u2026etc, let\u2019s first start by getting some basic knowledges about PowerShell. 1- Setting up your environment Windows For windows users, most of the Windows editions &gt; Windows 7 SP1, will have PowerShell installed by default, if not, you can enable it by following this simple article from Microsoft https:\/\/docs.microsoft.com\/en-us\/powershell\/scripting\/getting-started\/starting-windows-powershell?view=powershell-7 MacOS My preferred Device and OS ? (Sorry MS, I tried all the surface devices, but can\u2019t separate from my Mac ?) To Install PowerShell, you can simply open a terminal and run\" \/>\n<meta property=\"og:url\" content=\"https:\/\/samtech365.com\/getting-started-with-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"SamTech 365 - Samir Daoudi Technical Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-26T22:50:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-22T00:44:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1026\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Samir Daoudi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Getting Started with PowerShell\" \/>\n<meta name=\"twitter:description\" content=\"In this post we will get started with PowerShell for Office 365, before digging into more complex details related to the administration fo SharePoint, Exchange Online, Office365 Users\u2026etc, let\u2019s first start by getting some basic knowledges about PowerShell. 1- Setting up your environment Windows For windows users, most of the Windows editions &gt; Windows 7 SP1, will have PowerShell installed by default, if not, you can enable it by following this simple article from Microsoft https:\/\/docs.microsoft.com\/en-us\/powershell\/scripting\/getting-started\/starting-windows-powershell?view=powershell-7 MacOS My preferred Device and OS ? (Sorry MS, I tried all the surface devices, but can\u2019t separate from my Mac ?) To Install PowerShell, you can simply open a terminal and run\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1\" \/>\n<meta name=\"twitter:creator\" content=\"@daoudi_samir\" \/>\n<meta name=\"twitter:site\" content=\"@daoudi_samir\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Samir Daoudi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/\"},\"author\":{\"name\":\"Samir Daoudi\",\"@id\":\"https:\\\/\\\/samtech365.com\\\/#\\\/schema\\\/person\\\/92fc47c88485daac9dc759ad3f9e18e6\"},\"headline\":\"PowerShell (Part 1) &#8211; Getting Started\",\"datePublished\":\"2020-03-26T22:50:30+00:00\",\"dateModified\":\"2025-05-22T00:44:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/\"},\"wordCount\":620,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/samtech365.com\\\/#\\\/schema\\\/person\\\/92fc47c88485daac9dc759ad3f9e18e6\"},\"image\":{\"@id\":\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/samtech365.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1\",\"keywords\":[\"PowerShell\"],\"articleSection\":[\"PowerShell\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/\",\"url\":\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/\",\"name\":\"PowerShell (Part 1) - Getting Started - SamTech 365 - Samir Daoudi Technical Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/samtech365.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/samtech365.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1\",\"datePublished\":\"2020-03-26T22:50:30+00:00\",\"dateModified\":\"2025-05-22T00:44:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/samtech365.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/samtech365.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1\",\"width\":1026,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/samtech365.com\\\/getting-started-with-powershell\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/samtech365.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell (Part 1) &#8211; Getting Started\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/samtech365.com\\\/#website\",\"url\":\"https:\\\/\\\/samtech365.com\\\/\",\"name\":\"SamTech 365 - Samir Daoudi Technical Blog\",\"description\":\"PowerPlatform, Power Apps, Power Automate, PVA, SharePoint, C#, .Net, SQL, Azure News, Tips ....etc\",\"publisher\":{\"@id\":\"https:\\\/\\\/samtech365.com\\\/#\\\/schema\\\/person\\\/92fc47c88485daac9dc759ad3f9e18e6\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/samtech365.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/samtech365.com\\\/#\\\/schema\\\/person\\\/92fc47c88485daac9dc759ad3f9e18e6\",\"name\":\"Samir Daoudi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/samtech365.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/samtech365_v3-e1755126237898.png?fit=192%2C96&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/samtech365.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/samtech365_v3-e1755126237898.png?fit=192%2C96&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/samtech365.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/samtech365_v3-e1755126237898.png?fit=192%2C96&ssl=1\",\"width\":192,\"height\":96,\"caption\":\"Samir Daoudi\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/samtech365.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/samtech365_v3-e1755126237898.png?fit=192%2C96&ssl=1\"},\"url\":\"https:\\\/\\\/samtech365.com\\\/author\\\/daoudi-samirgmail-com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PowerShell (Part 1) - Getting Started - SamTech 365 - Samir Daoudi Technical Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/samtech365.com\/getting-started-with-powershell\/","og_locale":"en_US","og_type":"article","og_title":"Getting Started with PowerShell","og_description":"In this post we will get started with PowerShell for Office 365, before digging into more complex details related to the administration fo SharePoint, Exchange Online, Office365 Users\u2026etc, let\u2019s first start by getting some basic knowledges about PowerShell. 1- Setting up your environment Windows For windows users, most of the Windows editions > Windows 7 SP1, will have PowerShell installed by default, if not, you can enable it by following this simple article from Microsoft https:\/\/docs.microsoft.com\/en-us\/powershell\/scripting\/getting-started\/starting-windows-powershell?view=powershell-7 MacOS My preferred Device and OS ? (Sorry MS, I tried all the surface devices, but can\u2019t separate from my Mac ?) To Install PowerShell, you can simply open a terminal and run","og_url":"https:\/\/samtech365.com\/getting-started-with-powershell\/","og_site_name":"SamTech 365 - Samir Daoudi Technical Blog","article_published_time":"2020-03-26T22:50:30+00:00","article_modified_time":"2025-05-22T00:44:20+00:00","og_image":[{"width":1026,"height":400,"url":"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1","type":"image\/png"}],"author":"Samir Daoudi","twitter_card":"summary_large_image","twitter_title":"Getting Started with PowerShell","twitter_description":"In this post we will get started with PowerShell for Office 365, before digging into more complex details related to the administration fo SharePoint, Exchange Online, Office365 Users\u2026etc, let\u2019s first start by getting some basic knowledges about PowerShell. 1- Setting up your environment Windows For windows users, most of the Windows editions > Windows 7 SP1, will have PowerShell installed by default, if not, you can enable it by following this simple article from Microsoft https:\/\/docs.microsoft.com\/en-us\/powershell\/scripting\/getting-started\/starting-windows-powershell?view=powershell-7 MacOS My preferred Device and OS ? (Sorry MS, I tried all the surface devices, but can\u2019t separate from my Mac ?) To Install PowerShell, you can simply open a terminal and run","twitter_image":"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1","twitter_creator":"@daoudi_samir","twitter_site":"@daoudi_samir","twitter_misc":{"Written by":"Samir Daoudi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/samtech365.com\/getting-started-with-powershell\/#article","isPartOf":{"@id":"https:\/\/samtech365.com\/getting-started-with-powershell\/"},"author":{"name":"Samir Daoudi","@id":"https:\/\/samtech365.com\/#\/schema\/person\/92fc47c88485daac9dc759ad3f9e18e6"},"headline":"PowerShell (Part 1) &#8211; Getting Started","datePublished":"2020-03-26T22:50:30+00:00","dateModified":"2025-05-22T00:44:20+00:00","mainEntityOfPage":{"@id":"https:\/\/samtech365.com\/getting-started-with-powershell\/"},"wordCount":620,"commentCount":0,"publisher":{"@id":"https:\/\/samtech365.com\/#\/schema\/person\/92fc47c88485daac9dc759ad3f9e18e6"},"image":{"@id":"https:\/\/samtech365.com\/getting-started-with-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1","keywords":["PowerShell"],"articleSection":["PowerShell"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/samtech365.com\/getting-started-with-powershell\/","url":"https:\/\/samtech365.com\/getting-started-with-powershell\/","name":"PowerShell (Part 1) - Getting Started - SamTech 365 - Samir Daoudi Technical Blog","isPartOf":{"@id":"https:\/\/samtech365.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/samtech365.com\/getting-started-with-powershell\/#primaryimage"},"image":{"@id":"https:\/\/samtech365.com\/getting-started-with-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1","datePublished":"2020-03-26T22:50:30+00:00","dateModified":"2025-05-22T00:44:20+00:00","breadcrumb":{"@id":"https:\/\/samtech365.com\/getting-started-with-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/samtech365.com\/getting-started-with-powershell\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/samtech365.com\/getting-started-with-powershell\/#primaryimage","url":"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1","contentUrl":"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1","width":1026,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/samtech365.com\/getting-started-with-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/samtech365.com\/"},{"@type":"ListItem","position":2,"name":"PowerShell (Part 1) &#8211; Getting Started"}]},{"@type":"WebSite","@id":"https:\/\/samtech365.com\/#website","url":"https:\/\/samtech365.com\/","name":"SamTech 365 - Samir Daoudi Technical Blog","description":"PowerPlatform, Power Apps, Power Automate, PVA, SharePoint, C#, .Net, SQL, Azure News, Tips ....etc","publisher":{"@id":"https:\/\/samtech365.com\/#\/schema\/person\/92fc47c88485daac9dc759ad3f9e18e6"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/samtech365.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/samtech365.com\/#\/schema\/person\/92fc47c88485daac9dc759ad3f9e18e6","name":"Samir Daoudi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2025\/05\/samtech365_v3-e1755126237898.png?fit=192%2C96&ssl=1","url":"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2025\/05\/samtech365_v3-e1755126237898.png?fit=192%2C96&ssl=1","contentUrl":"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2025\/05\/samtech365_v3-e1755126237898.png?fit=192%2C96&ssl=1","width":192,"height":96,"caption":"Samir Daoudi"},"logo":{"@id":"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2025\/05\/samtech365_v3-e1755126237898.png?fit=192%2C96&ssl=1"},"url":"https:\/\/samtech365.com\/author\/daoudi-samirgmail-com\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/samtech365.com\/wp-content\/uploads\/2020\/03\/Screenshot-2020-03-26-22.13.06.png?fit=1026%2C400&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/samtech365.com\/wp-json\/wp\/v2\/posts\/99460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/samtech365.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samtech365.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samtech365.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samtech365.com\/wp-json\/wp\/v2\/comments?post=99460"}],"version-history":[{"count":0,"href":"https:\/\/samtech365.com\/wp-json\/wp\/v2\/posts\/99460\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/samtech365.com\/wp-json\/wp\/v2\/media\/99466"}],"wp:attachment":[{"href":"https:\/\/samtech365.com\/wp-json\/wp\/v2\/media?parent=99460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samtech365.com\/wp-json\/wp\/v2\/categories?post=99460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samtech365.com\/wp-json\/wp\/v2\/tags?post=99460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}