From Svendsen Tech PowerShell Wiki
Jump to: navigation, search
New-RandomData.ps1.txt(file size: 15 KB, MIME type: text/plain)
Warning: This file type may contain malicious code. By executing it, your system may be compromised.

New-RandomData PowerShell cmdlet.

File history

Click on a date/time to view the file as it appeared at that time.

current18:13, 12 March 2016 (15 KB)Wikiroot (talk | contribs)Small optimizations. Generating two less random characters per line when writing a file, where \r\n will occupy two bytes, which means retrieving fewer random cryptography numbers, or fewer pseudorandom numbers, plus less appending to the string builde...
23:46, 17 February 2016 (15 KB)Wikiroot (talk | contribs)Changed string manipulation to System.Text.StringBuilder and it cut the 1 MiB test case run time down to less than half.
21:57, 17 February 2016 (14 KB)Wikiroot (talk | contribs)Another -ErrorAction Stop.
21:45, 17 February 2016 (14 KB)Wikiroot (talk | contribs)Added -ErrorAction Stop to the Write-Error statement used when the line length is greater than the size. A few typos. Minor internal doc fixes.
19:50, 16 February 2016 (14 KB)Wikiroot (talk | contribs)New-RandomData PowerShell cmdlet.
  • You cannot overwrite this file.