Loading the Snap-In

Note: starting with version 2.0 of Windows PowerShell, there is the - more modern - possibility to provide extensions also in the form of so-called modules. We therefore recommend using the PowerShell Extensions as a module.


Note: Windows PowerShell versions 6.0 and later no longer support the concept of Snap-Ins. So, if you want to use PSX with PowerShell 6 or 7, it is mandatory to use the module loading.


If you start the PowerShell console by clicking the associated shortcut in the start menu or by executing the command Powershell.exe the PowerShell Extensions for Ivanti DSM will not be loaded and the cmdlets therefore can not be used.


If you want to use PowerShell Snap-Ins provided by third party vendors in your scripts or in interactive console sessions you have to load them first. There are several approaches to load Snap-Ins:


  • Open the PowerShell console by clicking the shortcut that was created during the installation process of the PowerShell Extensions for Ivanti DSM (the shortcut is only available if the feature Shortcut was selected during the installation process).

  • Open the PowerShell console and execute the following command:

Add-PSSnapin NwcServices.BlsAdministration


      For convenience you might consider creating a shortcut, to apply the parameter to the executable. This is equivalent to the approach the installer 

      implemented if you had selected the shortcut feature during the installation process.