PowerShell Archives – Engineerer
-1
archive,category,category-powershell,category-35,wp-custom-logo,bridge-core-3.1.2,qode-page-transition-enabled,ajax_fade,page_not_loaded,,footer_responsive_adv,hide_top_bar_on_mobile_header,qode-content-sidebar-responsive,qode-theme-ver-30.1,qode-theme-bridge,qode_header_in_grid,elementor-default,elementor-kit-641
 

PowerShell

It's just fantastic how hard it is to call the Graph API REST endpoints through PowerShell. I couldn't let loose from this - from my point of view - big issue and went from problem to solution.TL;DRThe script: O365-Azure-Scripts/Get-StaleUsersReport.ps1 at master · engineererr/O365-Azure-Scripts (github.com).Quickly I...

This guy from Bern, Switzerland wanted to copy an itsy-tiny large file (2GB) to an Azure VM. RDP Connected - copy/paste - go. Nope. It should work, but it didn't for me. Even with RDP drive redirection (configurable in the RDP file), this dude couldn't...

Connect-PnPOnline -Url https://[tenant]-admin.sharepoint.com# get the hub site id $hubSite = Get-PnPTenantSite "https://[tenant].sharepoint.com/sites/intranet" $hubSiteId = $hubSite.HubSiteId# get all sites associated to the hub $sites = Get-PnPTenantSite -Detailed $sites | select url | % { $s = Get-PnPTenantSite $_.url if($s.hubsiteid -eq $hubSiteId){ write-host $s.url ...

From time to time - more often than wished for - you'll get a generalized error message in your browser window printing "Sorry, something went wrong". The real error message is written in the so-called ULS log. This log resides on every SharePoint server in...

A customer of mine had some requirements concerning the style of the SuiteBar. That's the black line in the top of the screenshot below. The premises were to not use JavaScript or Master Page customizations.Only option was using PowerShell.I got the SPWebApplication object by doing...