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
@{ | |
AllNodes = @( | |
@{ | |
NodeName = "*" | |
PSDscAllowPlainTextPassword = $true | |
PSDscAllowDomainUser = $true | |
ServerRole = "invalid" | |
}, | |
@{ | |
NodeName = "SharePointServer" |
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
$ConfigurationData.NonNodeData.SqlServerAlias | ForEach-Object -Process { | |
SqlAlias $_.Name | |
{ | |
Name = $_.Name | |
ServerName = $_.ServerName | |
Protocol = $_.Protocol | |
UseDynamicTcpPort = $_.UseDynamicTcpPort | |
TcpPort = $_.TcpPort | |
Ensure = 'Present' |
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
@{ | |
AllNodes = @( | |
@{ | |
NodeName = "*" | |
PSDscAllowPlainTextPassword = $true | |
PSDscAllowDomainUser = $true | |
ServerRole = "invalid" | |
}, | |
@{ | |
NodeName = "SharePointServer" |
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
$ConfigurationData.NonNodeData.SqlServerAlias.Keys | ForEach-Object -Process { | |
SqlAlias $ConfigurationData.NonNodeData.SqlServerAlias[$_].Name | |
{ | |
Name = $ConfigurationData.NonNodeData.SqlServerAlias[$_].Name | |
ServerName = $ConfigurationData.NonNodeData.SqlServerAlias[$_].ServerName | |
Protocol = $ConfigurationData.NonNodeData.SqlServerAlias[$_].Protocol | |
UseDynamicTcpPort = $ConfigurationData.NonNodeData.SqlServerAlias[$_].UseDynamicTcpPort | |
TcpPort = $ConfigurationData.NonNodeData.SqlServerAlias[$_].TcpPort | |
Ensure = 'Present' |
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
#SPFx -#art -#artist -#artistreborn -#behindthescenes -#blood -#Elementary -#hollywood -#LED -#makeup -#makeupeffects -#makeupfx -#mua -#mufx -#pyro -#pyrotechnics -#sfx -#SharpFX -#specialeffects -#specialeffectsmakeup -#specialfx -#specialfxmakeup -#specialmakeupeffects -#specialmakeupfx -#spfmakeup -#spfxmua -#tv -#wounds -from:webpart_o_matic |
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
Script Hyper-V | |
{ | |
GetScript = { | |
Write-Verbose "Get current status for Microsoft-Hyper-V Feature" | |
$hyperVFeatureState = Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V -Online -ErrorAction SilentlyContinue | |
return @{ | |
Result = $hyperVFeatureState | |
} | |
} |
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
Configuration AutoSpSourceBuilderDsc { | |
param ( | |
# SharePoint Patch Name - As Defined by AutoSPSourceBuilder | |
[Parameter()] | |
[System.String] | |
$SharePointPatchName, | |
# SharePoint Version (2013 or 2016) | |
[Parameter(Mandatory = $true)] | |
[Int] |
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
Install-Module Az.Resources | |
$permissions = Get-M365DSCCompiledPermissionList -ResourceNameList (Get-M365DSCAllResources) -PermissionType Application -AccessType Read | |
Update-M365DSCAzureAdApplication -ApplicationName CollabsummitExport -Permissions $permissions -Type Certificate -CreateSelfSignedCertificate -AdminConsent -Verbose -CertificatePath C:\TenantConfig\CollabsummitExportApp.cer | |
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
# Generated by Microsoft365DSC from https://export.microsoft365dsc.com on 5/21/2023, 10:52:22 PM | |
# Visit https://microsoft365dsc.com for more information | |
# Getting application information for Application + Certificate authentication | |
$ApplicationId = Read-Host -Prompt 'Application Id' | |
$CertificateThumbprint = Read-Host -Prompt 'Certificate Thumbprint' | |
$TenantId = Read-Host -Prompt 'Tenant Id' | |
$exportPath = "C:\TenantConfig\" |