function Get-ObjectInformation{<#.SYNOPSISA function used to explore object type information..DESCRIPTIONThe Get-ObjectInformation function provides access to otherwiseburied .NET reflection functionality. There is a large collection ofswitch parameters to help give a large sample of the members foran object passed to the function..NOTESAuthor: Will Steele (wlsteele@gmail.com)Last edited date: 7/19/2012Version 1.0Some of these will return large collections, depending on the assemblybeing referenced, so, it is sometimes a good idea to write to a variablefirst, examine the object size (using .Count) and select -first 5. Onceyou have a small sample set you can then determine which fields you needfor the specific investigation you are using. The key to realize hereis that many of these are in depth .NET objects and they have verylarge property collections..PARAMETER ObjectA mandatory parameter indicating the object to examine..PARAMETER GetConstructorsA switch parameter indicating whether it should return the constructorinformation or not. Default is False..PARAMETER GetCustomAttributesA switch parameter indicating whether it should return the CustomAttributes or not. Default is False..PARAMETER GetCustomAttributesDataA switch parameter indicating whether it should return theCustom Attributes Data or not. Default is False..PARAMETER GetExportedTypesA switch parameter indicating whether it should return the ExportedTypes or not. Default is False. NOTE: These are exported types ofthe assembly as a whole, not just for the referenced type..PARAMETER GetGenericArgumentsA switch parameter indicating whether it should return the GenericArguments or not. Default is False..PARAMETER GetHashCodeA switch parameter indicating whether it should return the HashCode or not. Default is False..PARAMETER GetLoadedModulesA switch parameter indicating whether it should return the LoadedModules or not. Default is False..PARAMETER GetManifestResourceNamesA switch parameter indicating whether it should return theManifest Resource Names or not. Default is False..PARAMETER GetMembersA switch parameter indicating whether it should return the Membersor not. Default is False..PARAMETER GetMethodsA switch parameter indicating whether it should return the Methodsor not. Default is False..PARAMETER GetModulesA switch parameter indicating whether it should return the Modulesor not. Default is False..PARAMETER GetNameA switch parameter indicating whether it should return the Nameor not. Default is False..PARAMETER GetReferencedAssembliesA switch parameter indicating whether it should return the ReferencedAssemblies or not. Default is False..PARAMETER GetTypeA switch parameter indicating whether it should return the Typeinformation or not. Default is False..PARAMETER SummaryA switch parameter indicating whether it should return the functionsummary of which switches are $true. Default is False..INPUTSObject.OUTPUTSReturns a variety of output pertaining to the input objects typedata..EXAMPLE 1$string = "string"Get-ObjectInformation -Object $string -GetTypeSystem.String.EXAMPLE 2$psobject = New-Object -TypeName PSObjectGet-ObjectInformation -Object $psobject -GetExportedTypes | sort nameIsPublic IsSerial Name BaseType-------- -------- ---- --------True True ActionPreference System.EnumTrue True ActionPreferenceStopException System.Management.Automation.RuntimeExceptionTrue False AdapterCodeMethods System.Object...True False WSManConfigurationOption System.Management.Automation.PSTransportOptionTrue False WSManConnectionInfo System.Management.Automation.Runspaces.RunspaceConnection...True False WSManServerChannelEvents System.Object.EXAMPLE 3$contentservice = New-WebServiceProxy -Uri http://services.msdn.microsoft.com/ContentServices/ContentService.asmx -Namespace contentserviceGet-ObjectInformation -Object $contentservice -GetReferencedAssemblies -SummaryVersion Name------- ----4.0.0.0 mscorlib4.0.0.0 System.Web.Services4.0.0.0 System4.0.0.0 System.Xml--- Information Summary ---
Tuesday, October 25, 2016
PowerShell v3 Function Get ObjectInformation
Popular Posts
-
A while back Jeff Hicks put some functions up to help navigate the file system a little more easily. Somehow I pulled this (and one other) ...
-
Stick war: legacy description: one of the most popular and highest rated web games of all time now...
-
Aplikasi keyboard adalah merupakan hal yang penting pada ponsel android anda. tanpa aplikasi keybo...
-
Enjoy millions of the latest android apps, games korean hangul keyboard (beta user more efficientl...
-
How to get an iphone-like keyboard on android. posted: 21 sep 2014, 23:01, by florin t. the first ...
-
Apk-keyboard-l-transparan-untuk-android what are you waiting for? you can get free download apk-ke...
-
... sebanyak keyboard piano apps untuk android kamu. download keyboard piano apps apk exciting yan...
-
Ridmik keyboard free download downloader's guide to google play android antivirus that won...
-
Direct link resetter_printer_servicetool_v1074_ip2770 (working).rar download, download resetter_pr...
-
Download and enjoy keyboard color. search; images; maps; play; youtube; news; gmail; drive; the ne...
Blog Archive
-
▼
2016
(908)
-
▼
October
(83)
- TYBSC IT Sem V Question Papers 2009 Mumbai University
- Home automation update
- Very easy to download youtube videos audio mp3 format
- Write VIRUS to computer in 5 minutes
- PowerShell v3 Windows Management Framework 3 0
- HD Dark Desktop Background Wallpapers Download
- Launching the Quantum Artificial Intelligence Lab
- Syrias children learn to code with the Raspberry Pi
- Intel Nehalem Launch
- Running omxplayer from the command line easily usi...
- PowerShell v2 Tracking Down Registry Tweaks
- PowerShell v3 Enable TSDuplicateToken
- Don Jones Month of Lunches Day 7
- Largest collection of Google Logos on the web Set 7
- PowerShell v3 Function Get ObjectInformation
- Collection of SQL queries with Answer and Output S...
- Prevent access to specific partition or drive
- Summer Games Learn to Program
- PiAUISuite Update and Voicecommand v3 1
- Adobe Photoshop CS6 Tutorials
- Windows Server 2008 The Definitive Guide Ebook
- Sign in to edx org with Google and Facebook and
- Large Scale Machine Learning for Drug Discovery
- Hacker Tricks from Insiders A Threat to ERP Systems
- The Next Chapter for Flu Trends
- Googler Moti Yung elected as 2013 ACM Fellow
- PowerShell v3 in a Year Day 14 Write Warning
- Powershell v2 Regular Expressions Extracting Dates...
- Forget Turing the Lovelace Test Has a Better Shot ...
- Powershell v2 Trace Cmdlets Step 2 Im intrigued en...
- T SQL Query Remote Servers
- HitFilm Community Tutorials
- Just for fun A Post cmd exe world your brain on Po...
- Website Color Schemer
- You can not Rename Folder
- Computer Science Education Recharged!
- Farewell to Microsoft XP
- Powershell v3 Tab Completion Takes Forever sometim...
- Asus P6X58 Premium Motherbard First USB 3 0 Support
- TSQL Get Count of All Records in All Tables
- PowerShell v3 Geolocation with PowerShell
- Binary Decimal and Hexadecimal Number Systems in H...
- BSc IT Internet Security Notes Mumbai
- Blender 2 74 Tutorial In Hindi By VFX Pipeline
- 2014 Google PhD Fellowships Supporting the Future ...
- BSc IT Sem 5 2009 2010 Result released
- The Untold Story of Women Who Code
- HD Windows Logo Wallpaper for Desktop
- Toshiba Qosmio X305 Gaming Notebook
- A Billion Words Because todays language modeling s...
- Apple is building a car
- PowerShell v3 in a Year Day 15 Get Host
- A step closer to quantum computation with Quantum ...
- Throwing fireballs with the Kinect and Oculus Rift...
- Voice Command v3 0 for the Raspberry Pi
- The Web We Have to Save
- The IKEA BookBook ™
- Toshiba Satelit Pro U400
- Recover the lost administrators password in Window...
- Groundbreaking simulations by Google Exacycle Visi...
- PowerShell v2 Playing with BOr and BAnd
- How to allow users to Run only specified programs ...
- PowerShell v2 Getting Active Node Information and ...
- Lenovo IdeaPad U110 PC
- Classifying everything using your RPi Camera Deep ...
- Password protect internet explorer8 Browser
- WMI Error Unable to connect to WMI locally – “Win3...
- Introduction to Dreamweaver Tutorial CS6 version B...
- Password protected folders with with out SOFTWARE
- What does Privacy Mean to New Zealanders in the In...
- Making Sense of MOOC Data
- How To Make A Platform Game In Flash 8 By Game Dev...
- How to Classify Images with TensorFlow
- Play With Spider Spider moves towards your Mouse
- Assembling LED Bulbs In Hindi By SkillTrainIndia
- Automatically downloading torrents with the Raspbe...
- Inbox zero progress report
- Voice Command v2 0 for the Raspberry Pi
- Claude Shannons Ultimate Machine
- Creating 3D Window Effect
- PowerShell v3 Insert Binary Data to ASCII File
- How to measure translation quality in your user in...
- How to Type In Gujarati ગુજરાતી
-
▼
October
(83)
Powered by Blogger.
0 comments:
Post a Comment