Query Details

Tie Fighter

Query

//KQL query to display a Tie Figther (from Star Wars)

 let line1 = datatable (name: string)
 [
 "           ✨       ✨ ✨        ✨" 
 ];
  let line2 = datatable (name: string)
 [
 "       ✨         ✨ ✨ ✨         ✨" 
 ];
   let line3 = datatable (name: string)
 [
 "   ✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨           " 
 ];
    let line4 = datatable (name: string)
 [
 "       ✨         ✨ ✨ ✨         ✨" 
 ];
     let line5 = datatable (name: string)
 [
 "             ✨      ✨ ✨       ✨" 
 ];
 line1
 | union line2, line3, line4, line5
 | summarize mylist = make_list(name)
 | project May_the_Force_be_with_you=strcat_array(mylist, '\n')

Explanation

The query creates a visualization of a Tie Fighter from Star Wars using a combination of characters. It uses different lines of characters to create the shape of the Tie Fighter and then combines them together. Finally, it summarizes the lines into a single string and assigns it to the variable "May_the_Force_be_with_you".

Details

Rod Trent profile picture

Rod Trent

Released: January 3, 2022

Tables

line1line2line3line4line5

Keywords

Devices,Intune,User

Operators

letdatatableunionsummarizemake_listprojectstrcat_array

Actions