PowerShell
This programming language may be used to instruct a computer to perform a task.
Listed below are all of the tasks on Rosetta Code which have been solved using PowerShell.
This programming language may be used to instruct a computer to perform a task.
Official website |
---|
Type safety: | Safe |
---|---|
Type strength: | Strong |
Type expression: | Implicit |
Type checking: | Dynamic |
See Also: |
Your Help Needed
If you know PowerShell, please write code for some of the tasks not implemented in PowerShell.
If you know PowerShell, please write code for some of the tasks not implemented in PowerShell.
PowerShell is a shell and scripting language released by Microsoft in 2006. Like other shells, PowerShell has a piping mechanism where the output of one command is passed as input to another command. However, unlike most shells, PowerShell passes objects rather than strings. This eliminates the text munging overhead usually necessary to make the pieces of a script fit together.
PowerShell is built on Microsoft's .NET framework and has full access to the CLR.
Subcategories
This category has the following 3 subcategories, out of 3 total.
Pages in category "PowerShell"
The following 499 pages are in this category, out of 499 total.
2
A
- A* search algorithm
- A+B
- Abbreviations, easy
- ABC problem
- Abstract type
- Abundant, deficient and perfect number classifications
- Accumulator factory
- Ackermann function
- Active Directory/Search for a user
- Add a variable to a class instance at runtime
- Align columns
- Aliquot sequence classifications
- Amicable pairs
- Anagrams
- Anagrams/Deranged anagrams
- Angle difference between two bearings
- Append a record to the end of a text file
- Apply a callback to an array
- Arbitrary-precision integers (included)
- Arithmetic-geometric mean
- Arithmetic/Complex
- Arithmetic/Integer
- Array concatenation
- Array length
- Arrays
- Associative array/Creation
- Associative array/Iteration
- Average loop length
- Averages/Arithmetic mean
- Averages/Mean angle
- Averages/Mean time of day
- Averages/Median
- Averages/Mode
- Averages/Pythagorean means
- Averages/Root mean square
- Averages/Simple moving average
B
C
- Caesar cipher
- Calculating the value of e
- Calendar
- Call an object method
- Case-sensitivity of identifiers
- Catalan numbers
- Catamorphism
- Character codes
- Check that file exists
- Chinese zodiac
- Cholesky decomposition
- Classes
- Closures/Value capture
- Collections
- Colour bars/Display
- Combinations
- Comma quibbling
- Command-line arguments
- Comments
- Compare a list of strings
- Compile-time calculation
- Compound data type
- Concurrent computing
- Conditional structures
- Conjugate transpose
- Constrained random points on a circle
- Convert seconds to compound duration
- Copy a string
- Count in factors
- Count in octal
- Count occurrences of a substring
- Create a file
- Create a two-dimensional array at runtime
- Create an HTML table
- CSV data manipulation
- CSV to HTML translation
- Cumulative standard deviation
- Currying
- CUSIP
D
- Damm algorithm
- Date format
- Date manipulation
- Day of the week
- Define a primitive data type
- Delete a file
- Detect division by zero
- Determinant and permanent
- Determine if a string is numeric
- Determine if only one instance is running
- Digital root
- Dinesman's multiple-dwelling problem
- Discordian date
- DNS query
- Documentation
- Dot product
- Doubly-linked list/Definition
- Dragon curve
- Dutch national flag problem
- Dynamic variable names
E
- Empty directory
- Empty program
- Empty string
- Entropy
- Enumerations
- Environment variables
- Equilibrium index
- Ethiopian multiplication
- Euler method
- Euler's sum of powers conjecture
- Evaluate binomial coefficients
- Even or odd
- Events
- Exceptions
- Execute a system command
- Execute HQ9+
- Exponentiation operator
- Extend your language
- Extract file extension
F
- Factorial
- Factors of an integer
- Fast Fourier transform
- FASTA format
- Fibonacci sequence
- File input/output
- File modification time
- File size
- Filter
- Find common directory path
- Find limit of recursion
- Find the last Sunday of each month
- Find the missing permutation
- Five weekends
- FizzBuzz
- Flatten a list
- Formatted numeric output
- Forward difference
- Four bit adder
- Function composition
- Function definition
G
- Gamma function
- Gapful numbers
- Gauss-Jordan matrix inversion
- Gaussian elimination
- General FizzBuzz
- Generate Chess960 starting position
- Generate lower case ASCII alphabet
- Generic swap
- Get system command output
- Globally replace text in several files
- Go Fish
- Greatest common divisor
- Greatest element of a list
- Guess the number
- Guess the number/With feedback
- GUI component interaction
H
- Hailstone sequence
- Handle a signal
- Happy numbers
- Harshad or Niven series
- Hash from two arrays
- Haversine formula
- Hello world/Graphical
- Hello world/Newbie
- Hello world/Newline omission
- Hello world/Standard error
- Hello world/Text
- Here document
- Heronian triangles
- Higher-order functions
- Holidays related to Easter
- Horizontal sundial calculations
- Horner's rule for polynomial evaluation
- Host introspection
- Hostname
- HTTP
- HTTPS
- HTTPS/Authenticated
- Huffman coding
I
- I before E except after C
- IBAN
- Identity matrix
- Include a file
- Increment a numerical string
- Infinity
- Inheritance/Multiple
- Inheritance/Single
- Input loop
- Input/Output for lines of text
- Input/Output for pairs of numbers
- Integer comparison
- Integer overflow
- Integer sequence
- Interactive programming (repl)
- Introspection
- Inverted index
- Inverted syntax
- ISBN13 check digit
K
L
- Langton's ant
- Largest int from concatenated ints
- Last Friday of each month
- Leap year
- Least common multiple
- Left factorials
- Letter frequency
- Levenshtein distance
- Linear congruential generator
- Literals/Integer
- Literals/String
- Logical operations
- Long multiplication
- Long year
- Longest common prefix
- Longest common subsequence
- Longest common substring
- Longest increasing subsequence
- Longest string challenge
- Look-and-say sequence
- Loop over multiple arrays simultaneously
- Loops/Break
- Loops/Continue
- Loops/Do-while
- Loops/Downward for
- Loops/For
- Loops/For with a specified step
- Loops/Foreach
- Loops/Infinite
- Loops/N plus one half
- Loops/While
- Lucas-Lehmer test
- Ludic numbers
- Luhn test of credit card numbers
- Lychrel numbers
M
- MAC vendor lookup
- Mad Libs
- Make directory path
- Mandelbrot set
- Map range
- Matrix multiplication
- Matrix transposition
- McNuggets problem
- MD5
- Menu
- Middle three digits
- Modular inverse
- Monte Carlo methods
- Monty Hall problem
- Morse code
- Move-to-front algorithm
- Multiple distinct objects
- Multiplication tables
- Multisplit
- Musical scale
- Mutual recursion
N
O
P
- Palindrome detection
- Pangram checker
- Parse an IP Address
- Parse command-line arguments
- Parsing/RPN calculator algorithm
- Pascal's triangle
- Password generator
- Perfect numbers
- Permutations
- Permutations by swapping
- Pernicious numbers
- Phrase reversals
- Playing cards
- Polynomial regression
- Population count
- Power set
- Pragmatic directives
- Price fraction
- Primality by trial division
- Prime decomposition
- Print itself
- Probabilistic choice
- Problem of Apollonius
- Program name
- Program termination
- Proper divisors
- Pythagorean triples
R
- Random number generator (device)
- Random number generator (included)
- Random numbers
- Range expansion
- Range extraction
- Ranking methods
- Rate counter
- Read a configuration file
- Read a file line by line
- Read a specific line from a file
- Read entire file
- Real constants and functions
- Reflection/List properties
- Regular expressions
- Remove duplicate elements
- Remove lines from a file
- Rename a file
- Repeat
- Repeat a string
- Return multiple values
- Reverse a string
- Reverse the gender of a string
- Reverse words in a string
- RIPEMD-160
- Roman numerals/Decode
- Roman numerals/Encode
- Rosetta Code/Find unimplemented tasks
- Rosetta Code/Rank languages by popularity
- Rot-13
- RSA code
- Run-length encoding
- Runge-Kutta method
- Runtime evaluation
S
- Scope modifiers
- Scope/Function names and labels
- Search a list
- Search a list of records
- Secure temporary file
- SEDOLs
- Self-describing numbers
- Semiprime
- Semordnilap
- Send an unknown method call
- Send email
- Sequence of non-squares
- Sequence of primes by trial division
- Set
- SHA-1
- SHA-256
- Shell one-liner
- Short-circuit evaluation
- Show the epoch
- Sierpinski carpet
- Sierpinski triangle
- Sieve of Eratosthenes
- Simple database
- Simple windowed application
- Simulate input/Keyboard
- Sleep
- Sort an array of composite structures
- Sort an integer array
- Sort disjoint sublist
- Sort using a custom comparator
- Sorting algorithms/Bead sort
- Sorting algorithms/Bogosort
- Sorting algorithms/Bubble sort
- Sorting algorithms/Cocktail sort
- Sorting algorithms/Comb sort
- Sorting algorithms/Counting sort
- Sorting algorithms/Gnome sort
- Sorting algorithms/Heapsort
- Sorting algorithms/Insertion sort
- Sorting algorithms/Merge sort
- Sorting algorithms/Pancake sort
- Sorting algorithms/Permutation sort
- Sorting algorithms/Quicksort
- Sorting algorithms/Selection sort
- Sorting algorithms/Shell sort
- Sorting algorithms/Stooge sort
- Soundex
- Special characters
- Special variables
- Speech synthesis
- Spiral matrix
- Split a character string based on change of character
- Stack
- Stair-climbing puzzle
- Stem-and-leaf plot
- Stern-Brocot sequence
- String append
- String case
- String comparison
- String concatenation
- String interpolation (included)
- String length
- String matching
- String prepend
- Strip control codes and extended characters from a string
- Strip whitespace from a string/Top and tail
- Subleq
- Substring
- Substring/Top and tail
- Subtractive generator
- Sum and product of an array
- Sum digits of an integer
- Sum multiples of 3 and 5
- Sum of a series
- Sum of squares
- Symmetric difference
- System time
T
- Table creation/Postal addresses
- Take notes on the command line
- Temperature conversion
- Terminal control/Clear the screen
- Terminal control/Coloured text
- Terminal control/Cursor positioning
- Terminal control/Positional read
- Terminal control/Ringing the terminal bell
- Test integerness
- Text processing/1
- Text processing/2
- Text processing/Max licenses in use
- Textonyms
- The Name Game
- The Twelve Days of Christmas
- Thiele's interpolation formula
- Thue-Morse
- Time a function
- Tokenize a string
- Tokenize a string with escaping
- Top rank per group
- Topic variable
- Topological sort
- Towers of Hanoi
- Trabb Pardo–Knuth algorithm
- Trigonometric functions
- Truncatable primes
- Two sum
- Type detection