Command to know the version of Powershell Type In the below example you will notice that the powershell version 3.0 is being displayed. There are four categories of PowerShell commands: Cmdlet (Command-Let) PowerShell Functions PowerShell Scripts Native Windows commands. PowerShell commands have been standardized using a “verb-noun” naming convention know as a cmdlet. This standard […]
What is Powershell? PowerShell is a new command shell from Microsoft and yes it is a command prompt and scripting environment, it can even be both at the same time. Windows PowerShell is an extendable command shell and scripting language which can be used to manage/administer server environments like Windows Server, Exchange and also SharePoint […]
Printer properties can be retrieved using WMI. “Local” property will tell us if it is a network printer or a local printer.
List of Properties: Data Type Property Name uint32 Attributes uint32 Attributes uint16 Availability string AvailableJobSheets uint32 AveragePagesPerMinute uint16 Capabilities string CapabilityDescriptions string Caption string CharSetsSupported string Comment uint32 ConfigManagerErrorCode uint32 ConfigManagerUserConfig string CreationClassName uint16 CurrentCapabilities string CurrentCharSet uint16 CurrentLanguage string […]