/build/static/layout/Breadcrumb_cap_w.png

Blogs

Determine drives that have System Restore enabled

I modified a Powershell script posted by austinmartinez2 at Spiceworks Sort ShadowCopies by Volume so that I could determine which drives have System Restore enabled.

I tried to make the output appear the way the information is presented in the control panel. Tested in Windows 7 SP1 and Windows 10 1809.

# Sort ShadowCopies by Volume

# https://community.spiceworks.com/topic/2155972-sort-shadowcopies-by-volume
# Original by austinmartinez2 Spiceworks

$shadowStorageList = @();
$volumeList = Get-WmiObject Win32_Volume -Property DriveLetter,DeviceID,Capacity,FreeSpace -Filter "DriveType=3 and FileSystem='NTFS'" | select @{n="DriveLetter";e={$_.DriveLetter.ToUpper()}},DeviceID,@{n="CapacityGB";e={([math]::Round([int64]($_.Capacity)/1GB,2))}},@{n="FreeSpaceGB";e={([math]::Round([int64]($_.FreeSpace)/1GB,2))}} | Sort DriveLetter;
$shadowStorages = gwmi Win32_ShadowStorage -Property AllocatedSpace,DiffVolume,MaxSpace,UsedSpace,Volume |
Select @{n="Volume";e={$_.Volume.Replace("\\","\").Replace("Win32_Volume.DeviceID=","").Replace("`"","")}},
@{n="DiffVolume";e={$_.DiffVolume.Replace("\\","\").Replace("Win32_Volume.DeviceID=","").Replace("`"","")}},
@{n="AllocatedSpaceGB";e={([math]::Round([int64]($_.AllocatedSpace)/1GB,2))}},
@{n="MaxSpaceGB";e={([math]::Round([int64]($_.MaxSpace)/1GB,2))}},
@{n="UsedSpaceGB";e={([math]::Round([int64]($_.UsedSpace)/1GB,2))}}

$volumeList | Where-Object {$_.DriveLetter -ne $Null} | ForEach-Object {
$DeviceID = $_.DeviceID
$DriveLetter = $_.DriveLetter
$DriveCapacityGB = $_.CapacityGB
$Protection = "Off"
#$AllocatedSpaceGB = ""
$UsedSpaceGB = ""
$MaxSpaceGB = ""
$MaxSpacePercent = ""

foreach ($shStorage in $shadowStorages) {
if ($shStorage.Volume -eq $DeviceID) {
$Protection = "On"
#$AllocatedSpaceGB = $shStorage.AllocatedSpaceGB
$UsedSpaceGB = $shStorage.UsedSpaceGB
$MaxSpaceGB = $shStorage.MaxSpaceGB
$MaxSpacePercent = "{0:P0}" -f ($MaxSpaceGB / $DriveCapacityGB)
}
}

$objVolume = New-Object PSObject -Property @{
DriveLetter = $DriveLetter
Protection = $Protection
#AllocatedSpaceGB = $AllocatedSpaceGB
UsedSpaceGB = $UsedSpaceGB
MaxSpaceGB = $MaxSpaceGB
MaxSpacePercent = $MaxSpacePercent
}
$shadowStorageList += $objVolume;
}

$shadowStorageList | Select DriveLetter, Protection, UsedSpaceGB, MaxSpaceGB, MaxSpacePercent

Be the first to comment

SCCM 2012 R2 Query for Software not Installed - Prompts for Software Name

Today I created this custom query to help look for devices which do not have a specified software installed.  I create the query to prompt for the collection and then then enter a value for Software.ARPDisplay Name.  Here is the query:


select distinct SMS_R_System.Name, SMS_R_System.OperatingSystemNameandVersion, SMS_G_System_CH_ClientSummary.ClientActiveStatus, SMS_R_System.IPAddresses, SMS_R_System.LastLogonUserName from  SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_CH_ClientSummary on SMS_G_System_CH_ClientSummary.ResourceID = SMS_R_System.ResourceId

where SMS_R_System.ResourceId not in (select SMS_R_System.ResourceId from  SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_CH_ClientSummary on SMS_G_System_CH_ClientSummary.ResourceID = SMS_R_System.ResourceId

where SMS_G_System_INSTALLED_SOFTWARE.ARPDisplayName like ##PRM:SMS_G_System_INSTALLED_SOFTWARE.ARPDisplayName##)

order by SMS_R_System.Name


Let me know if you find this useful.


Be the first to comment

KACE Cloud MDM: Q1CY19 Update Release

KACE Cloud Mobile Device Manager

We are excited to announce our most recent updates to KACE Cloud Mobile Device Manager for Q1CY19.

What's New:

New Feature: Device History — Our new Device History feature lets an admin keep track of detailed device information across categories like app deployments, device changes and configurations, and device lifecycle events. An admin can also export device history for multiple devices to make correlating data easier.

Feature Enhancements:

  • Multi-Configuration for AppsThis feature enhancement allows the creation of multiple configurations for a single iOS app. Not all apps allow this functionality, but an administrator can determine which apps are available for multi-configuration by locating the gear icon adjacent to the app in the master list. This functionality is only available for iOS devices at this time.
  • Password Reset As part of our effort to merge more administrative capabilities into KACE Cloud, administrators can now send a password reset email to one or more users right from the Admin Portal.
  • New Android Restrictions  There are now two additional restrictions for administrators when configuring Android devices: 
    • Allow copy/paste from the work profile - Lets an admin control whether or not data can be copied between the work and personal profiles on the device.
    • Allow Bluetooth devices to access contacts in the work profile - Lets an admin control whether or not contact information in the work profile can be accessed by Bluetooth devices.


Read more about what's new in this update

Be sure to check out the KACE Cloud MDM Product Support page to find solution articles, tips and tricks, documentation, notifications, video tutorials, and a product user forum.

 

 

Be the first to comment

Interested in joining KACE Product Management and Development for some User Experience input?

Hi Service Desk User Group Members!

If you would like to participate in some upcoming User Experience feedback sessions, we would love to hear what you have to say! This is a great opportunity to help build new features for users - by users. If you are interested, please drop us an email at: KACEServiceDesk@quest.com

Not a member yet and want to join? Let us know: KACEServiceDesk@quest.com

Thanks for your kind consideration. 

Be the first to comment

Interested in presenting at out next KACE Education Virtual User Group Webinar in June?

Have you thought about sharing something cool with the Team? We are looking for presenters for the next KACE Education Virtual User Group Webinar in late April. Whether you want to do a 45 minute presentation or a 15 minute informatl presentation, the other members will appreciate any cool tips and tricks that can make their lives easier. Many users do not fully employ all their great KACE appliance features and you may be just the person to get them up to speed so they can get the most return on their investment. 

Interested? Just drop us an email at: KACEServiceDesk@quest.com

Thank you in advance for your kind consideration!

Be the first to comment
Showing 6 - 10 of 3263 results

Talk About User State Migration

Share