[Solved] A remote session might have ended

You may get the following error while trying to use the New-PSSession or the Enter-PSSession cmdlets with the SSHTransport parameter. This happens because the cmdlet doesn’t find the ssh.exe file. You have two solutions: Install SSH and ensure ssh.exe is accessible through one of the folders from the Path environment variable Copy ssh.exe in one […]

[Solved] The file install.wim is too large

When you try to create a bootable USB key with a FAT32 filesystem, you may encounter the following error message if your install.wim file is larger than 4 Gb. This can easily be solved by splitting the install.wim file into two or more .swm files of maximum 4 Gb with the DISM command. However, you […]

[Solved] The volume size is too big

You may encounter the following message you try to format with DiskPart a FAT32 partition bigger than 32 Gb. This happens typically when you want to create a bootable USB key, and because nowadays most of the USB keys have a capacity greater than 32 Gb. An easy way to fix this is to shrink […]

How to display all ongoing deployments on Azure

Currently, I didn’t find a user interface method to display all ongoing deployments. However, as always PowerShell is our friend! The Get-AzureRmResourceGroupDeployment cmdlet gives you all deployments, whether they are ongoing, failed, or succeeded. As an input of this cmdlet, you can target the resource groups you desire with the Get-AzureRmResourceGroup cmdlet. For example, if […]

How to find a user’s password expiration date with PowerShell

Retrieve the information This information can be found in the user’s Active Directory’s objects with the Get-ADUser cmdlet. However, the msDS-UserPasswordExpiryTimeComputed attribute is a constructed attribute. According to Microsoft: Constructed attributes have the property that they are attributes for which the attribute value is computed by using other attributes, sometimes from other objects. And because […]