UNSOLVED

danielolsson

updated

3 months ago

0

197189

September 3rd, 2015 09:00

Dell PS provider - WinPE 10 - PowerShell 5.0

Hi..

Will Dell PS provider be supported / supposed to work with WinPE 10 and ConfgMgr 2012 R2 SP1 in the near future ?

WinPE10 is based upon Powershell 5.0

  • DELL-Vibha G

    1 Rookie

    •

    38 Posts

    2648

    0

    Posted September 8th, 2015 00:00

    This is work in progress. Cannot say at the moment if WinPE support will be part of the next release.

    Thanks

    Vibha

  • 2649

    0

    Posted October 13th, 2015 18:00

    Unfortunately, it does not appear to work in it's current implementation. Tested in WinPE 5 and 10. It appears that it is not an incompatibility with PowerShell 5, but rather a DLL that is trying to dynamically link to a library that is not included in WinPE.

    If anyone happens to get this working, please let me know. I'm currently upgrading a bunch of our old imaging scripts from HTA+VBscript to PowerShell and would love to use this module in a PE environment to configure the BIOS and enable the TPM fo BitLocker pre-provisioning.

  • DELL-Vibha G

    1 Rookie

    •

    38 Posts

    2649

    2

    Posted October 28th, 2015 01:00

    Please check the User's guide of newly launched 1.0 release -

    http://www.dell.com/support/home/us/en/19/product-support/product/dell-command-powershell-provider-v1.0/manuals

    Section 5 is about setting up the DellBIOSProvider in Win PE environment.

    Thanks

    Vibha

  • 2649

    0

    Posted October 28th, 2015 14:00

    I am excited to test this new version but..

    Latitude E7240 is supported with A16 but only A15 is listed as possible to download for this model.

    Were can I find A16 version to test new PS Module ?

  • pramodtvm

    29 Posts

    2649

    0

    Posted October 30th, 2015 12:00

    Hi Daniel,

    Please see the below link.

    www.dell.com/.../advanced

  • 2649

    0

    Posted November 1st, 2015 20:00

  • 2649

    0

    Posted November 1st, 2015 20:00

    Please refer:

    www.dell.com/.../advanced

    You should be able to find A16 there

  • 2649

    0

    Posted November 18th, 2015 06:00

    Thank you Vibha,

    I followed the documentation to get the PowerShell provider working on WinPE. After loading the module and getting child items of DellSMBIOS:\SystemInformation I get the following stack trace.

    PS DellSmbios:\> Get-ChildItem DellSMBIOS:\SystemInformation

    Attribute CurrentValue
    --------- ------------
    BIOSVersion A15
    ServiceTag 2S7D9P1
    AssetTag 4060796

    Unhandled Exception: System.AccessViolationException: Attempted to read or write
    protected memory. This is often an indication that other memory is corrupt.
    at Dll_CLI.BIOSWrapper.GetCurrentValue(String category, String att, String& c
    urrentValue)
    at Dell.Smbios.PowerShell.Providers.DellBIOSProvider.ConstructAttributeObject
    (String categoryName, ConfigDataConfigDataEntryFormSetFormConfigItem cfgitem)
    at Dell.Smbios.PowerShell.Providers.DellBIOSProvider.GetChildItems(String pat
    h, Boolean recurse)
    at System.Management.Automation.SessionStateInternal.GetChildItems(CmdletProv
    ider providerInstance, String path, Boolean recurse, CmdletProviderContext conte
    xt)
    at System.Management.Automation.SessionStateInternal.GetChildItems(String pat
    h, Boolean recurse, CmdletProviderContext context)
    at Microsoft.PowerShell.Commands.GetChildItemCommand.ProcessRecord()
    at System.Management.Automation.Cmdlet.DoProcessRecord()
    at System.Management.Automation.CommandProcessor.ProcessRecord()
    at System.Management.Automation.CommandProcessorBase.DoExecute()
    at System.Management.Automation.Internal.PipelineProcessor.Inject(Object inpu
    t, Boolean enumerate)
    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecute
    Enumerate(Object input, Hashtable errorResults, Boolean enumerate)
    at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Bool
    ean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pip
    eElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcCo
    ntext)
    at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(Inter
    pretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.R
    un(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.R
    un(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame
    frame)
    at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)

    at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1
    clause, Object dollarUnderbar, Object inputToProcess)
    at System.Management.Automation.DlrScriptCommandProcessor.Complete()
    at System.Management.Automation.CommandProcessorBase.DoComplete()
    at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(Com
    mandProcessorBase commandRequestingUpstreamCommandsToStop)
    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecute
    Enumerate(Object input, Hashtable errorResults, Boolean enumerate)
    at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
    at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
    at System.Management.Automation.Runspaces.PipelineThread.WorkerProc()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCo
    ntext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
    ontextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
    ontextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()

  • DELL-Vibha G

    1 Rookie

    •

    38 Posts

    2649

    0

    Posted November 18th, 2015 08:00

    Need to identify the attribute that caused the exception. Next attribute in SystemInformation category is OwnershipTag.  Please send us the output of  -

    Get-ChildItem DellSMBIOS:\SystemInformation\AssetTag -verbose

    Get-ChildItem DellSMBIOS:\SystemInformation\OwnershipTag -verbose

    Thanks for reporting the issue. We'll try to reproduce it at our end and get back.

    -Vibha

  • 509

    0

    Posted November 18th, 2015 15:00

    Thank you very much for looking into this for me. I've been able to poll other areas of the SMBios provider, such as the TPM information. So far, this is the only error I have run into, although I'm in the early stages of implementing the PowerShell Provider in our workflow. Here is the output of the two commands you asked me to run;

    PS DellSmbios:\> Get-ChildItem DellSMBIOS:\SystemInformation\AssetTag -verbose
    VERBOSE: Performing operation Get-Item on target
    DellBIOS:\SystemInformation\AssetTag

    Attribute CurrentValue
    --------- ------------
    AssetTag 4060796


    PS DellSmbios:\> Get-ChildItem DellSMBIOS:\SystemInformation\OwnershipTag -verbo
    se
    VERBOSE: Performing operation Get-Item on target
    DellBIOS:\SystemInformation\OwnershipTag

    Unhandled Exception: System.AccessViolationException: Attempted to read or write
    protected memory. This is often an indication that other memory is corrupt.
    at Dll_CLI.BIOSWrapper.GetCurrentValue(String category, String att, String& c
    urrentValue)
    at Dell.Smbios.PowerShell.Providers.DellBIOSProvider.ConstructAttributeObject
    (String categoryName, ConfigDataConfigDataEntryFormSetFormConfigItem cfgitem)
    at Dell.Smbios.PowerShell.Providers.DellBIOSProvider.GetItem(String path)
    at System.Management.Automation.SessionStateInternal.GetItemPrivate(CmdletPro
    vider providerInstance, String path, CmdletProviderContext context)
    at System.Management.Automation.SessionStateInternal.GetChildItems(String pat
    h, Boolean recurse, CmdletProviderContext context)
    at Microsoft.PowerShell.Commands.GetChildItemCommand.ProcessRecord()
    at System.Management.Automation.Cmdlet.DoProcessRecord()
    at System.Management.Automation.CommandProcessor.ProcessRecord()
    at System.Management.Automation.CommandProcessorBase.DoExecute()
    at System.Management.Automation.Internal.PipelineProcessor.Inject(Object inpu
    t, Boolean enumerate)
    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecute
    Enumerate(Object input, Hashtable errorResults, Boolean enumerate)
    at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Bool
    ean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pip
    eElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcCo
    ntext)
    at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(Inter
    pretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.R
    un(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.R
    un(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame
    frame)
    at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)

    at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1
    clause, Object dollarUnderbar, Object inputToProcess)
    at System.Management.Automation.DlrScriptCommandProcessor.Complete()
    at System.Management.Automation.CommandProcessorBase.DoComplete()
    at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(Com
    mandProcessorBase commandRequestingUpstreamCommandsToStop)
    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecute
    Enumerate(Object input, Hashtable errorResults, Boolean enumerate)
    at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
    at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
    at System.Management.Automation.Runspaces.PipelineThread.WorkerProc()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCo
    ntext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
    ontextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
    ontextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()