- Open the Azure admin portal - https://portal.azure.com
- Open Azure Active Directory > Enterprise applications
- Click the + New application link at the top
- Search for "Azure AD SAML Toolkit" in the gallery
- Click on "Azure AD SAML Toolkit"
- Enter "Nextcloud" in the Name and click the Add button
This file contains hidden or 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
param($VM) | |
# VMware Guest UUIDs are big edian, MDT expects middle edian | |
# here we reverse the byte order of the first three sections of the guid and then cast back to a guid | |
[guid][byte[]]([guid]$VM.ExtensionData.Config.Uuid).ToByteArray()[3,2,1,0,5,4,7,6,8,9,10,11,12,13,14,15,16,17] |
This file contains hidden or 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
#requires -Modules ActiveDirectory | |
[CmdletBinding( | |
SupportsShouldProcess=$true, | |
ConfirmImpact='High' | |
)] | |
param( | |
[Parameter( | |
Mandatory=$true, |
This file contains hidden or 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
# Relative OU Path | |
$RelativeOU = '^(?:(?:CN|OU)=(?:(?<=\\),|[^,])+(?:,(?=(?:CN|OU)=(?:(?<=\\),|[^,])+)|$))+$' | |
# Full OU | |
$OU = '^(?:(?:CN|OU)=(?:(?<=\\),|[^,])+,)+(?:DC=(?:(?<=\\),|[^,])+(?:,(?=DC=(?:(?<=\\),|[^,])+)|$))+$' |
This file contains hidden or 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
[CmdletBinding()] | |
param( | |
[Parameter( Mandatory, Position = 1, ValueFromPipelineByPropertyName, ValueFromPipeline )] | |
[Alias( 'HostName', 'Server' )] | |
[string[]] | |
$ComputerName, | |
[System.DirectoryServices.ActiveDirectory.SyncFromAllServersOptions] | |
$SyncOptions = @( 'CrossSite', 'PushChangeOutward', 'SkipInitialCheck' ), |
This file contains hidden or 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
<# | |
.SYNOPSIS | |
Update your desktop wallpaper from Windows Spotlight using PowerShell | |
.NOTES | |
Author: Shannon Graybrook | |
Github: github.com/realslacker | |
#> | |
#requires -version 5.1 |
This file contains hidden or 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
# iex ((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/realslacker/fc8784324eea99e7aea48e54d8847704/raw')) | |
#Requires -Modules DISM | |
function Add-WindowsCapability { | |
[CmdletBinding()] | |
param( | |
[Parameter(ParameterSetName='Online', ValueFromPipelineByPropertyName=$true)] | |
[Parameter(ParameterSetName='Offline', ValueFromPipelineByPropertyName=$true)] | |
[ValidateNotNullOrEmpty()] |
This file contains hidden or 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
#Requires -Version 4.0 | |
<# | |
.SYNOPSIS | |
Convert DHCP address to static on a remote machine. | |
.DESCRIPTION | |
Convert a DHCP lease address to a static IP address assignment on a remote machine. | |
Uses PSRemoting to detect IP settings and a scheduled task to make the IP configuration | |
change. |
This file contains hidden or 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
#requires -Modules ActiveDirectory | |
<# | |
.SYNOPSIS | |
Enables Change Notification on IP AD Replication Site Links | |
.PARAMETER SiteLink | |
The DistinguishedName of the SiteLink to modify. | |
.PARAMETER Domain |
This file contains hidden or 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
<# | |
.SYNOPSIS | |
Creates an Immediate Scheduled Task | |
.PARAMETER ComputerName | |
The computer(s) for the task to be executed. | |
.PARAMETER TaskName | |
The name of the task. | |