Windows Hyper-V Hosting Specialist LiveZilla Live Help
Sales: sales@databasemart.com
Support: support@databasemart.com
Phone: 409-877-4238



How to Find All DotNetNuke Installations within Helm4

Requirements

Find all DotNetNuke installations in Helm4 with version number.

Solution



Running the following Powershell script on web server.

#This script is used to search all DNN installations with their version number. function GetVersion( $DnnDir) { if(($DnnDir -is [System.IO.DirectoryInfo] ) -and ` (test-path ($DnnDir.FullName + "\Providers\DataProviders\SqlDataProvider")) ) { $vs = $DnnDir.getfiles("Providers\DataProviders\SqlDataProvider\*.sqldataprovider") |` ?{$_.name -match "(\d+.\d+.\d+).SqlDataProvider$"} |` foreach {$_.name -replace "(^\d+.\d+.\d+).SqlDataProvider", '$1' } | sort -desc $vs[0]; } $null; } Get-ChildItem c:\domains web.config -recurse |` ?{ (select-string $_ -pattern "dotnetnuke" -quiet) -eq $true } | ` ?{ $_.directoryname -match "c:\\domains\\.+\\wwwroot|c:\\domains\\.+\SubDomains" } |` foreach { $_.Directory.FullName; Getversion $_.Directory}

Navigator

Other How-Tos

Shared Windows Hosting

Disk Space: 1GB
Bandwidth: 20GB
# of Domains: 2
# of MSSQL DBs: 1
Setup: $0.00
Monthly: $6.99
More Info...

Basic Hyper-V Server

RAM: 1024MB
Disk Space: 40GB
Bandwidth: 400GB
Windows 2008/2003: Free
IP Addresses: 2
Monthly: $49.99

More Info...

Dedicated Windows Server

CPU: Intel Core 2 Duo E8400
CPU Speed: 3.00GHz
Cache: 6MB
RAM: 4GB RAM
Disk: 2x320GB SATA
RAID: RAID 1
Bandwidth: 1000GB
Windows 2008/2003: Free
IP Addresses: 8
Monthly: $149.00

More Info...