Skip to content

24.06.2 - 2_createParentDisks.ps1 fails in PowerShell 7 #602

Description

Don't see why

repro:
run Windows Server Insider b26296
install mslab 24.05.2
open Terminal > PowerShell 7.4.5
execute 1_Prereq
execute 2_CreateParentDisks

error:
PS H:\mslab_v24.06.2-2408-prod> .\2_CreateParentDisks.ps1

ParserError: H:\mslab_v24.06.2-2408-prod\2_CreateParentDisks.ps1:1056 Line | 1056 | … Import-DscResource -ModuleName PSDesiredStateConfiguratio … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Could not find the module 'PSDesiredStateConfiguration'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions