Tag: powershell

image_pdfimage_print

Package and install a MSIX package

Last updated: 10th March, 2019, 1:27 PM MSIX is the new packaging format to create new packages. It is aviable on Windows 10 v1809 and later. According to Microsoft packaging has never been easier. In this tutorial I will create a Paint.Net 4.1.5 package on a dedicated Hyper-V Virtual Machine. The package will be deployed …

Continue reading

Permanent link to this article: https://www.vroom.cc/wordpress/package-and-install-a-msix-package/

Install all the MSI installation files in a folder

SCCM: Detection rule

Last updated: 10th March, 2019, 1:28 PM If you want to install a bunch of MSI files you put them in a folder and install them with a batch file. There is a downsize: you must modify the batch file for each situation. With this PowerShell script you can install all the MSI files in …

Continue reading

Permanent link to this article: https://www.vroom.cc/wordpress/install-all-the-msi-installation-files-in-a-folder/

All expired user accounts and the accounts that are about to expire

Output in Excel.

Last updated: 10th March, 2019, 1:17 PM A colleague of mine asked me to write a script with the Active Directory users with an account about to expire. So I created this script for him:

Continue reading

Permanent link to this article: https://www.vroom.cc/wordpress/overview-of-all-user-accounts-that-are-about-to-expire/

Improved script to migrate users from Windows 7 to Windows 10 automatically

Last updated: 10th March, 2019, 1:21 PM In my article, I wrote about a script to perform a user migration. In the meantime, that script has been improved to perform a more efficient and errorless migration. The following improvements have been implemented:

Continue reading

Permanent link to this article: https://www.vroom.cc/wordpress/improved-script-to-migrate-users-from-windows-7-to-windows-10-automatically/

Migrate users from Windows 7 to Windows 10 automatically

Last updated: 10th March, 2019, 1:22 PM For a migration from Windows 7 to Windows 10 it is needed to do the following with the users’ account: Move it to a different OU Add it to a new VDI group Add it to the new application groups Remove it from the previous application groups Clear …

Continue reading

Permanent link to this article: https://www.vroom.cc/wordpress/migrate-users-from-windows-7-to-windows-10-automatically/

Inventory the directory access rights on file servers

Last updated: 10th March, 2019, 1:24 PM During the migration, it was needed to inventory the directory access on several file servers. So we could easily monitor the access rights on several directories on the file servers. Some applications are started from a UNC path. So we could add the ‘old’ and the ‘new’ group …

Continue reading

Permanent link to this article: https://www.vroom.cc/wordpress/inventory-the-directory-access-rights-on-file-servers/

Modify the users’ profile path in Active Directory

Profile path in AD.

Last updated: 10th March, 2019, 1:33 PM The customer I am working for asked me to write a script that removes the profile path from the users’ profile in Active Directory. One of the requirements was to do it on a batch-by-batch basis. Thus not a big bang. I decided to write a PowerShell script …

Continue reading

Permanent link to this article: https://www.vroom.cc/wordpress/modify-the-users-profile-path-in-active-directory/

Cannot edit the object which is in use as SCCM blocks an application

Last updated: 10th March, 2019, 1:31 PM You might have had this earlier: editing an application in SCCM 2012, the SCCM console crashes. And when you want to continue, you get the error: The following objects are not available and will not be edited. In this article, I will describe 2 solutions.

Continue reading

Permanent link to this article: https://www.vroom.cc/wordpress/cannot-edit-the-object-which-is-in-use-as-sccm-blocks-an-application/

Check if there is a working internet connection when a firewall blocks ping requests

Last updated: 22nd October, 2017, 1:32 PM Sometimes you need to check if there is a working internet connection. You can use the pingcommand for that. But this command does not work if ICMP echo request have disabled on the firewall. If this is the case we have to check the status of a website. …

Continue reading

Permanent link to this article: https://www.vroom.cc/wordpress/check-if-there-is-a-working-internet-connection-when-a-firewall-blocks-ping-requests/

Export lines that contain a specific value to a CSV file with PowerShell

Last updated: 10th March, 2019, 1:37 PM For a client I needed to find all the hostnames that where defined in each IBM iSeries Client Access Workstation file (.ws file). All the .ws files where in subfolders. The country, the filename and the hostname needs to be in a .csv file.

Continue reading

Permanent link to this article: https://www.vroom.cc/wordpress/export-lines-that-contain-a-specific-value-to-a-csv-file-with-powershell/