News

Intune Graph Samples This repository of PowerShell sample scripts show how to access Intune service resources. They demonstrate this by making HTTPS RESTful API requests to the Microsoft Graph API ...
This legacy Microsoft Intune PowerShell sample scripts GitHub repository is now read-only. Additionally, starting on April 1, 2024, due to updated authentication methods in the Graph SDK-based ...
For example, create a script that contains the following (don"t forget to not type the line numbers), and then run that script from the console window: New-PSDrive -PSProviderFileSystem -Root C ...
Learn how to pass spreadsheet values as parameters to a PowerShell script for more dynamic and functional automation.
Basic PowerShell functions Basic PowerShell functions are straightforward and lack advanced features. They are declared using the function keyword, followed by a set of curly braces: function ...
Invoke-ScriptAnalyzer -Path 'Script.ps1' PSScriptAnalyzer will then parse the script and attempt to find violations of any of the default rules that you saw earlier. If you have multiple scripts in a ...
Microsoft is finally saying goodbye to PowerShell 2.0 — the 14-year-old command-line tool and scripting language that debuted ...