#my $PageFiles = $wmiService->ExecQuery("Select * from Win32_PageFileSetting"); my $PageFiles = $wmiService->InstancesOf("Win32_PageFileSetting");