Skip to content

Issue deploying on windows 11 #2

@Elochar

Description

@Elochar

Hey Joesph,
I had an issue using this script on windows 11. I went to this https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsDesktop::Wallpaper and found that I needed to change the style (fit, stretch, fill, etc,.) to the ones listed on the website. Here is the section I changed:

$WallpaperStyle = Switch ($Style) {

"Fill" {"4"}
"Fit" {"3"}
"Stretch" {"2"}
"Tile" {"1"}
"Center" {"0"}
"Span" {"5"}

}

After this I was able to get the script working correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions