POWERSHELL

Export Group Policy Links with PowerShell

Export Group Policy Links with PowerShell

Andres Bohren
Hi All, I’ve come across a Domain, where there are a ton of Group Policies. So i was looking for a way to figure out if the Group Policy is still used. One way to figure out is to check if the Group Policy is linked to an Active Directory OU or Site. There might be still some Group Policys that are not Linked that might be used from time to Time to Test things or used for diffrent Szenarios.
Microsoft.Graph PowerShell Modules 2.28.0 released

Microsoft.Graph PowerShell Modules 2.28.0 released

Andres Bohren
Hi All, A few days ago, Microsoft has released the Version 2.28.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.28.0 PowerShell Gallery Microsoft.Graph.Beta 2.28.0 Release Notes No Release Notes available I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource -Name Microsoft.Graph -Scope CurrentUser Get-InstalledPSResource -Name Microsoft.Graph.Beta -Scope CurrentUser Find-PSResource -Name Microsoft.Graph Find-PSResource -Name Microsoft.Graph.Beta Uninstalling the old Microsoft.
Azure PowerShell Module AZ 13.5.0 released

Azure PowerShell Module AZ 13.5.0 released

Andres Bohren
Hi All, A day ago, a new Version of the AZ (Azure) PowerShell Module has been released to PowerShell Gallery. PowerShell Gallery Az 13.5.0 GitHub Release Notes Az Not much to see here I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource -Name AZ -Scope CurrentUser Find-PSResource -Name AZ Uninstall the old Modules Uninstall-PSResource AZ -Scope CurrentUser -SkipDependencyCheck In the last few weeks i’ve noticed that uninstalling some Modules seems to have Problems.
PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.26017.12000 released

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.26017.12000 released

Andres Bohren
Hi All, A day ago, Microsoft has released the Microsoft.Online.SharePoint.PowerShell 16.0.26017.12000 PowerShell Module. PowerShell Gallery Microsoft.Online.SharePoint.PowerShell I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser Find-PSResource Microsoft.Online.SharePoint.PowerShell Uninstall the old Version and install the new Version of the Module Uninstall-PSResource Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser In the last few weeks i’ve noticed that uninstalling some Modules seems to have Problems.
Updated Conditional Access HTML Export Script

Updated Conditional Access HTML Export Script

Andres Bohren
Hi All, I’ve released an updated Version of my Conditional Access HTML Export PowerShell Script on my GitHub Repo. It’s always a Pain to document Conditional Access Policies. So i’ve forked and modified the Script from https://github.com/dougsbaker/CA-Export to match my needs. Recently i saw the new “Network” Section in the Conditional Access Policies. I Like when the Sections match the HTML Output Users Target resources Network Conditions Grant Session The Script requires the Microsoft.
Exchange Online Microsoft Graph APIs for permanent deletion

Exchange Online Microsoft Graph APIs for permanent deletion

Andres Bohren
Hi All, A few Weeks ago Microsoft has announced the Permanent Deletion of mailbox items. Microsoft Graph APIs for permanent deletion of mailbox items now available It’s relatively simple. Instead of the “DELETE” HTTP Method you use the “POST” Method and add “/permanentDelete” to the URI. ############################################################################### #Delete #https://learn.microsoft.com/en-us/graph/api/message-delete?view=graph-rest-1.0&tabs=http ############################################################################### DELETE /users/{UserId}/messages/{MessageId} DELETE /users/{UserId}/mailFolders/{mailFolderId}/messages/{MessageId} ############################################################################### #Permanently Delete #https://learn.microsoft.com/en-us/graph/api/message-permanentdelete?view=graph-rest-1.0&tabs=http ############################################################################### POST /users/{UserId}/messages/{MessageId}/permanentDelete POST /users/{UserId}/mailFolders/{mailFolderId}/messages/{MessageId}/permanentDelete Time for me to test the Functionality.
PowerShell 7.5.1 released

PowerShell 7.5.1 released

Andres Bohren
Hi All, Today i’ve noticed, that there is a new PowerShell 7 Version available. Currently i have PowerShell 7.5.0 installed. Release Notes and Download: v7.5.1 Release of PowerShell Engine Updates and Fixes Fallback to AppLocker after WldpCanExecuteFile (#25305) Code Cleanup Cleanup old release pipelines (#25236) Tools Do not run labels workflow in the internal repository (#25343) Update CODEOWNERS (#25321) Check GitHub token availability for Get-Changelog (#25328) Update PowerShell team members in releaseTools.
MicrosoftTeams PowerShell Module 7.0.0 released

MicrosoftTeams PowerShell Module 7.0.0 released

Andres Bohren
Hi All, Yesterday, Microsoft has released the MicrosoftTeams PowerShell Module 7.0.0 to the PowerShell Gallery. PowerShell Gallery MicrosoftTeams 7.0.0 Read more details in the Release Notes Adds ShiftsTeamId & ShiftsSchedulingGroupId parameters to [New|Set]-CsCallQueue cmdlets. [BREAKING CHANGE] Deprecates CustomizeFederation parameter from [Get|Set]-CsTenantFederationConfiguration cmdlets. Adds TownhallEventAttendeeAccess parameter to [New|Set]-CsTeamsEventsPolicy. Adds AllowsUsersForMeetingDetails, RealTimeText parameters to [New|Set]-CsTeamsMeetingPolicy. Adds RealTimeText parameter to [New|Set]-CsTeamsCallingPolicy. Adds UsersCanDeleteBotMessages, ContentBasedPhishingCheck, ReportIncorrectSecurityDetections parameters to [New|Set]-CsTeamsMessagingConfiguration. Adds SpeakerAttributionForBYOD parameter to [New|Set]-CsTeamsAIPolicy. [BREAKING CHANGE] Removes OptionFlags output attribute from the Get-CsOnlineUser cmdlet.
PnP.PowerShell 3.1.0 released

PnP.PowerShell 3.1.0 released

Andres Bohren
Hi All, End of March the PnP.PowerShell Team annouced the V3 release PnP PowerShell v3 released! Three days ago, the Pnp.PowerShell was released to the PowerShell Gallery. They increased the required PowerShell Version from 7.2 to 7.4.6. PowerShell Gallery PnP.PowerShell 3.1.0 I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource -Name PnP.PowerShell -Scope CurrentUser Find-PSResource -Name PnP.PowerShell Uninstall the old Module
Microsoft.Graph PowerShell Modules 2.27.0 released

Microsoft.Graph PowerShell Modules 2.27.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.27.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.27.0 PowerShell Gallery Microsoft.Graph.Beta 2.27.0 Release Notes [v2] Weekly OpenApiDocs Refresh [v2] Examples Update Prevents automatic inference of properties with numeric characters defined as strings. e.g {“age”:“28”}" Fixes removal of boolean and empty Json object values from request body Task: Bootstrap acr-push pipeline by @Onokaev Adds aliases to avoid conflicting cmdlets calling the same Api path Adds Metadata for authentication module cmdlets Added directives to disable generation of invalid Service Announcement cmdlets Fix: Depend on previous stage by @Onokaev I am using the new PSResourceGet here instead of the PowerShellGet commands.