Monday, October 17, 2016
Sunday, August 7, 2016
[W10] Cannot sysprep Windows 10 installation
Check sysprep logs to review each modern application that needs to be removed
Remove them from Store program list
or
- Run the Import-Module Appx PowerShell cmdlet.
- Run Import-Module Dism.
- Run Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation.
Notes- In the output of this last cmdlet, check the users for whom the package is showing up as Installed. Delete these user accounts from the reference computer, or log on to the computer by using these user accounts. Then, run the cmdlet in step 4 to remove the Appx package.
- This command lists all packages that were published by Microsoft and installed by any user of that reference computer. Because the computer is to be sysprepped, we assume that these user profiles no longer require the package.
- If you have manually provisioned apps that belong to other publishers, run the following command to list them:
Get-AppxPackage -AllUser | Format-List -Property PackageFullName,PackageUserInformation
- Run Remove-AppxPackage -Package <packagefullname>.
- Remove the provisioning by running the following cmdlet:
Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>
Sysprep fails after you remove or update Windows Store apps that include built-in Windows images
https://support.microsoft.com/en-us/kb/2769827
https://support.microsoft.com/en-us/kb/2769827
[WSRV] Install .NET Framework 3.5 using Dism
[WSRV] Expand all values in object property
Get-Mailbox mbx001 | Select-Object -ExpandProperty EmailAddresses
https://blogs.msdn.microsoft.com/powershell/2009/09/13/select-expandproperty-propertyname/
Saturday, July 9, 2016
[WSRV] How to removing a pending update that is preventing a successful boot
dism.exe /image:C:\ /cleanup-image /revertpendingactions
remove the file C:\windows\winsxs\pending.xml.
Monday, May 23, 2016
[WSRV] Create a file with specific size
fsutil file createnew d:\temp\1mbfile.txt 1000000
Fsutil
https://technet.microsoft.com/en-us/library/cc753059(v=ws.11).aspx
Tuesday, May 10, 2016
[EXO] Download pictures from users
$user = Get-UserPhoto user@domain.com
$user.PictureData | Set-Content "D:\Export\Photo$($user.Identity).jpg" -Encoding byte
Subscribe to:
Posts (Atom)