PowerShell’de Type Accelerators

.NET Framework siniflari (class) icin kisa takma ad olarak kullanilirlar. Butun class ismini yazmak yerine Accelerator ismini (bir cesit kisa takma ad) yazmak yeterli olur. Pratiktir. Tavsiye ederim.

AcceleratorKomple Class (Sinif) Ismi
adsiSystem.DirectoryServices.DirectoryEntry
adsisearcherSystem.DirectoryServices.DirectorySearcher
AliasSystem.Management.Automation.AliasAttribute
AllowEmptyCollectionSystem.Management.Automation.AllowEmptyCollectionAttribute
AllowEmptyStringSystem.Management.Automation.AllowEmptyStringAttribute
AllowNullSystem.Management.Automation.AllowNullAttribute
ArgumentCompleterSystem.Management.Automation.ArgumentCompleterAttribute
ArgumentCompletionsSystem.Management.Automation.ArgumentCompletionsAttribute
arraySystem.Array
bigintSystem.Numerics.BigInteger
boolSystem.Boolean
byteSystem.Byte
charSystem.Char
cimclassMicrosoft.Management.Infrastructure.CimClass
cimconverterMicrosoft.Management.Infrastructure.CimConverter
ciminstanceMicrosoft.Management.Infrastructure.CimInstance
CimSessionMicrosoft.Management.Infrastructure.CimSession
cimtypeMicrosoft.Management.Infrastructure.CimType
CmdletBindingSystem.Management.Automation.CmdletBindingAttribute
cultureinfoSystem.Globalization.CultureInfo
datetimeSystem.DateTime
decimalSystem.Decimal
doubleSystem.Double
DscLocalConfigurationManagerSystem.Management.Automation.DscLocalConfigurationManagerAttribute
DscPropertySystem.Management.Automation.DscPropertyAttribute
DscResourceSystem.Management.Automation.DscResourceAttribute
ExperimentActionSystem.Management.Automation.ExperimentAction
ExperimentalSystem.Management.Automation.ExperimentalAttribute
ExperimentalFeatureSystem.Management.Automation.ExperimentalFeature
floatSystem.Single
guidSystem.Guid
hashtableSystem.Collections.Hashtable
initialsessionstateSystem.Management.Automation.Runspaces.InitialSessionState
intSystem.Int32
int16System.Int16
int32System.Int32
int64System.Int64
ipaddressSystem.Net.IPAddress
IPEndpointSystem.Net.IPEndPoint
longSystem.Int64
mailaddressSystem.Net.Mail.MailAddress
NullStringSystem.Management.Automation.Language.NullString
ObjectSecuritySystem.Security.AccessControl.ObjectSecurity
orderedSystem.Collections.Specialized.OrderedDictionary
OutputTypeSystem.Management.Automation.OutputTypeAttribute
ParameterSystem.Management.Automation.ParameterAttribute
PhysicalAddressSystem.Net.NetworkInformation.PhysicalAddress
powershellSystem.Management.Automation.PowerShell
psaliaspropertySystem.Management.Automation.PSAliasProperty
pscredentialSystem.Management.Automation.PSCredential
pscustomobjectSystem.Management.Automation.PSObject
PSDefaultValueSystem.Management.Automation.PSDefaultValueAttribute
pslistmodifierSystem.Management.Automation.PSListModifier
psmoduleinfoSystem.Management.Automation.PSModuleInfo
psnotepropertySystem.Management.Automation.PSNoteProperty
psobjectSystem.Management.Automation.PSObject
psprimitivedictionarySystem.Management.Automation.PSPrimitiveDictionary
pspropertyexpressionMicrosoft.PowerShell.Commands.PSPropertyExpression
psscriptmethodSystem.Management.Automation.PSScriptMethod
psscriptpropertySystem.Management.Automation.PSScriptProperty
PSTypeNameAttributeSystem.Management.Automation.PSTypeNameAttribute
psvariableSystem.Management.Automation.PSVariable
psvariablepropertySystem.Management.Automation.PSVariableProperty
refSystem.Management.Automation.PSReference
regexSystem.Text.RegularExpressions.Regex
runspaceSystem.Management.Automation.Runspaces.Runspace
runspacefactorySystem.Management.Automation.Runspaces.RunspaceFactory
sbyteSystem.SByte
scriptblockSystem.Management.Automation.ScriptBlock
securestringSystem.Security.SecureString
semverSystem.Management.Automation.SemanticVersion
shortSystem.Int16
singleSystem.Single
stringSystem.String
SupportsWildcardsSystem.Management.Automation.SupportsWildcardsAttribute
switchSystem.Management.Automation.SwitchParameter
timespanSystem.TimeSpan
typeSystem.Type
uintSystem.UInt32
uint16System.UInt16
uint32System.UInt32
uint64System.UInt64
ulongSystem.UInt64
uriSystem.Uri
ushortSystem.UInt16
ValidateCountSystem.Management.Automation.ValidateCountAttribute
ValidateDriveSystem.Management.Automation.ValidateDriveAttribute
ValidateLengthSystem.Management.Automation.ValidateLengthAttribute
ValidateNotNullSystem.Management.Automation.ValidateNotNullAttribute
ValidateNotNullOrEmptySystem.Management.Automation.ValidateNotNullOrEmptyAttribute
ValidatePatternSystem.Management.Automation.ValidatePatternAttribute
ValidateRangeSystem.Management.Automation.ValidateRangeAttribute
ValidateScriptSystem.Management.Automation.ValidateScriptAttribute
ValidateSetSystem.Management.Automation.ValidateSetAttribute
ValidateTrustedDataSystem.Management.Automation.ValidateTrustedDataAttribute
ValidateUserDriveSystem.Management.Automation.ValidateUserDriveAttribute
versionSystem.Version
voidSystem.Void
WildcardPatternSystem.Management.Automation.WildcardPattern
wmiSystem.Management.ManagementObject
wmiclassSystem.Management.ManagementClass
wmisearcherSystem.Management.ManagementObjectSearcher
X500DistinguishedNameSystem.Security.Cryptography.X509Certificates.X500DistinguishedName
X509CertificateSystem.Security.Cryptography.X509Certificates.X509Certificate
xmlSystem.Xml.XmlDocument

Leave a Reply

Your email address will not be published. Required fields are marked *