Tag Archives: powershell

Windows: Internet Explorer set open as default action for a file extension

Hi,

the following steps describe how to  open a file with a specific file extension in Internet Explorer without showing the open/save dialog. In this example a the URL http://myintranethost.local/data/doc.pptm should open the PowerPoint Viewer without any interaction.

Continue reading Windows: Internet Explorer set open as default action for a file extension

Advertisment to support michlstechblog.info

Powershell: Some examples to use a MySQL Database

Hi,

sometimes it makes sence to write Data in a “real” Databasesystem instead of writing to a text- or xml file.

MySQL offers an native Windows .NET Connector to its Database. You can get it here.

Continue reading Powershell: Some examples to use a MySQL Database

Powershell: List members of an Active Directory Group

Hi,

here are the code snippets to list all members of an Active Directory Group.

Some constants

# Define LDAP search root, the Global catalog of the domain
$sLDAPSearchRoot="LDAP://yourDomain.com:3268"
# The Groupname to looking for
$sGroupName="USR_GRP_IN_AD"

Continue reading Powershell: List members of an Active Directory Group