Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
58 views

I am working with a Powershell script, using DBATools, which exports data from multiple tables to individual CSV files. In the tables, I am needing to reformat the date to yyyy-mm-dd. I found the ...
0 votes
1 answer
106 views

Is there a way to add a key-value pair to a JSON object in Powershell without using the ConvertFrom-Json cmdlet? The script I currently have outputs a JSON file that is unreadable because it has ...
4 votes
1 answer
105 views

I have a compiled Cmdlet that works with Hashtables. I would like to write a [pscustomobject] of the hashtable to the pipeline. In a PowerShell script block that would be accomplished using the ...
0 votes
2 answers
110 views

I try to run the following statements on an usb attached device : Clear-Disk 2 -RemoveData -RemoveOEM -Confirm:$False Set-Disk -Number 2 -PartitionStyle MBR When the device is a usb stick (flash disk)...
0 votes
0 answers
123 views

I am testing Row-Level Security (RLS) using the Power BI REST API but noticed that roles are not being applied. The query executes with full admin access instead of enforcing the assigned role. ...
2 votes
0 answers
47 views

Is there a way to use reflection to programmatically inspect and determine if a given compiled cmdlet requires elevation? Notes: This question concerns compiled cmdlets, not script (text) files. ...
2 votes
3 answers
147 views

Consider the following Invoke-Command { 'a'; Write-Verbose 'a' -Verbose 'b'; Write-Verbose 'b' -Verbose } | . { process { Write-Verbose "downstream_$_" -Verbose } } which outputs ...
0 votes
1 answer
429 views

I'm trying to build a simple PowerShell cmdlet that will use iText7 to open a PDF file and output the text. I've tried using the iText7Module from PowerShell Gallery, but the ...
1 vote
0 answers
128 views

I am currently developing a REST API that needs to interact with an on-premises Microsoft Exchange server (Exchange 2007, not Office 365) through PowerShell commands. In my development environment (...
0 votes
1 answer
233 views

I'm currently working on Exchange license storage usage analysis and encountered a discrepancy between the storage usage size shown in the Exchange Admin Center (EAC) for each user and the size ...
0 votes
0 answers
470 views

I have Powershell script which I use to remove MFA authentication methods of a user through MS-Graph. At a certain point the code executes this command: try { Remove-...
user avatar
2 votes
1 answer
81 views

I have created a PowerShell cmdlet in C#: using System.Management.Automation; using thosepeskyexternalclasses [Cmdlet(VerbsCommon.Get, "GetActivity", SupportsTransactions = false)] public ...
1 vote
0 answers
1k views

I’m having trouble with PowerShell and Microsoft Exchange. I’m trying to interact with Exchange Online via PowerShell to retrieve all emails received within a specified date range and display them on ...
0 votes
1 answer
96 views

Why is the ng command not working ? The command should work but it's giving me an error like: The term 'ng' is not recognized as the name of a cmdlet, function, script file, or operable program. ...
-5 votes
1 answer
203 views

I want to compile cpp project in vscode and I write "make to terminal after that I have a error :enter image description here What do you think about this error .How I solve this? I can't ...

15 30 50 per page
1
2 3 4 5
...
60

AltStyle によって変換されたページ (->オリジナル) /