Skip to content

Instantly share code, notes, and snippets.

@bielawb
Created June 23, 2020 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bielawb/b654af53d51dc43690346ffec4a0d10f to your computer and use it in GitHub Desktop.
Save bielawb/b654af53d51dc43690346ffec4a0d10f to your computer and use it in GitHub Desktop.
Zmienna $switch
switch ($prostaZmienna) {
{ 'dowolny ciąg znaków -> logiczne $true' } {
, $switch | Get-Member
}
}
<#
TypeName: System.Array+SZArrayEnumerator
Name MemberType Definition
---- ---------- ----------
Clone Method System.Object Clone(), System.Object ICloneable.Clone()
Equals Method bool Equals(System.Object obj)
GetHashCode Method int GetHashCode()
GetType Method type GetType()
MoveNext Method bool MoveNext(), bool IEnumerator.MoveNext()
Reset Method void Reset(), void IEnumerator.Reset()
ToString Method string ToString()
Current Property System.Object Current {get;}
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment