Category: PowerShell

Executing CMDKEY via a PowerShell remote session
Executing CMDKEY via a PowerShell remote session
Blog Posts

I faced some troubles in executing cmdkey.exe on a PowerShell remote session, while I was trying to automate the creation of a SQL Failover Cluster Instance on Azure VMs, using Azure Premium File Share (PFS) as shared storage. You need cmdkey.exe since you must persist Azure PFS access credentials on the Credential Manager of both cluster nodes, into the… READ MORE

Using the Graph API Powershell SDK
Using the Graph API Powershell SDK
Blog Posts

Introduction For a while, when using Graph API and PowerShell I have been using my own implementations of communicating with Graph API as outlined in the following posts: Getting started with Microsoft Graph and PowerShell Authenticating with Graph API Using a Device Code However, at Ignite 2019, it was announced there is a Graph API… READ MORE

Getting started with Graph API and PowerShell
Getting started with Graph API and PowerShell
Blog Posts

If you haven’t heard about Microsoft Graph API lately, you have probably been living outside of civilization. Graph API is Microsoft’s master communication service that connects and handles data between almost any Azure or Microsoft 365 service in the background. If you are already used to PowerShell and modules, the toolkits you use to work… READ MORE

SharePoint Online: Permission Report for Specific User in a Site Collection using PowerShell
SharePoint Online: Permission Report for Specific User in a Site Collection using PowerShell
Blog Posts

Requirement:  Generate a permission report to audit a specific user’s permissions in given SharePoint Online site collection, sub-sites, all its lists, libraries and list items. SharePoint Online PowerShell permissions report This PowerShell script checks user permissions and exports the findings into a CSV file. How to run this script? Just change the Parameters from Line#6 to… READ MORE

Data Discovery and Classification Done with PowerShell
Data Discovery and Classification Done with PowerShell
Blog Posts

Data discovery and classification isn’t just done with high-end, expensive software. Using the PowerShell scripting language, you can build custom tools that compare to the features you get paying thousands of dollars for free! Data Discovery Figuring out where all your data resides can be a daunting task. With so many data sources like databases,… READ MORE

Automated deployment for SharePoint Framework scripts available on Powershell gallery
Automated deployment for SharePoint Framework scripts available on Powershell gallery
Blog Posts

I published two scripts on Powershell gallery in order to help automated deployment of a SharePoint Framework solution: https://www.powershellgallery.com/packages/VSTS.DeploySPFxToO365CDN https://www.powershellgallery.com/packages/VSTS.DeploySPFxToAppCatalog The first script basically collects automatically the bundle publishing it on Office 365 CDN, while the second across the SharePoint ALM API is able to upload the package of the solution in the App Catalog.… READ MORE