- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That seems to say there is no OSCustomizationSpec by that name.
Do you see it when you do
Get-OSCustomizationSpec
In fact, if that OSCustomization might not be there in some cases, you could perhaps better do
Get-OSCustomizationSpec -Name Temp -ErrorAction SilentlyContinue | Remove-OSCustomizationSpec -Confirm:$false
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference