\n
get-jcsystemapp -SystemOS macOS | ?{$_.Path -notlike ‘\/System\/‘ -and $_.Path -notlike ‘\/Library\/<\/em>‘} | export-csv filename.csv<\/p>\n<\/div><\/div>\n\n\n\n\nQuery all installed applications for all Linux devices and output to CSV:<\/li>\n<\/ul>\n\n\n\n\n
Get-JCSystemApp -SystemOS linux | ConvertTo-CSV | Out-File linuxPackages.csv<\/p>\n<\/div><\/div>\n\n\n\n
\nQuery all installed applications on all Windows devices and output to CSV:<\/li>\n<\/ul>\n\n\n\n\n
Get-JCSystemApp -SystemOS windows | select-object systemid,name,publisher,version,installdate,installsource,identifyingnumber | ConvertTo-CSV | Out-File windowsPackages.csv<\/p>\n<\/div><\/div>\n\n\n\n
Device Reporting<\/h3>\n\n\n\n\nList devices with drives where Bitlocker is enabled and Auto Unlock is disabled:<\/li>\n<\/ul>\n\n\n\n\n
Get-JCSystemInsights -Table BitlockerInfo | select-object systemid, ProtectionStatus, driveletter | Where-Object {$_.protectionstatus -eq 2}<\/p>\n<\/div><\/div>\n\n\n\n
\nQuery devices with a last contact date within the last 90 days and output to CSV:<\/li>\n<\/ul>\n\n\n\n\n
Get-JCSystem -filterDateProperty lastContact -dateFilter after -date (Get-Date).AddDays(-90) -returnProperties hostname, lastContact, created | Export-Csv JCSystemslastContact.csv<\/p>\n<\/div><\/div>\n\n\n\n
\nList devices that are bound to a domain:<\/li>\n<\/ul>\n\n\n\n\n
get-jcsystem | select-object hostname,domaininfo | where-object {$_.domaininfo.domainName -ne “”} <\/p>\n<\/div><\/div>\n\n\n\n
\nCollect device full disk encryption (FDE) keys and output to CSV:<\/li>\n<\/ul>\n\n\n\n\n
Get-JCSystem | ? fde -Like “*keyPresent=True; active=True*” | Select-object hostname, _id, @{Name=’key’;Expression={Get-JCSystem -SystemID $_._id -SystemFDEKey | Select-object -expandProperty key}}<\/span> | Export-CSV JCSystemFDEKeys.CSV<\/p>\n<\/div><\/div>\n\n\n\n\nQuery devices where FDE is enabled but keys are not escrowed and output to CSV:<\/li>\n<\/ul>\n\n\n\n\n
Get-JCSystem | ? fde -Like “*keyPresent=false; active=True*” | Select-object hostname, ID, FDE | | Export-CSV JCSystemMissingFDEKeys.CSV<\/p>\n<\/div><\/div>\n\n\n\n
User Reporting<\/h3>\n\n\n\n\nList all users and their password expiration dates:<\/li>\n<\/ul>\n\n\n\n\n
[int]$UTCOffset = ‘-6’ # Update with your locations timezone offset to UTC. 8 = Singapore Standard Time, -5 = EST, – 8 = PST, -6 = MDT Get-JCUser -returnProperties username, password_expiration_date, password_expired | Select-Object username, @{name = “password_expiration_date”; expression = { ($_.password_expiration_date).addHours($UTCOffset)}}<\/span>, @{name =”day of week”;expression = {(($_.password_expiration_date).addHours($UTCOffset)).DayOfWeek}}<\/span>, password_expired | Sort-Object password_expiration_date<\/p>\n<\/div><\/div>\n\n\n\n\nLists users not bound to a device:<\/li>\n<\/ul>\n\n\n\n\n
$Users = Get-JCUser $Users | Where-Object {$_.Id -notin (Get-JCAssociation -Type:(‘user’) -Id:($_.Id) -TargetType:(‘user_group’)).id} | Select-Object username<\/p>\n<\/div><\/div>\n\n\n\n
\nList users not bound to a user group:<\/li>\n<\/ul>\n\n\n\n\n
$Users = Get-JCUser $Users | Where-Object {$_.Id -notin (Get-JCAssociation -Type:(‘user’) -Id:($_.Id) -TargetType: (‘user_group’)).id} | Select-Object username<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"
The 黑料海角91入口 PowerShell Module is a powerful tool designed to simplify administrative tasks for IT professionals. By using PowerShell commands, […]<\/p>\n","protected":false},"author":218,"featured_media":0,"template":"","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","inline_featured_image":false,"footnotes":""},"support_category":[2856,2916],"support_tag":[3160],"coauthors":[3011],"acf":[],"yoast_head":"\n
Create Reports With the PowerShell Module - 黑料海角91入口<\/title>\n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n\t \n \n \n\t \n\t \n\t \n