This is a working script I use to create various HDInsight clusters. For a really reproducible, automated environment you would want to put this into a .ps1 script that accepts parameters (see here for an example). However, you may find the method below good for learning and experim...
This is not an official PowerShell Script. We designed it specifically for the situation you have encountered right now. Please do not modify or change any preset parameters. Please note that we will not be able to support the script if it's changed or altered in any way...
PowerShell Copy # This sample script assigns a user to a specific Microsoft Entra application proxy application. # # Tip: You can identify the parameters by using the following PS commands: # ServicePrincipalObjectId - Get-MgBetaServicePrincipal -Filter "DisplayName eq '<displayname of the ...
Also these scripts are assuming Service Name and VMname as parameters. And this restore script also assumes a VM exists before restore operations are executed. Sample script – backup.ps1 Sample Script – restore.ps1 Contributors: Nozomu Hirose, Juergen Thomas, Nicholas Dritsas, James Podgorski...
This sample shows how to implement a host application that uses a custom host. In this sample a runspace is created that uses the custom host, and then theSystem.Management.Automation.PowershellAPI is used to run a script that calls "exit." The host application then looks at the output of...
From where you extracted the files, Import the module into your PowerShell SessionNote:Please do not use the ISE to run this sample Import-module.\IdentityProtectionTools.psd1 Running the sample Connect to the MS Graph endpoint with the proper permission scopes. ...
Version 1.9: New PowerShell example script demonstrating removal of duplicate endpoints using EMA's APIs. New PowerShell snippet demonstrating an automated check for a newer version of Intel EMA. Version 1.10: New PowerShell snippet demonstrates method to detect that the local Int...
Run the PowerShell script,New-CoreAlerts.ps1, with desired parameters. Minimum suggested parameters shown in the example below. #Run Alert Toolkit with email specified..\New-CoreAlerts.ps1`-SubscriptionID"<subscriptionId>"`-WorkspaceName"<Log Analytics Workspace Name>"`-ResourceGroup"<Log Analytics...
Transferring Shell Objects with Drag-and-Drop and the Clipboard (Windows) IMediaRenderer::remove_TransportParametersUpdate method (Windows) IUIAutomationStylesPattern::GetCachedExtendedPropertiesArray method (Windows) UsesBackground Element MSVidEVR (Windows) IEventProperty interface (COM+) IConfigAsfWrite...
Sample: RemoveCacheHost Script To use the RemoveCacheHost script, first copy the contents of the following Windows PowerShell script to a text file, and save the file as RemoveCacheHost.ps1. Then review the information following the script to understand how to customize and run the script. ...