This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Author: Neeraj Kumar | |
This script is used to create M265 License Usage Analysis reports. Please create required variables under shared resources. | |
Also register an app within Microsoft Entra Id with API permissions for Microsoft Graph usage. | |
CreatedDate : 24-Nov-2023 | |
#> | |
$global:tenantId = Get-AutomationVariable -Name 'TenantId' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##################################################################################### | |
######Author: Neeraj Kumar | |
######Created: 28/09/2023 | |
######Usage: This script is used to create OneDrive Monitoring and governance reports. Please create required variables under shared resources. | |
##################################################################################### | |
$global:tenantId = Get-AutomationVariable -Name 'TenantId' | |
$global:clientId = Get-AutomationVariable -Name 'ClientId' | |
$global:clientSecret = Get-AutomationVariable -Name 'ClientSecret' | |
$global:certThumbprint = Get-AutomationVariable -Name 'CERT_THUMBPRINT' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##################################################################################### | |
######Author: Neeraj Kumar | |
######Created: 28/09/2023 | |
######Usage: Extract the details of Microsoft Teams that includes Site Team and channel details, storage space, owner details, etc. | |
##################################################################################### | |
# Variables from Azure Automation Account | |
$tenantId = Get-AutomationVariable -Name 'TenantId' | |
$clientId = Get-AutomationVariable -Name 'ClientId' | |
$clientSecret = Get-AutomationVariable -Name 'ClientSecret' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Author: Neeraj Kumar | |
This script is used to create Exchange Online Monitoring and governance reports. Please create required variables under shared resources. | |
Also register an app within Microsoft Entra Id with API permissions for Exchange.ManageAsApp and give the role of Exchange Administrator. | |
CreatedDate : 24-Nov-2023 | |
#> | |
$global:accessToken=$null | |
$tenantId = Get-AutomationVariable -Name 'TenantId' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<################################################################################# | |
Author: Neeraj Kumar | |
Description: This PowerShell Automation Runbook script fetches the details of all the apps registered/created within Microsoft Entra ID (Azure AD). The result is finally ouputted to a folder within SharePoint document library. | |
Please create all the variables with their values in the shared resources inside variables within Automation Account before use. | |
#################################################################################> | |
# Variables from Azure Automation Account | |
$Global:spSiteUrl = Get-AutomationVariable -Name 'SharePointSiteUrl' | |
$Global:spSiteName = Get-AutomationVariable -Name 'SharePointSiteName' | |
$Global:spLibraryName = Get-AutomationVariable -Name 'TenantDocumentLibraryName' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################### | |
#Author:Neeraj Kumar | |
#Description:This script intakes the parameters from incoming ServiceNow Requests for setting the email size limit | |
#Date: 09/21/2023 | |
####. ########################################### | |
param( | |
[parameter (mandatory = $false)] | |
[object] $WebhookData | |
) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################### | |
#Author:Neeraj Kumar | |
#Description:This script intakes the parameters from incoming ServiceNow Requests for setting the email size limit | |
#Date: 01/19/2023 | |
####. ########################################### | |
param( | |
[Parameter(Mandatory=$true)] | |
[string] $ServiceRequestNumber, |
NewerOlder