DSC_SampleScripts/Sample_POSTBehavior.ps1
########################################################################## # DELL PROPRIETARY INFORMATION # # This software is confidential. Dell Inc., or one of its subsidiaries, has supplied this # software to you under the terms of a license agreement,nondisclosure agreement or both. # You may not copy, disclose, or use this software except in accordance with those terms. # # Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved. # # DELL INC. MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, # EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. # DELL SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, # MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. # # # ########################################################################## #$pwwd=Get-Content "c:\temp\userpwd.txt" Configuration POSTBehaviorConfiguration { Import-DscResource -ModuleName DellBIOSProvider Node localhost { POSTBehavior POSTBehaviorSettings #resource name { Category = "POSTBehavior" Keypad = "EnabledByNumlock" PowerWarn = "Disabled" Numlock = "Disabled" #Password = "" #SecurePassword=$pwwd.ToString() } } } # Call the configuration. # It will create a folder with the same name as configuration name (\POSTBehaviorConfiguration)and will contain mof output file. POSTBehaviorConfiguration #Push Mof Start-DscConfiguration -Path .\POSTBehaviorConfiguration\ -wait -verbose -debug -force # SIG # Begin signature block # MIIcOgYJKoZIhvcNAQcCoIIcKzCCHCcCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCD3g/bPw26EvKpk # 4HKs7bB2fy2FTspwcGgJPIfyGOSyjaCCCsowggUyMIIEGqADAgECAg0Ah4JSYAAA # AABR03PZMA0GCSqGSIb3DQEBCwUAMIG+MQswCQYDV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