PowerShell 复制 Get-ServicePrincipal [[-Identity] <ServicePrincipalIdParameter>] [-Organization <OrganizationIdParameter>] [<CommonParameters>] 说明 Azure Active Directory 中存在服务主体,用于定义应用可以执行哪些操作、谁可以访问应用以及应用可以访问哪些资源。 在Exchange Online中,服务主体是对 Azure AD 中...
PowerShell 複製 Get-MsolServicePrincipal -ServicePrincipalName <String> [-TenantId <Guid>] [<CommonParameters>]PowerShell 複製 Get-MsolServicePrincipal [-SearchString <String>] [-All] [-TenantId <Guid>] [<CommonParameters>]DescriptionGet-MsolServicePrincipal Cmdlet 會從 Azure Active Directory...
Microsoft.Graph.PowerShell.Models.IApplicationsIdentity System.Collections.IDictionary Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServicePrincipal Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For ...
Microsoft Graph PowerShell v1.0 Get-MgServicePrincipalMemberOfAsAdministrativeUnit Get-MgServicePrincipalMemberOfAsDirectoryRole Get-MgServicePrincipalMemberOfAsGroup Get-MgServicePrincipalMemberOfCount Get-MgServicePrincipalMemberOfCountAsAdministrativeUnit ...
PowerShell中使用的AZ命令为: az account get-access-token 问题解答 使用az account get-access-token之前,需要设定az命令登录环境为中国区Azure 然后,使用az login命令,输入用户名和密码进行登录 最后,使用get-access-token来获取 Token 命令如下: az cloud set --name AzureChinaCloud az login az account get...
Microsoft.PowerShell.Diagnostics 获取本地和远程计算机上的事件日志和事件跟踪日志文件中的事件。 语法 PowerShell Get-WinEvent[[-LogName] <String[]>] [-MaxEvents <Int64>] [-ComputerName <String>] [-Credential <PSCredential>] [-FilterXPath <String>] [-Force] [-Oldest] [<CommonParameters>] ...
PowerShell 复制 Get-WinEvent [-MaxEvents <Int64>] [-ComputerName <String>] [-Credential <PSCredential>] [-FilterXml] <XmlDocument> [-Oldest] [<CommonParameters>]说明此cmdlet 仅在 Windows 平台上可用。Get-WinEvent cmdlet 从事件日志(包括经典日志)获取事件,例如系统和应用程序日志。 该 cmdlet 从...
User = $User.UserPrincipalName DisplayName = $User.DisplayName LicenseSKU = $SKUfriendlyname.Product_Display_Name Serviceplan = $serviceplan.Service_Plans_Included_Friendly_Names } $UsersLicenses += $Licenses I added DisplayName as example, you can add rows to it from these values ...
CloudError An error response from the Compute service. ComponentNames The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. DataDisk Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see About...
Gets the Active Directory groups that have a specified user, computer, group, or service account.SyntaxPowerShell Copy Get-ADPrincipalGroupMembership [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-Identity] <ADPrincipal> [-Partition <String>] [-ResourceContextPartition <String>] [-...